Skip to content

Commit 14415f8

Browse files
committed
Small styling tweaks and contributing docs
1 parent 5a4bf0e commit 14415f8

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

CONTRIBUTING.MD

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ We try not to have strong boundaries in what kinds of contributions are accepted
3131
- Adding meta-data
3232

3333
- adding tags to your example will help us organize this repository in a much more meaningful way. Example tags come at the beginning of your main `HTML` file in the form of a comment.
34-
- you're also welcome to add your email or name or other forms of contact information in the header at the beginning of the file.
34+
- you're also welcome to add your email or name or other forms of contact information in the header at the beginning of the file. For reference see the [example](examples/hello_world.html).
3535

36-
TODO Add back in `See the example examples/hello_world.html`
36+
TODO Add back in `See the example examples/hello_world.html`
3737

3838
- Adding docs
3939

@@ -54,7 +54,7 @@ The PyScript Collective also welcomes contributions like blog posts, videos, vid
5454

5555
The contributions in this topic are more similar to what an `awesome-page` would look like.
5656

57-
*If you want to add a new kind of contribution that wasn't laid out on the [README](index) yet, feel free to do so.*
57+
_If you want to add a new kind of contribution that wasn't laid out on the [README](index) yet, feel free to do so._
5858

5959
#### Recommended guidelines for a resource
6060

src/psc/gallery/examples/interest_calculator/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<h1 id="header_h1">Welcome to the Compound Calculator!</h1>
1515
</header>
1616

17-
<main style="">
17+
<main>
1818

1919
<div class="flexelement" id="first_div">
2020
<p id="first_p">
@@ -45,7 +45,7 @@ <h1 id="header_h1">Welcome to the Compound Calculator!</h1>
4545

4646
<div class="flexelement">
4747

48-
<div id="form" style="">
48+
<div id="form">
4949

5050
<div>
5151
<label>Principal
@@ -86,7 +86,7 @@ <h1 id="header_h1">Welcome to the Compound Calculator!</h1>
8686

8787
<footer>
8888
<p id="footer_p">
89-
thank you for using the "Simple and Compound
89+
Thank you for using the "Simple and Compound
9090
Interest Calculator!", powered by PyScript!
9191
</p>
9292
</footer>

src/psc/gallery/examples/interest_calculator/styles.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
min-height: 100vh;
44
display: flex;
55
flex-direction: column;
6+
margin: 0;
7+
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";
8+
font-size: 14px;
9+
line-height: 1.5;
610
}
711

812
main {
@@ -56,6 +60,7 @@ img {
5660
width: 100%;
5761
height: 12%;
5862
margin-bottom: 5px;
63+
border: 0;
5964
}
6065

6166
header {

0 commit comments

Comments
 (0)