11/* General styles */
22body {
3- font-family : 'Inter' , -apple-system, BlinkMacSystemFont, sans-serif;
3+ font-family : 'JetBrains Mono' , ' Inter', -apple-system, BlinkMacSystemFont, sans-serif;
44 line-height : 1.6 ;
5- color : # 333 ;
6- background-color : # f8f9fa ;
5+ color : # e1e4e8 ;
6+ background-color : # 0d1117 ;
77}
88
99/* Patch notes container */
1010.patch-notes {
1111 max-width : 900px ;
1212 margin : 2rem auto;
1313 padding : 2rem ;
14- background-color : white ;
14+ background-color : # 161b22 ;
1515 border-radius : 8px ;
16- box-shadow : 0 2px 10px rgba (0 , 0 , 0 , 0.05 );
16+ box-shadow : 0 2px 10px rgba (0 , 0 , 0 , 0.2 );
1717}
1818
1919/* Header styling */
2020.patch-header {
2121 margin-bottom : 2rem ;
2222 padding-bottom : 1rem ;
23- border-bottom : 1px solid # eaeaea ;
23+ border-bottom : 1px solid # 30363d ;
2424}
2525
2626.version-badge {
2727 display : inline-block;
28- background-color : # 0366d6 ;
28+ background-color : # 1f6feb ;
2929 color : white;
3030 font-family : 'JetBrains Mono' , monospace;
3131 font-size : 0.9rem ;
@@ -38,75 +38,89 @@ body {
3838 font-size : 2.2rem ;
3939 font-weight : 700 ;
4040 margin : 0.5rem 0 ;
41- color : # 24292e ;
41+ color : # 58a6ff ;
4242}
4343
4444.patch-meta {
4545 display : flex;
4646 gap : 1.5rem ;
4747 font-size : 0.9rem ;
48- color : # 6a737d ;
48+ color : # 8b949e ;
4949}
5050
5151/* Content styling */
5252.patch-content {
5353 font-size : 1rem ;
5454}
5555
56+ .patch-content h1 {
57+ font-size : 1.8rem ;
58+ margin-top : 2rem ;
59+ padding-bottom : 0.5rem ;
60+ border-bottom : 1px solid # 30363d ;
61+ color : # c9d1d9 ;
62+ }
63+
5664.patch-content h2 {
5765 font-size : 1.5rem ;
5866 margin-top : 2rem ;
59- padding-bottom : 0.5rem ;
60- border-bottom : 1px solid # eaeaea ;
61- color : # 24292e ;
67+ padding : 0.5rem 1rem ;
68+ background-color : # 1f6feb ;
69+ color : white;
70+ border-radius : 4px ;
71+ font-weight : 600 ;
6272}
6373
6474.patch-content h3 {
6575 font-size : 1.2rem ;
6676 margin-top : 1.5rem ;
67- color : # 24292e ;
77+ color : # c9d1d9 ;
78+ font-weight : 600 ;
6879}
6980
7081/* List styling for patch notes */
7182.patch-content ul {
7283 padding-left : 1.5rem ;
7384 margin-bottom : 1.5rem ;
85+ list-style-type : none;
7486}
7587
7688.patch-content li {
77- margin-bottom : 0.5 rem ;
89+ margin-bottom : 0.75 rem ;
7890 position : relative;
91+ padding-left : 1.5rem ;
7992}
8093
8194.patch-content li ::before {
8295 content : "+" ;
83- color : # 28a745 ;
96+ color : # 3fb950 ;
8497 font-weight : bold;
85- display : inline-block;
86- width : 1em ;
87- margin-left : -1em ;
98+ position : absolute;
99+ left : 0 ;
88100}
89101
90102.patch-content li .fix ::before {
91103 content : "✓" ;
92- color : # 0366d6 ;
104+ color : # 58a6ff ;
93105}
94106
95107.patch-content li .remove ::before {
96108 content : "-" ;
97- color : # d73a49 ;
109+ color : # f85149 ;
98110}
99111
100112/* Code blocks */
101113.patch-content pre , .patch-content code {
102114 font-family : 'JetBrains Mono' , monospace;
103- background-color : # f6f8fa ;
115+ background-color : # 0d1117 ;
104116 border-radius : 3px ;
117+ border : 1px solid # 30363d ;
105118}
106119
107120.patch-content pre {
108121 padding : 1rem ;
109122 overflow-x : auto;
123+ margin : 1rem 0 ;
110124}
111125
112126.patch-content code {
@@ -118,12 +132,135 @@ body {
118132.patch-navigation {
119133 margin-top : 3rem ;
120134 padding-top : 1rem ;
121- border-top : 1px solid # eaeaea ;
135+ border-top : 1px solid # 30363d ;
122136 display : flex;
123137 justify-content : space-between;
124138}
125139
126140/* Share links */
127141.share-links {
128142 margin : 1rem 0 ;
143+ padding : 0.75rem ;
144+ background-color : # 0d1117 ;
145+ border-radius : 6px ;
146+ border : 1px solid # 30363d ;
147+ }
148+
149+ /* Home page styling */
150+ .home {
151+ max-width : 900px ;
152+ margin : 2rem auto;
153+ padding : 2rem ;
154+ background-color : # 161b22 ;
155+ border-radius : 8px ;
156+ box-shadow : 0 2px 10px rgba (0 , 0 , 0 , 0.2 );
157+ }
158+
159+ .home h1 {
160+ font-size : 2.2rem ;
161+ font-weight : 700 ;
162+ margin : 0.5rem 0 1.5rem 0 ;
163+ color : # 58a6ff ;
164+ padding-bottom : 0.5rem ;
165+ border-bottom : 1px solid # 30363d ;
166+ }
167+
168+ /* Post list on home page */
169+ .post-list {
170+ list-style-type : none;
171+ padding : 0 ;
172+ }
173+
174+ .post-list li {
175+ margin-bottom : 1.5rem ;
176+ padding-bottom : 1.5rem ;
177+ border-bottom : 1px solid # 30363d ;
178+ }
179+
180+ .post-list h2 {
181+ font-size : 1.5rem ;
182+ margin-bottom : 0.5rem ;
183+ }
184+
185+ .post-list h2 a {
186+ color : # 58a6ff ;
187+ text-decoration : none;
188+ }
189+
190+ .post-list h2 a : hover {
191+ text-decoration : underline;
192+ }
193+
194+ .post-list .post-meta {
195+ font-size : 0.9rem ;
196+ color : # 8b949e ;
197+ margin-bottom : 0.5rem ;
198+ }
199+
200+ /* Responsive design */
201+ @media (max-width : 768px ) {
202+ .patch-notes , .home {
203+ padding : 1.5rem ;
204+ margin : 1rem ;
205+ }
206+
207+ .patch-title {
208+ font-size : 1.8rem ;
209+ }
210+
211+ .patch-meta {
212+ flex-direction : column;
213+ gap : 0.5rem ;
214+ }
215+ }
216+
217+ /* Table styling */
218+ .patch-content table {
219+ width : 100% ;
220+ border-collapse : collapse;
221+ margin : 1.5rem 0 ;
222+ border : 1px solid # 30363d ;
223+ }
224+
225+ .patch-content th , .patch-content td {
226+ padding : 0.75rem ;
227+ border : 1px solid # 30363d ;
228+ }
229+
230+ .patch-content th {
231+ background-color : # 1f6feb ;
232+ color : white;
233+ font-weight : 600 ;
234+ text-align : left;
235+ }
236+
237+ .patch-content tr : nth-child (even) {
238+ background-color : # 1c2128 ;
239+ }
240+
241+ /* Syntax highlighting for code */
242+ .highlight {
243+ background-color : # 0d1117 ;
244+ border-radius : 3px ;
245+ margin : 1rem 0 ;
246+ }
247+
248+ .highlight pre {
249+ padding : 1rem ;
250+ overflow-x : auto;
251+ }
252+
253+ /* Game section styling */
254+ .game-section {
255+ margin-top : 2.5rem ;
256+ margin-bottom : 1.5rem ;
257+ }
258+
259+ .game-section-title {
260+ background-color : # 1f6feb ;
261+ color : white;
262+ padding : 0.5rem 1rem ;
263+ border-radius : 4px ;
264+ font-weight : 600 ;
265+ display : inline-block;
129266}
0 commit comments