aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/css/style.css
diff options
context:
space:
mode:
Diffstat (limited to 'src/css/style.css')
-rw-r--r--src/css/style.css36
1 files changed, 29 insertions, 7 deletions
diff --git a/src/css/style.css b/src/css/style.css
index 14a2e96..1d39cc0 100644
--- a/src/css/style.css
+++ b/src/css/style.css
@@ -1,5 +1,7 @@
1/* CSS Reset */ 1/* CSS Reset */
2*, *::before, *::after { 2*,
3*::before,
4*::after {
3 box-sizing: border-box; 5 box-sizing: border-box;
4} 6}
5 7
@@ -9,15 +11,28 @@
9 line-height: calc(1em + 0.5rem); 11 line-height: calc(1em + 0.5rem);
10} 12}
11 13
12img, picture, video, canvas, svg { 14img,
15picture,
16video,
17canvas,
18svg {
13 display: block; 19 display: block;
14} 20}
15 21
16input, button, textarea, select { 22input,
23button,
24textarea,
25select {
17 font: inherit; 26 font: inherit;
18} 27}
19 28
20p, h1, h2, h3, h4, h5, h6 { 29p,
30h1,
31h2,
32h3,
33h4,
34h5,
35h6 {
21 overflow-wrap: break-word; 36 overflow-wrap: break-word;
22 hyphens: auto; 37 hyphens: auto;
23} 38}
@@ -29,7 +44,12 @@ body {
29 line-height: 1.6; 44 line-height: 1.6;
30} 45}
31 46
32h1, h2, h3, h4, h5, h6 { 47h1,
48h2,
49h3,
50h4,
51h5,
52h6 {
33 font-weight: bold; 53 font-weight: bold;
34 margin-bottom: 0.5em; 54 margin-bottom: 0.5em;
35} 55}
@@ -102,7 +122,8 @@ pre:has(code) {
102 } 122 }
103} 123}
104 124
105ul, ol { 125ul,
126ol {
106 margin-top: 1em; 127 margin-top: 1em;
107 margin-bottom: 1em; 128 margin-bottom: 1em;
108 padding-left: 20px; 129 padding-left: 20px;
@@ -118,7 +139,8 @@ table {
118 width: 100%; 139 width: 100%;
119} 140}
120 141
121th, td { 142th,
143td {
122 padding: 8px; 144 padding: 8px;
123 145
124 border: 1px solid #ddd; 146 border: 1px solid #ddd;