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.css35
1 files changed, 24 insertions, 11 deletions
diff --git a/src/css/style.css b/src/css/style.css
index ca53403..34697dc 100644
--- a/src/css/style.css
+++ b/src/css/style.css
@@ -5,6 +5,7 @@
5 5
6* { 6* {
7 margin: 0; 7 margin: 0;
8
8 line-height: calc(1em + 0.5rem); 9 line-height: calc(1em + 0.5rem);
9} 10}
10 11
@@ -20,6 +21,7 @@ p, h1, h2, h3, h4, h5, h6 {
20 overflow-wrap: break-word; 21 overflow-wrap: break-word;
21 hyphens: auto; 22 hyphens: auto;
22} 23}
24
23/* End of Reset */ 25/* End of Reset */
24 26
25body { 27body {
@@ -59,26 +61,32 @@ a:hover {
59} 61}
60 62
61pre:has(code) { 63pre:has(code) {
62 min-width: 400px;
63 display: block; 64 display: block;
64 padding: 9.5px;
65 margin: 0 0 10px; 65 margin: 0 0 10px;
66 font-size: 13px; 66 padding: 9.5px;
67 line-height: 1.42857143; 67
68 border: 1px solid #ccc;
69 border-radius: 4px;
70
71 background-color: whitesmoke;
72
68 color: #333; 73 color: #333;
74 font-size: 13px;
75 line-height: 1.4286;
76 min-width: 400px;
69 word-break: break-all; 77 word-break: break-all;
70 word-wrap: break-word; 78 word-wrap: break-word;
71 background-color: #f5f5f5;
72 border: 1px solid #ccc;
73 border-radius: 4px;
74 79
75 code { 80 code {
76 padding: 0; 81 padding: 0;
77 font-size: inherit; 82
83 border-radius: 0;
84
85 background-color: transparent;
86
78 color: inherit; 87 color: inherit;
88 font-size: inherit;
79 white-space: pre-wrap; 89 white-space: pre-wrap;
80 background-color: transparent;
81 border-radius: 0;
82 } 90 }
83} 91}
84 92
@@ -94,12 +102,15 @@ li {
94 102
95table { 103table {
96 border-collapse: collapse; 104 border-collapse: collapse;
105
97 width: 100%; 106 width: 100%;
98} 107}
99 108
100th, td { 109th, td {
101 border: 1px solid #ddd;
102 padding: 8px; 110 padding: 8px;
111
112 border: 1px solid #ddd;
113
103 text-align: left; 114 text-align: left;
104} 115}
105 116
@@ -109,6 +120,7 @@ th {
109 120
110img { 121img {
111 max-width: 100%; 122 max-width: 100%;
123
112 height: auto; 124 height: auto;
113} 125}
114 126
@@ -117,5 +129,6 @@ blockquote {
117 color: gray; 129 color: gray;
118 font-size: 1.2rem; 130 font-size: 1.2rem;
119 font-style: italic; 131 font-style: italic;
132
120 text-align: center; 133 text-align: center;
121} 134}