- commit
- f9c475b9a3adccddbfbb3536e001f6e35f7626ab
- parent
- 335c76fa0646f683b0d01fe5bfc9b45394d58d34
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2025-07-26 13:58
fit video + header on screen
Diffstat
| M | static/style.css | 3 | ++- |
1 files changed, 2 insertions, 1 deletions
diff --git a/static/style.css b/static/style.css
@@ -93,6 +93,7 @@ header {
93 93 color: var(--brand);
94 94 font-weight: 900;
95 95 font-size: 200%;
-1 96 line-height: 1;
96 97 text-decoration: none;
97 98 }
98 99
@@ -109,7 +110,7 @@ header {
109 110 video {
110 111 inline-size: 100%;
111 112 block-size: auto;
112 -1 max-block-size: 100vb;
-1 113 max-block-size: calc(100vb - 3.2em - 3px);
113 114 object-fit: contain;
114 115 background-color: var(--bg-intense);
115 116 }