Skip to content

Commit ba9fe3f

Browse files
committed
Merge branch 'main' into dewikification
2 parents 21d16cb + 9abd495 commit ba9fe3f

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

pydis_site/static/css/base/base.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,3 +137,17 @@ button.is-size-navbar-menu, a.is-size-navbar-menu {
137137
height: 100%;
138138
position: absolute;
139139
}
140+
141+
/* 16:9 aspect ratio fixing */
142+
.force-aspect-container {
143+
position: relative;
144+
padding-bottom: 56.25%;
145+
}
146+
147+
.force-aspect-content {
148+
top: 0;
149+
left: 0;
150+
width: 100%;
151+
height: 100%;
152+
position: absolute;
153+
}

0 commit comments

Comments
 (0)