summaryrefslogtreecommitdiffstats
path: root/assets/css/default.css
diff options
context:
space:
mode:
Diffstat (limited to 'assets/css/default.css')
-rw-r--r--assets/css/default.css29
1 files changed, 27 insertions, 2 deletions
diff --git a/assets/css/default.css b/assets/css/default.css
index c527cbca..4daa9f16 100644
--- a/assets/css/default.css
+++ b/assets/css/default.css
@@ -1,3 +1,10 @@
+html,
+body {
+ font-family: BlinkMacSystemFont, -apple-system, "Segoe UI", Roboto, Oxygen,
+ Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Helvetica,
+ Arial, sans-serif;
+}
+
.deleted {
background-color: rgb(255, 0, 0, 0.5);
}
@@ -103,6 +110,7 @@ img.thumbnail {
height: 100%;
left: 0;
top: 0;
+ object-fit: cover;
}
.length {
@@ -113,7 +121,6 @@ img.thumbnail {
border-radius: 2px;
padding: 2px;
font-size: 16px;
- font-family: sans-serif;
right: 0.25em;
bottom: -0.75em;
}
@@ -126,7 +133,6 @@ img.thumbnail {
border-radius: 2px;
padding: 4px 8px 4px 8px;
font-size: 16px;
- font-family: sans-serif;
left: 0.2em;
top: -0.7em;
}
@@ -433,3 +439,22 @@ video.video-js {
.pure-control-group label {
word-wrap: normal;
}
+
+.video-js.player-style-invidious {
+ /* This is already the default */
+}
+
+.video-js.player-style-youtube .vjs-control-bar {
+ display: flex;
+ flex-direction: row;
+}
+.video-js.player-style-youtube .vjs-big-play-button {
+ /*
+ Styles copied from video-js.min.css, definition of
+ .vjs-big-play-centered .vjs-big-play-button
+ */
+ top: 50%;
+ left: 50%;
+ margin-top: -0.81666em;
+ margin-left: -1.5em;
+}