docs: roboto font
This commit is contained in:
parent
ba4345795f
commit
f812ce7920
5 changed files with 23 additions and 2 deletions
|
|
@ -12,11 +12,15 @@ $font-size: 0.6rem;
|
|||
|
||||
body {
|
||||
color: #333;
|
||||
font-family: $body-font-family;// Helvetica,Arial,sans-serif;
|
||||
font-family: Roboto,Helvetica,Arial,sans-serif;
|
||||
font-weight: normal;
|
||||
background-color: #fff;
|
||||
overflow-y: scroll;
|
||||
direction: ltr;
|
||||
}
|
||||
h1,h2,h3,h4,h5 {
|
||||
font-weight: 100;
|
||||
}
|
||||
|
||||
pre, code {
|
||||
font-size: 0.7rem;
|
||||
|
|
@ -123,7 +127,7 @@ table td {
|
|||
table h4 {
|
||||
margin: 0;
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
table th {
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@
|
|||
|
||||
<title>{% if page.title and not page.is_homepage %}{{ page.title }} - {% endif %}{{ config.site_name }}</title>
|
||||
|
||||
<link rel="stylesheet" href="{{ "/fonts/roboto.css"|url }}">
|
||||
<link rel="stylesheet" href="{{ "/styles.css"|url }}">
|
||||
|
||||
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.15.6/styles/default.min.css">
|
||||
|
|
|
|||
BIN
resources/theme/fonts/Roboto-Light-webfont.woff
Normal file
BIN
resources/theme/fonts/Roboto-Light-webfont.woff
Normal file
Binary file not shown.
BIN
resources/theme/fonts/Roboto-Regular-webfont.woff
Normal file
BIN
resources/theme/fonts/Roboto-Regular-webfont.woff
Normal file
Binary file not shown.
16
resources/theme/fonts/roboto.css
Normal file
16
resources/theme/fonts/roboto.css
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
@font-face {
|
||||
font-family: Roboto;
|
||||
src: url('Roboto-Regular-webfont.woff') format('woff');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
|
||||
}
|
||||
|
||||
|
||||
@font-face {
|
||||
font-family: Roboto;
|
||||
src: url('Roboto-Light-webfont.woff') format('woff');
|
||||
font-weight: 100;
|
||||
font-style: normal;
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue