Merge pull request #832 from ArthurHoaro/theme/font

Theme: change global font to Roboto and include bold variant
This commit is contained in:
ArthurHoaro 2017-03-27 18:35:33 +02:00 committed by GitHub
commit b320c860f5
7 changed files with 20 additions and 11 deletions

View file

@ -35,14 +35,29 @@ pre {
} }
@font-face { @font-face {
font-family: 'Roboto Slab'; font-family: 'Roboto';
font-weight: 400; font-weight: 400;
font-style: normal; font-style: normal;
src: src:
local('Fira Sans'), local('Roboto'),
local('Fira-Sans-regular'), local('Roboto-Regular'),
url('../fonts/Fira-Sans-regular.woff2') format('woff2'), url('../fonts/Roboto-Regular.woff2') format('woff2'),
url('../fonts/Fira-Sans-regular.woff') format('woff'); url('../fonts/Roboto-Regular.woff') format('woff');
}
@font-face {
font-family: 'Roboto';
font-weight: 700;
font-style: normal;
src:
local('Roboto'),
local('Roboto-Bold'),
url('../fonts/Roboto-Bold.woff2') format('woff2'),
url('../fonts/Roboto-Bold.woff') format('woff');
}
body, .pure-g [class*="pure-u"] {
font-family: Roboto, Arial, sans-serif;
} }
/** /**
@ -68,10 +83,6 @@ pre {
.pure-u-xl-visible { display: inline-block !important; } .pure-u-xl-visible { display: inline-block !important; }
} }
.pure-g [class*="pure-u"]{
font-family: Roboto Slab, Arial, sans-serif;
}
/** /**
* Make pure-extras alert closable. * Make pure-extras alert closable.
*/ */
@ -504,7 +515,6 @@ pre {
color: #252525; color: #252525;
text-decoration: none; text-decoration: none;
vertical-align: middle; vertical-align: middle;
font-family: Roboto Slab, Arial, sans-serif;
} }
.linklist-item-title .linklist-link { .linklist-item-title .linklist-link {
@ -560,7 +570,6 @@ pre {
.linklist-item-description { .linklist-item-description {
position: relative; position: relative;
padding: 10px; padding: 10px;
font-family: Roboto Slab, Arial, sans-serif;
word-wrap: break-word; word-wrap: break-word;
color: #252525; color: #252525;
line-height: 1.3em; line-height: 1.3em;

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.