Skip to content

Commit

Permalink
Use Muli font for the site
Browse files Browse the repository at this point in the history
  • Loading branch information
xPaw committed Oct 30, 2018
1 parent 767737e commit ab5607b
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 7 deletions.
Binary file added assets/logos/font/Muli/Muli-Bold.woff
Binary file not shown.
Binary file added assets/logos/font/Muli/Muli-BoldItalic.woff
Binary file not shown.
Binary file added assets/logos/font/Muli/Muli-Italic.woff
Binary file not shown.
Binary file added assets/logos/font/Muli/Muli-Regular.woff
Binary file not shown.
47 changes: 40 additions & 7 deletions css/style.css
@@ -1,4 +1,38 @@
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300,400,400italic,700);
/*
* Muli is licensed under SIL OFL Version 1.1
* See /assets/logos/font/Muli/OFL.txt file for full information.
*/
@font-face {
font-family: Muli;
font-weight: normal;
font-style: normal;
font-display: swap;
src: url('/assets/logos/font/Muli/Muli-Regular.woff') format('woff');
}

@font-face {
font-family: Muli;
font-weight: bold;
font-style: normal;
font-display: swap;
src: url('/assets/logos/font/Muli/Muli-Bold.woff') format('woff');
}

@font-face {
font-family: Muli;
font-weight: normal;
font-style: italic;
font-display: swap;
src: url('/assets/logos/font/Muli/Muli-Italic.woff') format('woff');
}

@font-face {
font-family: Muli;
font-weight: bold;
font-style: italic;
font-display: swap;
src: url('/assets/logos/font/Muli/Muli-BoldItalic.woff') format('woff');
}

/*
* From Normalize. See https://github.com/thelounge/thelounge/pull/1217
Expand All @@ -15,7 +49,7 @@ abbr[title] {
body {
background: #fff;
color: #455164;
font: 15px "Open Sans", sans-serif;
font: 15px Muli, sans-serif;
margin: 0;
margin-bottom: 100px;
}
Expand All @@ -30,7 +64,7 @@ a:focus {
}
h2 {
font-size: 32px;
font-weight: 300;
font-weight: normal;
}
p {
line-height: 1.5;
Expand Down Expand Up @@ -99,7 +133,7 @@ pre code {
height: 50px;
line-height: 50px;
padding: 0 10px;
font-weight: 700;
font-weight: bold;
color: inherit;
}
#nav a:hover,
Expand Down Expand Up @@ -189,13 +223,12 @@ pre code {
}
#splash h1 {
font-size: 40px;
font-weight: 700;
font-weight: bold;
margin: 0;
}
#splash h2 {
color: #bcc4d3;
font-size: 18px;
font-weight: 300;
margin: 0;
}
#splash p {
Expand Down Expand Up @@ -236,7 +269,7 @@ pre code {
text-align: center;
}
#features h3 {
font-weight: 700;
font-weight: bold;
}
#features .feature {
padding-bottom: 20px;
Expand Down

0 comments on commit ab5607b

Please sign in to comment.