Skip to content

Commit 98e75f4

Browse files
committed
Style
1 parent 76c9e49 commit 98e75f4

File tree

2 files changed

+13
-22
lines changed

2 files changed

+13
-22
lines changed

src/server/public/index.html

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,16 @@ <h3>JSON Server</h3>
1616
</header>
1717
<main>
1818
<div class="container">
19+
<h4>Congrats!</h4>
1920
<p>
20-
<strong>Congrats!</strong><br>
21-
You're successfully running JSON Server 😄
21+
You're successfully running JSON Server<br>
22+
✧*。٩(ˊᗜˋ*)و✧*。
2223
</p>
2324

2425
<div id="resources"></div>
2526

2627
<p>
27-
<em>
28-
To access and modify resources, you can use any HTTP method
29-
</em>
28+
To access and modify resources, you can use any HTTP method
3029
<br>
3130
<code>GET</code>
3231
<code>POST</code>
@@ -37,20 +36,14 @@ <h3>JSON Server</h3>
3736
</p>
3837

3938
<div id="custom-routes"></div>
40-
41-
<!-- <h4>Extra</h4>
42-
<p>
43-
44-
<br>
45-
</p> -->
4639
</div>
4740
</main>
4841

4942
<footer>
5043
<div class="container">
5144
<p>
52-
<em>To replace this page, create a <code>./public</code> directory with an
53-
<code>index.html</code> file in it</em>.
45+
To replace this page, create a <code>./public</code> directory with an
46+
<code>index.html</code> file in it.
5447
</p>
5548
</div>
5649
</footer>

src/server/public/style.css

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,20 @@ body {
99
padding:0;
1010
margin: 0;
1111
color: #333;
12+
letter-spacing: 0;
1213
}
1314

1415
header {
1516
padding-top: 2.0rem;
1617
border-bottom: 1px solid #EEE;
1718
}
1819

19-
header a {
20-
color: inherit;
20+
header a, header a:hover {
21+
text-decoration: none;
2122
}
2223

2324
main {
2425
flex: 1;
25-
padding-top: 4rem;
2626
}
2727

2828
footer {
@@ -32,7 +32,6 @@ footer {
3232

3333
h4 {
3434
margin-top: 4rem;
35-
letter-spacing: 0;
3635
}
3736

3837
a {
@@ -59,11 +58,6 @@ td:first-child {
5958
white-space: nowrap;
6059
}
6160

62-
img {
63-
padding-top: 50px;
64-
padding-bottom: 20px;
65-
}
66-
6761
ul {
6862
list-style-position: inside;
6963
padding-left: 0;
@@ -73,3 +67,7 @@ li {
7367
list-style-type: none;
7468
margin-bottom: .2rem;
7569
}
70+
71+
code {
72+
border-radius: 0;
73+
}

0 commit comments

Comments
 (0)