From 419aab85dfaa77a04ff4706007fafab819779f76 Mon Sep 17 00:00:00 2001 From: Jelle Z Date: Fri, 21 Sep 2018 20:30:05 +0200 Subject: [PATCH] Added custom CSS file --- custom.css | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 custom.css diff --git a/custom.css b/custom.css new file mode 100644 index 0000000..a82ec00 --- /dev/null +++ b/custom.css @@ -0,0 +1,68 @@ +/* Set Witney as default font */ + +@font-face { + font-family: Whitney; + font-style: light; + font-weight: 300; + src: url("https://github.com/TitanEmbeds/Titan/raw/master/webapp/titanembeds/static/fonts/whitney_light.woff") format("woff") +} + +@font-face { + font-family: Whitney; + font-style: normal; + font-weight: 500; + src: url("https://github.com/TitanEmbeds/Titan/raw/master/webapp/titanembeds/static/fonts/whitney_normal.woff") format("woff") +} + +@font-face { + font-family: Whitney; + font-style: medium; + font-weight: 600; + src: url("https://github.com/TitanEmbeds/Titan/raw/master/webapp/titanembeds/static/fonts/whitney_medium.woff") format("woff") +} + +@font-face { + font-family: Whitney; + font-style: bold; + font-weight: 700; + src: url("https://github.com/TitanEmbeds/Titan/raw/master/webapp/titanembeds/static/fonts/whitney_bold.woff") format("woff") +} + +* { + font-family: Whitney, Helvetica Neue, Helvetica, Arial, sans-serif; +} + +/* Set appropriate colours */ + +html body { + background-color: #7986CB; +} + +#head h1 { + color: white; +} + +#head h1 strong { + color: white; +} + +#wiki-body { + color: white; +} + +#footer p#last-edit { + color: rgba(255, 255, 255, 0.8); +} + +#wiki-body a { + text-decoration: underline; + color: white; +} + +a.file { + color: white; +} + +/* Materialize CSS */ + +@import url("https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css");