Skip to content

Commit 11c06d9

Browse files
committed
better text sizing and margin positioning
1 parent 1b5de4a commit 11c06d9

1 file changed

Lines changed: 12 additions & 5 deletions

File tree

source/_static/slides.css

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,32 @@
11
.bd-page-width {
2-
max-width: max(88rem, 85vw);
2+
max-width: max(88rem, 95vw);
33
}
44
aside.sidebar {
55
overflow-x: visible;
6+
padding-right: 2vw;
67
}
78
aside.sidebar > ul {
8-
padding-left: 2rem;
9+
padding-left: 2vw;
10+
}
11+
12+
div.margin {
13+
width: 14vw;
14+
margin-right: -15vw;
15+
margin-left: 1vw;
916
}
1017

1118
.admonition-title {
1219
padding-left: 2em !important;
1320
}
1421

1522
#rescaled-text {
16-
font-size: max(1vh, 1vw) !important;
23+
font-size: max(1vh, 0.6vw) !important;
1724
}
1825
#rescaled-text h1 {
1926
margin: 1.5vh 0 0.5vh 0 !important;
20-
font-size: 3vh !important;
27+
font-size: max(2vh, 1.2vw) !important;
2128
}
2229
#rescaled-text h2 {
2330
margin: 1vh 0 0.5vh 0 !important;
24-
font-size: 2vh !important;
31+
font-size: max(1.5vh, 0.9vw) !important;
2532
}

0 commit comments

Comments
 (0)