]> git.sesse.net Git - ultimatescore/commitdiff
Switch from Lato to Exo, for NM 2018.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 18 Mar 2018 10:09:45 +0000 (11:09 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 18 Mar 2018 10:09:45 +0000 (11:09 +0100)
score.css
score.html

index c1234b8e5134b74416a10a35929e0b8214286fa3..0810921d72c16517c9a647494bc1e1d2ae703337 100644 (file)
--- a/score.css
+++ b/score.css
@@ -14,7 +14,7 @@ body {
   transform-origin: top left; */
 }
 body {
-  font-family: 'Lato', sans-serif;
+  font-family: 'Exo', sans-serif;
   color: white;
 }
 
@@ -50,12 +50,14 @@ body {
   text-align: center;
   height: 35px;
   background: linear-gradient(to bottom, #00a, #008);
+  padding-top: 2px;  /* needs to be adjusted per-font! */
 }
 .score {
   text-align: center;
   background: linear-gradient(to bottom, #00c, #00a);
   width: 110px;
   height: 35px;
+  padding-top: 2px;  /* needs to be adjusted per-font! */
 }
 
 /* Clock, to the right of score */
@@ -133,6 +135,7 @@ body {
   /* padding-top: 20px; */
   display: flex;
   align-items: center;
+  vertical-align: middle;
 }
 .lowerthird-headline-hidden {
   width: 0px;
@@ -148,6 +151,7 @@ body {
 .lowerthird-headline-content {
   padding-left: 20px;
   position: absolute;
+  padding-top: 4px;  /* needs to be adjusted per-font! */
 }
 .lowerthird-headline-content-hidden {
   clip: rect(0px,0px,200px,0px);
@@ -192,6 +196,7 @@ body {
 .lowerthird-subheading-content {
   position: absolute;
   padding-left: 20px;
+  padding-top: 2px;  /* needs to be adjusted per-font! */
 }
 .lowerthird-subheading-content-hidden {
   width: 0px;
index ad4ace071f77127d1eba595fd9f97ffffb7ff2df..19bd4b45d7d8dd9b51e184cd950e2ad5b4e86730 100644 (file)
@@ -3,8 +3,7 @@
  <head>
    <meta http-equiv="content-type" value="text/html; charset=utf-8" />
    <meta charset="utf-8" />
-<!--   <link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet"> -->
-   <link href="fonts/lato.css" rel="stylesheet">
+   <link href="fonts/exo.css" rel="stylesheet">
    <link href="score.css" rel="stylesheet">
   </head>
   <body>