diff options
author | Lukas Schauer | 2021-04-06 19:54:16 +0200 |
---|---|---|
committer | Lukas Schauer | 2021-04-06 19:54:16 +0200 |
commit | d3c805518a0a0349f56288559254f3107cf5e96c (patch) | |
tree | d8fc917c02ba1e4431469fc81c23e726d3ad5015 /configs/archive/35c3/assets/montserrat/README.MD | |
parent | 58a6e71c844ae16502fd996859b14a6e25b838ee (diff) |
archive some older conferences
Diffstat (limited to 'configs/archive/35c3/assets/montserrat/README.MD')
-rw-r--r-- | configs/archive/35c3/assets/montserrat/README.MD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/configs/archive/35c3/assets/montserrat/README.MD b/configs/archive/35c3/assets/montserrat/README.MD new file mode 100644 index 0000000..811ad40 --- /dev/null +++ b/configs/archive/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. \<link>ing a stylesheet +Similarly, you could link to the same asset as you would any other CSS filter, in the \<head> of the HTML document rather than in the CSS: +```html +<link rel="stylesheet" type="text/css" href="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; +} +```
\ No newline at end of file |