-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
125 lines (106 loc) · 1.75 KB
/
style.css
File metadata and controls
125 lines (106 loc) · 1.75 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
:root {
--brand-color: #266ed8;
--bg: #ffffff;
--text: #131313;
--muted: #6b7280;
--tile-bg: #0f1723;
--tile-text: #ffffff;
}
/* CSS RESET */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
sans-serif;
line-height: 1.6;
background-color: #fafafa;
color: #333;
padding: 0 1rem;
}
header {
text-align: center;
padding: 2rem 1rem;
background-color: #fff;
border-bottom: 2px solid #eaeaea;
}
header h1 {
font-size: 2rem;
color: var(--brand-color);
margin-bottom: 0.8rem;
}
.brand-color {
color: var(--brand-color);
font-weight: 600;
}
main {
max-width: 900px;
margin: 2rem auto;
text-align: center;
}
main p {
margin-bottom: 2rem;
color: #444;
}
.multi-section {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 2rem;
}
article {
background: #ffffff;
border: 1px solid #e5e5e5;
border-radius: 8px;
padding: 1.5rem;
max-width: 400px;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}
article h2 {
margin-bottom: 0.8rem;
color: var(--brand-color);
font-size: 1.3rem;
}
article p {
margin-bottom: 1.2rem;
}
figure {
margin: 0;
}
figure img {
width: 100%;
height: auto;
border-radius: 6px;
}
figcaption {
margin-top: 0.5rem;
font-size: 0.9rem;
color: #555;
font-style: italic;
}
footer {
text-align: center;
background-color: #fff;
padding: 1.5rem;
border-top: 2px solid #eaeaea;
margin-top: 3rem;
font-size: 0.95rem;
color: #444;
}
footer .brand-color {
font-weight: 600;
}
@media (max-width: 768px) {
header h1 {
font-size: 1.6rem;
}
.multi-section {
flex-direction: column;
align-items: center;
}
article {
max-width: 95%;
}
}