Skip to content

Commit bbe5c19

Browse files
committed
Update Styles
1 parent 214276c commit bbe5c19

File tree

2 files changed

+14
-18
lines changed

2 files changed

+14
-18
lines changed

public/css/styles.css

+13-18
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@
2828
}
2929

3030
* {
31-
margin: 0;
32-
padding: 0;
33-
box-sizing: border-box;
3431
font-smooth: never;
3532
font-kerning: normal;
3633
font-feature-settings: kern;
@@ -72,31 +69,29 @@ h1 + p, h2 + p, h3 + p, h4 + p, h5 + p, h6 + p {
7269
margin-top: 0.5rem;
7370
}
7471

75-
ul, ol {
76-
margin-top: 1rem;
72+
ol {
73+
list-style: decimal;
7774
}
7875
ul {
79-
padding-left: 1.25rem;
76+
list-style: disc;
8077
}
81-
ol {
78+
79+
/* Styles For Lists Inside Lists */
80+
ul ul, ul ol,
81+
ol ol, ol ul {
8282
padding-left: 1.75rem;
8383
}
84-
ul > li:not(:first-of-type), ol > li:not(:first-of-type) {
84+
85+
li {
8586
margin-top: 0.25rem;
8687
}
87-
ul {
88-
list-style: none;
89-
}
90-
ul li:before {
91-
content: "- ";
92-
margin-left: -2ch;
93-
width: 2ch;
94-
display: inline-block;
88+
li p {
89+
margin: 0 !important;
9590
}
9691

9792
a, a:visited {
98-
color: #000;
99-
text-decoration-color: #000 !important;
93+
color: #00B;
94+
text-decoration-color: #00B !important;
10095
line-height: 1.5 !important;
10196
text-decoration: underline;
10297
text-underline-offset: 0.17rem;

src/template.html

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
77
<title>{{title}} | csprite</title>
88
<link rel="icon" type="image/png" href="/favicon.png" />
9+
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/modern-normalize/modern-normalize.min.css" />
910
<link rel="stylesheet" type="text/css" href="/css/styles.css" />
1011
<meta property="og:locale" content="en_US">
1112
<meta property="og:site_name" content="csprite">

0 commit comments

Comments
 (0)