Skip to content

Commit 0fc5c0f

Browse files
committed
deploy: c5e52d3
1 parent 5e62b76 commit 0fc5c0f

File tree

1 file changed

+136
-0
lines changed

1 file changed

+136
-0
lines changed

assets/cssStyle/style.css

Lines changed: 136 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,136 @@
1+
body {
2+
font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
3+
background: #f8f9fb;
4+
color: #232323;
5+
letter-spacing: 0.01em;
6+
font-size: 1.08rem;
7+
}
8+
9+
/* Headings */
10+
h1, h2, h3 {
11+
font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
12+
font-weight: 700;
13+
letter-spacing: 0.01em;
14+
}
15+
16+
h1 {
17+
font-size: 2.6rem;
18+
margin-bottom: 1.2rem;
19+
color: #1a1a1a;
20+
}
21+
22+
h2 {
23+
font-size: 2rem;
24+
margin-bottom: 1rem;
25+
color: #2d2d2d;
26+
}
27+
28+
h3 {
29+
font-size: 1.4rem;
30+
margin-bottom: 0.7rem;
31+
color: #444;
32+
}
33+
34+
.meta-links {
35+
display: flex;
36+
justify-content: center;
37+
gap: 2.5rem;
38+
margin-bottom: 2.5rem;
39+
font-size: 1.08rem;
40+
}
41+
42+
.meta-links a {
43+
color: #2d2d2d;
44+
text-decoration: underline;
45+
transition: color 0.2s;
46+
}
47+
48+
.meta-links a:hover,
49+
.meta-links a:focus {
50+
color: #0056b3;
51+
}
52+
53+
/* Chapter grid styling */
54+
.chapter-grid {
55+
display: grid;
56+
grid-template-columns: 1fr 1fr;
57+
gap: 1.2rem 2.5rem;
58+
max-width: 700px;
59+
margin: 0 auto 2.5rem auto;
60+
}
61+
62+
/* Styling of the last chapter link is odd */
63+
.chapter-grid-center {
64+
grid-column: 1 / -1;
65+
display: flex;
66+
justify-content: center;
67+
}
68+
69+
.chapter-link {
70+
display: block;
71+
background: #f4f6fa;
72+
border-radius: 7px;
73+
padding: 1.1rem 1.3rem;
74+
font-size: 1.13rem;
75+
font-weight: 500;
76+
align-items: center;
77+
color: inherit;
78+
text-decoration: none;
79+
box-shadow: 0 1px 6px rgba(0,0,0,0.03);
80+
transition: box-shadow 0.2s, background 0.2s;
81+
}
82+
83+
.chapter-link:hover,
84+
.chapter-link:focus {
85+
background: #e8eef7;
86+
box-shadow: 0 2px 12px rgba(0,0,0,0.07);
87+
outline: none;
88+
}
89+
90+
.chapter-grid-center .chapter-link {
91+
width: 100%;
92+
max-width: 350px;
93+
text-align: center;
94+
}
95+
96+
.meta-centered {
97+
display: flex;
98+
flex-direction: column;
99+
align-items: center;
100+
justify-content: center;
101+
min-height: 70vh;
102+
font-size: 1.25rem;
103+
text-align: left;
104+
margin: 0 auto;
105+
background: #fff;
106+
border-radius: 10px;
107+
box-shadow: 0 2px 16px rgba(0,0,0,0.06);
108+
padding: 2.5rem 2rem 2rem 2rem;
109+
max-width: 1100px;
110+
}
111+
112+
.meta-centered h1 {
113+
text-align: center;
114+
width: 100%;
115+
}
116+
117+
.intro{
118+
background: #fff;
119+
border-radius: 10px;
120+
box-shadow: 0 2px 16px rgba(0,0,0,0.06);
121+
padding: 2.2rem 2rem 1.5rem 2rem;
122+
margin: 2.5rem auto 2rem auto;
123+
max-width: 800px;
124+
}
125+
126+
/* Responsive adjustments */
127+
@media (max-width: 700px) {
128+
.chapter-grid {
129+
grid-template-columns: 1fr;
130+
gap: 1rem;
131+
}
132+
.chapter-link {
133+
padding: 1rem;
134+
font-size: 1.08rem;
135+
}
136+
}

0 commit comments

Comments
 (0)