[FAFO] Use "Roboto Slab" as the main font and "Courier Prime" for monospace
This commit is contained in:
parent
faf04f00e1
commit
faf01b4238
9 changed files with 57 additions and 3 deletions
|
|
@ -5,8 +5,8 @@
|
||||||
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
|
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
|
||||||
/* global vars */
|
/* global vars */
|
||||||
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
|
/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
|
||||||
@font_family_screen: arial, sans-serif;
|
@font_family_screen: "Roboto Slab", arial, sans-serif;
|
||||||
@font_family_print: "Times New Roman", serif;
|
@font_family_print: "Roboto Slab", arial, sans-serif;
|
||||||
|
|
||||||
@nav_direct_background: @ini_background;
|
@nav_direct_background: @ini_background;
|
||||||
@nav_direct_color: @ini_existing;
|
@nav_direct_color: @ini_existing;
|
||||||
|
|
|
||||||
|
|
@ -500,7 +500,7 @@ pre,
|
||||||
code,
|
code,
|
||||||
samp,
|
samp,
|
||||||
kbd {
|
kbd {
|
||||||
font-family: Consolas, "Andale Mono WT", "Andale Mono", "Bitstream Vera Sans Mono", "Nimbus Mono L", Monaco, "Courier New", monospace;
|
font-family: "Courier Prime", "Courier New", Consolas, "Andale Mono WT", "Andale Mono", "Bitstream Vera Sans Mono", "Nimbus Mono L", Monaco, monospace;
|
||||||
/* same font stack should be used for ".dokuwiki table.diff td" in _diff.css */
|
/* same font stack should be used for ".dokuwiki table.diff td" in _diff.css */
|
||||||
font-size: @font-size-default;
|
font-size: @font-size-default;
|
||||||
direction: ltr;
|
direction: ltr;
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,60 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* roboto-slab-regular - cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext */
|
||||||
|
@font-face {
|
||||||
|
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
|
||||||
|
font-family: 'Roboto Slab';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
src: url('fonts/roboto-slab-v36-cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* roboto-slab-700 - cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext */
|
||||||
|
@font-face {
|
||||||
|
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
|
||||||
|
font-family: 'Roboto Slab';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 700;
|
||||||
|
src: url('fonts/roboto-slab-v36-cyrillic_cyrillic-ext_greek_greek-ext_latin_latin-ext-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* courier-prime-regular - latin */
|
||||||
|
@font-face {
|
||||||
|
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
|
||||||
|
font-family: 'Courier Prime';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
src: url('fonts/courier-prime-v11-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* courier-prime-italic - latin */
|
||||||
|
@font-face {
|
||||||
|
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
|
||||||
|
font-family: 'Courier Prime';
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 400;
|
||||||
|
src: url('fonts/courier-prime-v11-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* courier-prime-700 - latin */
|
||||||
|
@font-face {
|
||||||
|
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
|
||||||
|
font-family: 'Courier Prime';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 700;
|
||||||
|
src: url('fonts/courier-prime-v11-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
|
||||||
|
}
|
||||||
|
|
||||||
|
/* courier-prime-700italic - latin */
|
||||||
|
@font-face {
|
||||||
|
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
|
||||||
|
font-family: 'Courier Prime';
|
||||||
|
font-style: italic;
|
||||||
|
font-weight: 700;
|
||||||
|
src: url('fonts/courier-prime-v11-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
|
||||||
|
}
|
||||||
|
|
||||||
.fontello() {
|
.fontello() {
|
||||||
&::before {
|
&::before {
|
||||||
font-family: "fontello";
|
font-family: "fontello";
|
||||||
|
|
|
||||||
BIN
fonts/courier-prime-v11-latin-700.woff2
Normal file
BIN
fonts/courier-prime-v11-latin-700.woff2
Normal file
Binary file not shown.
BIN
fonts/courier-prime-v11-latin-700italic.woff2
Normal file
BIN
fonts/courier-prime-v11-latin-700italic.woff2
Normal file
Binary file not shown.
BIN
fonts/courier-prime-v11-latin-italic.woff2
Normal file
BIN
fonts/courier-prime-v11-latin-italic.woff2
Normal file
Binary file not shown.
BIN
fonts/courier-prime-v11-latin-regular.woff2
Normal file
BIN
fonts/courier-prime-v11-latin-regular.woff2
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue