Skip to content

Commit e682af4

Browse files
committed
fix(devfest.2024): small screen display
1 parent 42bf382 commit e682af4

File tree

4 files changed

+20
-2
lines changed

4 files changed

+20
-2
lines changed

_src/talks/devfest.2024/index.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@
3131
outline: 0;
3232
}
3333

34+
.portrait {
35+
font-size: 80vw;
36+
text-align: center;
37+
}
38+
3439
@media screen and (min-width: 60rem) {
3540
.portrait {
3641
font-family: 'Twemoji Mozilla', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', sans-serif;
@@ -39,6 +44,7 @@
3944
inset-inline-end: 10vh;
4045
line-height: 80vh;
4146
position: absolute;
47+
text-align: start;
4248
}
4349
}
4450
</style>

_src/talks/sliide/sliide.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,12 @@
8686
font-family: "museo-slab", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif, "Twemoji Mozilla", "Segoe UI Emoji", "Segoe UI Symbol";
8787
margin: 0;
8888
min-block-size: 100vh;
89-
overflow: hidden;
89+
overflow-x: hidden;
9090
text-rendering: optimizeSpeed;
9191
}
92+
@media screen and (min-width: 60rem) {
93+
body { overflow: hidden; }
94+
}
9295
img {
9396
display: block;
9497
block-size: auto;

docs/devfest.2024/index.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@
3131
outline: 0;
3232
}
3333

34+
.portrait {
35+
font-size: 80vw;
36+
text-align: center;
37+
}
38+
3439
@media screen and (min-width: 60rem) {
3540
.portrait {
3641
font-family: 'Twemoji Mozilla', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', sans-serif;
@@ -39,6 +44,7 @@
3944
inset-inline-end: 10vh;
4045
line-height: 80vh;
4146
position: absolute;
47+
text-align: start;
4248
}
4349
}
4450
</style>

docs/sliide/sliide.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,12 @@
8686
font-family: "museo-slab", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif, "Twemoji Mozilla", "Segoe UI Emoji", "Segoe UI Symbol";
8787
margin: 0;
8888
min-block-size: 100vh;
89-
overflow: hidden;
89+
overflow-x: hidden;
9090
text-rendering: optimizeSpeed;
9191
}
92+
@media screen and (min-width: 60rem) {
93+
body { overflow: hidden; }
94+
}
9295
img {
9396
display: block;
9497
block-size: auto;

0 commit comments

Comments
 (0)