Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a12f61af11 |
+10
-3
@@ -386,7 +386,13 @@ ul.menuitems {
|
|||||||
content: "Translations: ";
|
content: "Translations: ";
|
||||||
}
|
}
|
||||||
|
|
||||||
.social-links {
|
/* "ul.social-links", not ".social-links": the global reset rule
|
||||||
|
(body, h1, ..., ul[class], ol[class], ..., dd { margin: 0; }) matches
|
||||||
|
via ul[class] at specificity (0,0,1,1), which beats a plain single-class
|
||||||
|
selector like ".social-links" (0,0,1,0) regardless of source order.
|
||||||
|
Adding the "ul" type selector ties it at (0,0,1,1), so this rule (being
|
||||||
|
later in the file) wins instead of always being zeroed back out. */
|
||||||
|
ul.social-links {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
@@ -422,8 +428,9 @@ ul.menuitems {
|
|||||||
|
|
||||||
/* About-me page variant: bigger icons, distinct gap from the text above.
|
/* About-me page variant: bigger icons, distinct gap from the text above.
|
||||||
Spacing to the preceding text is handled by .social-links-divider's
|
Spacing to the preceding text is handled by .social-links-divider's
|
||||||
own margins, so this only needs the gap from divider to icons. */
|
own margins, so this only needs the gap from divider to icons.
|
||||||
.social-links--large {
|
"ul.social-links--large" for the same specificity reason as above. */
|
||||||
|
ul.social-links--large {
|
||||||
margin-top: 3rem;
|
margin-top: 3rem;
|
||||||
gap: 1.5rem;
|
gap: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user