Skip to content

Commit 8cfbd6c

Browse files
committed
Refactor HTML structure for stable release information and update sitemap priorities
1 parent 8c65be6 commit 8cfbd6c

3 files changed

Lines changed: 192 additions & 152 deletions

File tree

feascript-website.css

Lines changed: 130 additions & 97 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,22 @@
1+
/* ______ ______ _____ _ _ */
2+
/* | ____| ____| /\ / ____| (_) | | */
3+
/* | |__ | |__ / \ | (___ ___ ____ _ ____ | |_ */
4+
/* | __| | __| / /\ \ \___ \ / __| __| | _ \| __| */
5+
/* | | | |____ / ____ \ ____) | (__| | | | |_) | | */
6+
/* |_| |______/_/ \_\_____/ \___|_| |_| __/| | */
7+
/* | | | | */
8+
/* |_| | |_ */
9+
/* Website: https://feascript.com/ \__| */
10+
11+
/* ==========================================================================
12+
RESET AND BASE STYLES
13+
========================================================================== */
114
* {
215
margin: 0;
316
padding: 0;
417
box-sizing: border-box;
518
}
619

7-
/* General styles */
820
html {
921
max-width: 1500px;
1022
margin: auto;
@@ -18,19 +30,9 @@ body {
1830
line-height: 1.6;
1931
}
2032

21-
ul {
22-
padding-left: 1.5em;
23-
max-width: 1000px;
24-
}
25-
26-
/* Default max-width for content elements */
27-
li,
28-
p,
29-
.highlight-container,
30-
pre.prettyprint {
31-
max-width: 1000px;
32-
}
33-
33+
/* ==========================================================================
34+
TYPOGRAPHY
35+
========================================================================== */
3436
/* Headings */
3537
h1,
3638
h2,
@@ -65,49 +67,14 @@ p {
6567
margin: 1em 0;
6668
}
6769

68-
.highlight-container {
69-
background: #f7e7b7;
70-
border-radius: 5px;
71-
padding: 15px;
72-
}
73-
74-
.highlight-container p {
75-
margin: 0;
76-
}
77-
7870
a {
7971
text-decoration: none;
8072
}
8173

82-
/* Preformatted text */
83-
pre {
84-
background-color: #f2f2f2;
85-
margin: 0;
86-
padding: 10px;
87-
overflow-x: auto;
88-
white-space: pre;
89-
}
90-
91-
pre.prettyprint {
92-
border: 1px solid #ddd;
93-
border-radius: 4px;
94-
}
95-
96-
/* Images */
97-
img.title {
98-
height: 1em;
99-
}
100-
101-
#responsive-logo {
102-
height: 80px;
103-
}
104-
105-
/* Left-align MathJax formulas */
106-
mjx-container {
107-
text-align: left !important;
108-
}
109-
110-
/* Banner - default hidden, shown in large screens via media query */
74+
/* ==========================================================================
75+
LAYOUT COMPONENTS
76+
========================================================================== */
77+
/* Banner */
11178
#banner {
11279
float: right;
11380
padding-left: 1.5em;
@@ -120,7 +87,7 @@ mjx-container {
12087
box-shadow: 0px 1px 4px #999;
12188
}
12289

123-
/* Menu */
90+
/* Menu/Navigation */
12491
#menu {
12592
list-style: none;
12693
margin: 1em 0;
@@ -155,6 +122,74 @@ mjx-container {
155122
padding-left: 1em;
156123
}
157124

125+
/* Footer styles */
126+
footer {
127+
position: relative;
128+
background-color: #f7e7b7;
129+
padding: 2px 0 2px 5px;
130+
text-align: left;
131+
border-top: 2px solid #e0c97f;
132+
}
133+
134+
/* ==========================================================================
135+
CONTENT ELEMENTS
136+
========================================================================== */
137+
/* Lists */
138+
ul {
139+
padding-left: 1.5em;
140+
max-width: 1000px;
141+
}
142+
143+
/* Default max-width for content elements */
144+
li,
145+
p,
146+
.highlight-container,
147+
pre.prettyprint {
148+
max-width: 1000px;
149+
}
150+
151+
/* Preformatted text */
152+
pre {
153+
background-color: #f2f2f2;
154+
margin: 0;
155+
padding: 10px;
156+
overflow-x: auto;
157+
white-space: pre;
158+
}
159+
160+
pre.prettyprint {
161+
border: 1px solid #ddd;
162+
border-radius: 4px;
163+
}
164+
165+
/* Images */
166+
img.title {
167+
height: 1em;
168+
}
169+
170+
#responsive-logo {
171+
height: 80px;
172+
}
173+
174+
/* Left-align MathJax formulas */
175+
mjx-container {
176+
text-align: left !important;
177+
}
178+
179+
/* ==========================================================================
180+
SPECIAL COMPONENTS
181+
========================================================================== */
182+
/* Highlight containers */
183+
.highlight-container {
184+
background: #f7e7b7;
185+
border-radius: 5px;
186+
padding: 15px;
187+
}
188+
189+
.highlight-container p {
190+
margin: 0;
191+
}
192+
158193
/* Loading spinner */
159194
#loading {
160195
display: none;
@@ -208,6 +243,26 @@ mjx-container {
208243
color: #555;
209244
}
210245

246+
/* Tutorial lists and badges */
247+
.tutorials-list {
248+
list-style: none;
249+
margin: 0;
250+
padding-left: 0;
251+
}
252+
253+
.tutorials-list li {
254+
margin-bottom: 0.5em;
255+
border-bottom: 1px solid #ddd;
256+
padding-bottom: 0.5em;
257+
}
258+
259+
.tutorial-name {
260+
display: inline-block;
261+
vertical-align: middle;
262+
font-weight: 550;
263+
margin-right: 10px;
264+
}
265+
211266
.tutorials-list .badge {
212267
display: inline-block;
213268
background-color: #f7e7b7;
@@ -227,9 +282,10 @@ mjx-container {
227282

228283
.tutorials-list .badge:hover {
229284
transform: translateY(-2px);
230-
cursor: default; /* or pointer if clickable */
285+
cursor: default;
231286
}
232287

288+
/* Badge variants */
233289
.tutorials-list .badge-basic {
234290
background-color: #6a6a6a;
235291
color: #f7e7b7;
@@ -263,27 +319,7 @@ mjx-container {
263319
background-color: #47cf73;
264320
}
265321

266-
.tutorial-name {
267-
display: inline-block;
268-
vertical-align: middle;
269-
font-weight: 550;
270-
margin-right: 10px;
271-
}
272-
273-
.tutorials-list li {
274-
margin-bottom: 1em;
275-
border-bottom: 1px solid #ddd;
276-
padding-bottom: 0.5em;
277-
}
278-
279-
/* Remove bullets for tutorials list */
280-
.tutorials-list {
281-
list-style: none;
282-
margin: 0;
283-
padding-left: 0;
284-
}
285-
286-
/* Remove bullets from top-level features-list */
322+
/* Features list */
287323
.features-list {
288324
list-style: none;
289325
margin: 0;
@@ -294,16 +330,26 @@ mjx-container {
294330
margin-bottom: 1em;
295331
}
296332

297-
/* Footer styles */
298-
footer {
299-
position: relative;
300-
background-color: #f7e7b7;
301-
padding: 2px 0 2px 5px;
302-
text-align: left;
303-
border-top: 2px solid #e0c97f;
333+
/* ==========================================================================
334+
HELPER CLASSES AND UTILITIES
335+
========================================================================== */
336+
/* Social media links */
337+
.social-media-list a:hover {
338+
transform: translateY(-2px);
339+
cursor: default;
340+
transition: transform 0.2s;
304341
}
305342

306-
/* Media queries */
343+
/* Notice bars */
344+
.notice-dev {
345+
border-left: 4px solid #f39c12;
346+
padding-left: 10px;
347+
margin: 1em 0;
348+
}
349+
350+
/* ==========================================================================
351+
MEDIA QUERIES
352+
========================================================================== */
307353
/* Small screens: up to 500px */
308354
@media screen and (max-width: 500px) {
309355
body {
@@ -387,16 +433,3 @@ footer {
387433
font-size: 120%;
388434
}
389435
}
390-
391-
.social-media-list a:hover {
392-
transform: translateY(-2px);
393-
cursor: default;
394-
transition: transform 0.2s;
395-
}
396-
397-
/* Orange vertical bar */
398-
.notice-dev {
399-
border-left: 4px solid #f39c12;
400-
padding-left: 10px;
401-
margin: 1em 0;
402-
}

0 commit comments

Comments
 (0)