Skip to content

Commit 8a06cbd

Browse files
committed
change favicon, make contact section more responsive
1 parent 1535ee1 commit 8a06cbd

10 files changed

Lines changed: 35 additions & 667 deletions

File tree

‎reference/homepage_samizdata_dark_mode/code.html‎

Lines changed: 0 additions & 285 deletions
This file was deleted.
-290 KB
Binary file not shown.

‎reference/homepage_samizdata_full_height_hero/code.html‎

Lines changed: 0 additions & 285 deletions
This file was deleted.
-281 KB
Binary file not shown.

‎reference/structured_truth/DESIGN.md‎

Lines changed: 0 additions & 92 deletions
This file was deleted.

‎src/lib/assets/favicon.png‎

-5.4 KB
Binary file not shown.

‎src/lib/assets/favicon.svg‎

Lines changed: 5 additions & 5 deletions
Loading

‎src/lib/assets/icon.png‎

5.77 KB
Loading

‎src/lib/assets/icon.svg‎

Lines changed: 6 additions & 0 deletions
Loading

‎src/lib/components/ContactSection.svelte‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,10 @@
113113
transform 220ms ease;
114114
}
115115
116+
.email-card > div {
117+
min-width: 0;
118+
}
119+
116120
.email-card:hover {
117121
background: var(--color-primary-container);
118122
color: white;
@@ -134,6 +138,7 @@
134138
font-size: clamp(2rem, 5vw, 3rem);
135139
font-weight: 900;
136140
letter-spacing: -0.06em;
141+
overflow-wrap: anywhere;
137142
}
138143
139144
.meta-grid {
@@ -169,4 +174,23 @@
169174
gap: 4rem;
170175
}
171176
}
177+
178+
@media (max-width: 640px) {
179+
.email-card,
180+
.meta-card {
181+
padding: 2rem;
182+
}
183+
184+
.email-card {
185+
gap: 1rem;
186+
}
187+
188+
.email-card strong {
189+
font-size: clamp(1.6rem, 7vw, 2.3rem);
190+
}
191+
192+
.meta-grid {
193+
grid-template-columns: 1fr;
194+
}
195+
}
172196
</style>

0 commit comments

Comments
 (0)