From 0201dd5a0cc8fbb6ec64697f7eb5732f765337b8 Mon Sep 17 00:00:00 2001 From: dedeibel Date: Mon, 10 Dec 2018 23:37:48 +0100 Subject: 35c3: Implement styling --- .../conferences/35c3/assets/montserrat/README.MD | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 configs/conferences/35c3/assets/montserrat/README.MD (limited to 'configs/conferences/35c3/assets/montserrat/README.MD') diff --git a/configs/conferences/35c3/assets/montserrat/README.MD b/configs/conferences/35c3/assets/montserrat/README.MD new file mode 100644 index 0000000..811ad40 --- /dev/null +++ b/configs/conferences/35c3/assets/montserrat/README.MD @@ -0,0 +1,35 @@ +# The Montserrat Font Project +To use this font as a webfont, ```Montserrat.css``` is included. + +## How to use +### 1. @import +You can import the file into your stylesheet as follows: +```css +@import url("static/fonts/Montserrat/fonts/webfonts/Montserrat.css"); +``` + +**NOTE:** The directory where the stylesheet is placed. + +Then we can use it to style elements: +```css +body { + font-family: 'Montserrat', sans-serif; + font-weight: 400; +} +``` + +### 2. \ing a stylesheet +Similarly, you could link to the same asset as you would any other CSS filter, in the \ of the HTML document rather than in the CSS: +```html + +``` + +**NOTE:** The directory where the stylesheet is placed. + +Then we can use it to style elements: +```css +body { + font-family: 'Montserrat', sans-serif; + font-weight: 400; +} +``` \ No newline at end of file -- cgit v1.2.3