-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
252 lines (219 loc) · 5.31 KB
/
styles.css
File metadata and controls
252 lines (219 loc) · 5.31 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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
<style>
.cabin-<uniquifier> {
font-family: "Cabin", sans-serif;
font-optical-sizing: auto;
font-weight: <weight>;
font-style: normal;
font-variation-settings:
"wdth" 100;
}
.newsreader-<uniquifier> {
font-family: "Newsreader", serif;
font-optical-sizing: auto;
font-weight: <weight>;
font-style: normal;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
line-height: 1.6;
color: #333;
opacity: 0;
transition: opacity .5s ease-in;
}
/* Hero Section */
.hero {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: left;
min-height: 100vh;
background: #ffffff;
color: #fff;
padding: 2rem;
}
.hero-inner {
max-width: 800px;
text-align: left;
color: #333;
}
.hero h1 {
font-size: 4.5rem;
text-align: left;
position: relative;
z-index: 1;
display: inline-block;
margin-bottom: 0rem;
font-family: Newsreader, serif;
font-weight: 900;
text-shadow: -2px -2px 0 #fffcf3, 0 -2px 0 #fffcf3, 2px -2px 0 #fffcf3, 2px 0 0 #fffcf3, 2px 2px 0 #fffcf3, 0 2px 0 #fffcf3, -2px 2px 0 #fffcf3, -2px 0 0 #fffcf3;
}
.hero h1::after {
content: "";
position: absolute;
left: 0;
bottom: 20px; /* adjust spacing below text */
width: 100%;
height: 14px; /* thickness of underline */
background: linear-gradient(
to right,
#d8ffac, /* first hex color */
#acffcf, /* second hex color */
#acfffe /* third hex color */
);
border-radius: 2px;
z-index: -1; /* optional: rounded ends */
}
.hero h2 {
margin-top: -15px;
font-family: Newsreader, serif;
font-size: 2.09rem;
font-weight: 900;
text-align: left;
margin-bottom: 1rem;
}
.hero p {
font-family: Cabin, sans-serif;
font-size: 1.2rem;
max-width: 800px;
margin-bottom: 2rem;
}
.hero .buttons {
font-family: Cabin, sans-serif;
font-size: 1.1rem;
display: flex;
gap: 1rem;
flex-wrap: wrap;
justify-content: left;
}
.hero .buttons a {
text-decoration: none;
background: #fff;
color: #888;
padding: 0.75rem 1.5rem;
border-radius: 8px;
border: solid;
border-color: #ccc;
font-weight: bold;
transition: transform 0.25s ease;
display: inline-block; /* ensures transform works cleanly */
box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.hero .buttons a:hover {
transform: scale(1.06); /* slightly enlarges the button */
box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.green {
border-color: #8db81e !important;
color: #29461f !important;
background: #e3ffc4 !important;
}
/* Content Section */
.content {
padding: 3rem 1rem;
max-width: 900px;
margin: auto;
}
.content h2 {
margin-bottom: 1rem;
font-size: 2rem;
color: #2575fc;
}
.content p {
margin-bottom: 2rem;
font-size: 1rem;
color: #555;
}
/* Responsive tweaks */
@media (max-width: 800px) {
.hero h1 {
font-size: 4.0rem;
}
.hero h1::after {
bottom: 15px;
}
.hero h2 {
font-size: 1.85rem;
}
.hero p {
font-size: 1.1rem;
}
}
:root{
--note-bg: #fff59e; /* soft yellow */
--note-line: #f6e96c; /* subtle lined-paper tint */
--note-text: #2a2a2a;
--note-accent: #c48f00; /* link hover underline color */
--pin: #c11; /* red pin color */
}
/* Reset-friendly tip: ensure body has some position context if needed */
/* body { position: relative; } */
.sticky-note {
position: absolute;
top: 1rem;
left: 1rem;
width: min(280px, 35vw);
padding: 1rem 1rem 1.25rem;
color: #2a2a2a;
background-color: #fff59e; /* solid yellow */
border-radius: 6px;
box-shadow: 4px 6px 12px rgba(0,0,0,0.25); /* single shadow */
transform: rotate(-1.25deg);
transform-origin: 20% 10%;
}
/* optional: remove the dog-ear and pin pseudo-elements if you want pure yellow */
.sticky-note::before,
.sticky-note::after {
content: none;
}
/* push-pin effect at the top */
.sticky-note::before{
content: "";
position: absolute;
top: -6px;
left: 16px;
width: 14px;
height: 14px;
background: radial-gradient(circle at 35% 35%, #ffcbc7, #d33 60%, #921 100%);
border-radius: 50%;
box-shadow: 0 3px 0 rgba(0,0,0,0.35), 0 10px 12px rgba(0,0,0,0.25);
}
/* Typography */
.sticky-note__title{
margin: 0 0 0.5rem;
font-size: clamp(1rem, 2.8vw, 1.2rem);
font-weight: 700;
letter-spacing: 0.02em;
}
.sticky-note__text{
margin: 0 0 0.75rem;
font-size: clamp(0.9rem, 2.6vw, 1rem);
line-height: 1.35;
}
.sticky-note__link{
display: inline-block;
font-weight: 600;
color: #004b91;
text-decoration: none;
border-bottom: 2px solid transparent;
}
.sticky-note__link:focus{
outline: 2px solid #004b91;
outline-offset: 3px;
border-radius: 3px;
}
.sticky-note__link:hover{
border-bottom-color: var(--note-accent);
}
/* Motion-sensitivity */
@media (prefers-reduced-motion: reduce){
.sticky-note{
transform: none;
}
}
</style>