Skip to content

Commit ed8d48f

Browse files
Create style.scss
1 parent 5776388 commit ed8d48f

File tree

1 file changed

+64
-0
lines changed

1 file changed

+64
-0
lines changed

docs/assets/css/style.scss

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
---
2+
---
3+
// 1 · load everything from jekyll‑theme‑minimal first
4+
@import "{{ site.theme }}";
5+
6+
// 2 · hide the theme’s built‑in header (optional)
7+
.header {
8+
display: none;
9+
}
10+
11+
// 3 · your custom palette & layout
12+
:root {
13+
--accent: #0069d9;
14+
--bg: #f7f9fc;
15+
--text: #222;
16+
--code-bg: #eee;
17+
}
18+
19+
body {
20+
background: var(--bg);
21+
color: var(--text);
22+
line-height: 1.6;
23+
font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
24+
}
25+
26+
/* hero section */
27+
.hero {
28+
background: var(--accent);
29+
color: #fff;
30+
padding: 2rem 1rem;
31+
text-align: center;
32+
}
33+
.hero h1 { margin: 0 0 .25rem; font-size: 2.25rem; }
34+
.hero a { color: #fff; font-weight: 600; text-decoration: underline; }
35+
36+
/* content containers */
37+
main { max-width: 58rem; margin: 2rem auto; padding: 0 1rem; }
38+
section {
39+
background: #fff;
40+
padding: 2rem 1.5rem;
41+
margin-bottom: 2rem;
42+
border-radius: .85rem;
43+
box-shadow: 0 2px 6px rgba(0,0,0,.08);
44+
}
45+
46+
/* misc tweaks */
47+
h2 { margin-top: 0; color: var(--accent); }
48+
h3, h4 { color: var(--accent); margin-bottom: .25rem; }
49+
img { max-width: 100%; height: auto; border-radius: .5rem; }
50+
ul { padding-left: 1.25rem; }
51+
pre, code {
52+
font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
53+
background: var(--code-bg);
54+
border-radius: .35rem;
55+
}
56+
pre { padding: .75rem 1rem; overflow-x: auto; }
57+
58+
/* footer */
59+
footer {
60+
text-align: center;
61+
padding: 1rem;
62+
font-size: .9rem;
63+
color: #666;
64+
}

0 commit comments

Comments
 (0)