From eae4aaa2f6b228459a984d78130294cd05fb8dfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20S=C3=A1=20Couto?= Date: Mon, 9 Dec 2019 17:08:31 +0100 Subject: [PATCH] Fonts --- 10/style.css | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/10/style.css b/10/style.css index 8fcd1b4..b6a93fd 100644 --- a/10/style.css +++ b/10/style.css @@ -11,10 +11,24 @@ font-weight: bold; font-style: normal;} -/* src: url("font/Roboto.otf") format("opentype"); - font-weight: 300; - font-style: normal; -*/ + @font-face { + font-family: "Roboto"; + src: url("font/Roboto-Regular.ttf") format("truetype"); + font-weight: regular; + font-style: normal;} + + @font-face { + font-family: "Roboto"; + src: url("font/Roboto-BoldItalic.ttf") format("truetype"); + font-weight: bold; + font-style: italic;} + + @font-face { + font-family: "Roboto"; + src: url("font/Roboto-Italic.ttf") format("truetype"); + font-weight: regular; + font-style: italic;} + /* style edits */ a{ @@ -47,6 +61,7 @@ a:visited{ body { + font-family: "Roboto", sans-serif; width:100%; background-color: white; font-size: calc(8px + 0.7vw);