From 5132f8fff6af433f912c0653b82e45c5047f5732 Mon Sep 17 00:00:00 2001 From: Vikas Singh Date: Mon, 12 Feb 2018 10:42:38 +0530 Subject: [PATCH] theme: Update CSS to use Lato font Closes #316. Also increase the font size to 15px as this seems roughly equivalent to 14px size of the earlier font. Signed-off-by: Vikas Singh Reviewed-by: Sunil Mohan Adapa --- INSTALL.md | 1 + static/themes/default/css/plinth.css | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/INSTALL.md b/INSTALL.md index 6979e4a07..ef16a7d3f 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -10,6 +10,7 @@ dblatex \ docbook-utils \ e2fsprogs \ + fonts-lato \ gettext \ gir1.2-glib-2.0 \ gir1.2-nm-1.0 \ diff --git a/static/themes/default/css/plinth.css b/static/themes/default/css/plinth.css index 6894d6e22..bff7b65fa 100644 --- a/static/themes/default/css/plinth.css +++ b/static/themes/default/css/plinth.css @@ -1,6 +1,13 @@ +@font-face { + font-family: LatoRegular; + src: url('../lato/Lato-Regular.ttf'); +} + body { padding-top: 70px; position: relative; + font-family: LatoRegular, sans-serif; + font-size: 15px; } .nav .glyphicon,