Skip to content

Commit 1d0eecf

Browse files
Merge pull request #334 from Queen-codes/update-vocab
update vocabulary to e32c3cb
2 parents 6a4ab37 + 76525f6 commit 1d0eecf

File tree

1 file changed

+45
-11
lines changed

1 file changed

+45
-11
lines changed

src/assets/vocabulary/css/vocabulary.css

+45-11
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,7 @@ main > aside.sidebar .attention a {
385385

386386
main h2 {
387387
width: 100%;
388+
box-sizing: border-box;
388389

389390
font-family: 'Roboto Condensed';
390391
font-style: normal;
@@ -394,6 +395,8 @@ main h2 {
394395
}
395396

396397
main h3 {
398+
box-sizing: border-box;
399+
397400
font-family: 'Roboto Condensed';
398401
font-style: normal;
399402
font-weight: 700;
@@ -510,7 +513,7 @@ main figure {
510513
padding: 0;
511514
}
512515

513-
main > article figure img, main > figure img {
516+
main > article figure img, main > figure img, main > .content figure img {
514517
width: 100%;
515518
}
516519

@@ -1133,7 +1136,7 @@ body > header .explore-panel nav ul li p {
11331136

11341137
body > article.attention {
11351138
grid-column: 1 / span 11;
1136-
padding: 1em 5%;
1139+
padding: 1em var(--vocabulary-page-edges-space);
11371140

11381141
background: var(--vocabulary-brand-color-soft-green);
11391142
font-family: 'Source Sans Pro';
@@ -1523,7 +1526,7 @@ body > footer .license svg {
15231526
}
15241527

15251528
.blog-index main .posts.featured ul {
1526-
padding: 0 5%;
1529+
padding: 0 var(--vocabulary-page-edges-space);
15271530
}
15281531

15291532
.blog-index main .posts.featured ul li {
@@ -1901,7 +1904,7 @@ body > footer .license svg {
19011904
}
19021905

19031906
.blog-index main .posts {
1904-
padding: 0 5%;
1907+
padding: 0 var(--vocabulary-page-edges-space);
19051908
}
19061909

19071910
.blog-index main footer .attribution-list ul.expand {
@@ -1951,20 +1954,50 @@ body > footer .license svg {
19511954
}
19521955

19531956
main .content {
1954-
padding: var(--vocabulary-page-edges-space);
1957+
padding: 0 var(--vocabulary-page-edges-space);
1958+
}
1959+
1960+
main:has( > aside.sidebar) > aside.sidebar {
1961+
padding: 0 var(--vocabulary-page-edges-space);
1962+
}
1963+
1964+
main > *:not(header) {
1965+
padding: 0 var(--vocabulary-page-edges-space);
1966+
}
1967+
1968+
main > .posts {
1969+
padding: 0 var(--vocabulary-page-edges-space);
19551970
}
19561971

19571972
.posts article figure {
19581973
width: 100%;
19591974
flex: initial;
19601975
}
19611976

1977+
.person-page main > header {
1978+
padding-left: var(--vocabulary-page-edges-space);
1979+
padding-right: var(--vocabulary-page-edges-space);
1980+
}
1981+
1982+
.person-page main > header:before {
1983+
left: 0;
1984+
}
1985+
1986+
.search-index main > header {
1987+
padding-left: var(--vocabulary-page-edges-space);
1988+
padding-right: var(--vocabulary-page-edges-space);
1989+
}
1990+
1991+
.search-index main > header:before {
1992+
left: 0;
1993+
}
1994+
19621995
.team-index main > header {
1963-
padding: 0 5%;
1996+
padding: 0 var(--vocabulary-page-edges-space);
19641997
}
19651998

19661999
.team-index main article.persons {
1967-
padding: 0 5%;
2000+
padding: 0 var(--vocabulary-page-edges-space);
19682001
}
19692002

19702003
.team-index main article.persons ul {
@@ -1983,10 +2016,6 @@ body > footer .license svg {
19832016
order: -1;
19842017
}
19852018

1986-
main nav.pagination {
1987-
width: 100%;
1988-
}
1989-
19902019
main nav.pagination ol {
19912020
/* width: 100%; */
19922021
flex-wrap: wrap;
@@ -2009,6 +2038,11 @@ body > footer .license svg {
20092038
main article.posts.related ul {
20102039
grid-template-columns: 1fr;
20112040
}
2041+
2042+
.posts .post figure {
2043+
width: 100%;
2044+
flex: initial;
2045+
}
20122046
}
20132047

20142048
@media (max-width: 425px) {

0 commit comments

Comments
 (0)