aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Taylor <user234683@users.noreply.github.com>2020-02-22 22:53:24 -0800
committerJames Taylor <user234683@users.noreply.github.com>2020-02-22 22:53:24 -0800
commit77c4d913ca63b7909576a1f08ecb80b544f9a74e (patch)
treefa20fe38a161990338b71fcaadea0c522f4b01eb
parent00cf61d625201004fc240c67ec2ee1954651c572 (diff)
downloadyt-local-77c4d913ca63b7909576a1f08ecb80b544f9a74e.tar.lz
yt-local-77c4d913ca63b7909576a1f08ecb80b544f9a74e.tar.xz
yt-local-77c4d913ca63b7909576a1f08ecb80b544f9a74e.zip
Specify default font for consistency between operating systems
On debian for instance, the default font DejaVu Sans is bigger than the default calibri/times on Windows, messing up the layout in some places. The font size in video items was adjusted slightly to accomodate the change to liberation sans for the default.
-rw-r--r--youtube/static/shared.css10
1 files changed, 7 insertions, 3 deletions
diff --git a/youtube/static/shared.css b/youtube/static/shared.css
index 6fbdfde..fa78cd0 100644
--- a/youtube/static/shared.css
+++ b/youtube/static/shared.css
@@ -11,6 +11,10 @@ address{
font-style:normal;
}
+html{
+ font-family: "liberation serif", "times new roman", calibri, carlito, serif;
+}
+
body{
margin:0;
padding: 0;
@@ -168,7 +172,7 @@ body{
.item{
background-color:var(--interface-color);
text-decoration:none;
- font-size: 0.75rem;
+ font-size: 0.8125rem;
color: #767676;
}
@@ -205,7 +209,7 @@ body{
right: 2px;
opacity: .8;
color: #ffffff;
- font-size: 0.75rem;
+ font-size: 0.8125rem;
background-color: #000000;
}
.playlist-item .thumbnail-info{
@@ -218,7 +222,7 @@ body{
white-space: pre-line;
opacity: .8;
color: #cfcfcf;
- font-size: 0.75rem;
+ font-size: 0.8125rem;
background-color: #000000;
}
.playlist-item .thumbnail-info span{ /* trick to vertically center the text */