Allow override code font as well
This commit is contained in:
parent
fead34957c
commit
64ad3f3b8a
6 changed files with 38 additions and 36 deletions
|
@ -26,35 +26,39 @@
|
||||||
url('fonts/oxygen-v8-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
|
url('fonts/oxygen-v8-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
|
||||||
url('fonts/oxygen-v8-latin-regular.svg#Oxygen') format('svg'); /* Legacy iOS */
|
url('fonts/oxygen-v8-latin-regular.svg#Oxygen') format('svg'); /* Legacy iOS */
|
||||||
}
|
}
|
||||||
/* oxygen-700 - latin */
|
/* oxygen-700 - latin */
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Oxygen';
|
font-family: 'Oxygen';
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
src: url('fonts/oxygen-v8-latin-700.eot'); /* IE9 Compat Modes */
|
src: url('fonts/oxygen-v8-latin-700.eot'); /* IE9 Compat Modes */
|
||||||
src: local('Oxygen Bold'), local('Oxygen-Bold'),
|
src: local('Oxygen Bold'), local('Oxygen-Bold'),
|
||||||
url('fonts/oxygen-v8-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
url('fonts/oxygen-v8-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
||||||
url('fonts/oxygen-v8-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
|
url('fonts/oxygen-v8-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
|
||||||
url('fonts/oxygen-v8-latin-700.woff') format('woff'), /* Modern Browsers */
|
url('fonts/oxygen-v8-latin-700.woff') format('woff'), /* Modern Browsers */
|
||||||
url('fonts/oxygen-v8-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
|
url('fonts/oxygen-v8-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
|
||||||
url('fonts/oxygen-v8-latin-700.svg#Oxygen') format('svg'); /* Legacy iOS */
|
url('fonts/oxygen-v8-latin-700.svg#Oxygen') format('svg'); /* Legacy iOS */
|
||||||
}
|
}
|
||||||
/* oxygen-mono-regular - latin */
|
/* oxygen-mono-regular - latin */
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Oxygen Mono';
|
font-family: 'Oxygen Mono';
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
src: url('fonts/oxygen-mono-v6-latin-regular.eot'); /* IE9 Compat Modes */
|
src: url('fonts/oxygen-mono-v6-latin-regular.eot'); /* IE9 Compat Modes */
|
||||||
src: local('Oxygen Mono'), local('OxygenMono-Regular'),
|
src: local('Oxygen Mono'), local('OxygenMono-Regular'),
|
||||||
url('fonts/oxygen-mono-v6-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
url('fonts/oxygen-mono-v6-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
||||||
url('fonts/oxygen-mono-v6-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
|
url('fonts/oxygen-mono-v6-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
|
||||||
url('fonts/oxygen-mono-v6-latin-regular.woff') format('woff'), /* Modern Browsers */
|
url('fonts/oxygen-mono-v6-latin-regular.woff') format('woff'), /* Modern Browsers */
|
||||||
url('fonts/oxygen-mono-v6-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
|
url('fonts/oxygen-mono-v6-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
|
||||||
url('fonts/oxygen-mono-v6-latin-regular.svg#OxygenMono') format('svg'); /* Legacy iOS */
|
url('fonts/oxygen-mono-v6-latin-regular.svg#OxygenMono') format('svg'); /* Legacy iOS */
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font-family: 'Oxygen', sans-serif;
|
font-family: 'Oxygen', sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
code {
|
||||||
|
font-family: 'Oxygen Mono', monospace;
|
||||||
|
}
|
||||||
|
|
|
@ -6,7 +6,7 @@ $block-border-radius: 0.15rem;
|
||||||
line-height: 1.7;
|
line-height: 1.7;
|
||||||
|
|
||||||
h1, h2, h3, h4, h5 {
|
h1, h2, h3, h4, h5 {
|
||||||
font-weight: 400;
|
font-weight: $body-font-weight;
|
||||||
line-height: 1.25;
|
line-height: 1.25;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ $block-border-radius: 0.15rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
b, optgroup, strong {
|
b, optgroup, strong {
|
||||||
font-weight: 700;
|
font-weight: bolder;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
|
@ -29,8 +29,6 @@ $block-border-radius: 0.15rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
code {
|
code {
|
||||||
font-family: 'Oxygen Mono', monospace;
|
|
||||||
|
|
||||||
padding: 0 $padding-4;
|
padding: 0 $padding-4;
|
||||||
background: $gray-100;
|
background: $gray-100;
|
||||||
border-radius: $block-border-radius;
|
border-radius: $block-border-radius;
|
||||||
|
|
|
@ -27,7 +27,7 @@ $color-dark-link: $gray-800;
|
||||||
|
|
||||||
$body-background: white;
|
$body-background: white;
|
||||||
$body-font-color: $gray-800;
|
$body-font-color: $gray-800;
|
||||||
$body-font-weight: 400;
|
$body-font-weight: normal;
|
||||||
|
|
||||||
$body-min-width: 20rem;
|
$body-min-width: 20rem;
|
||||||
$container-max-width: 80rem;
|
$container-max-width: 80rem;
|
||||||
|
|
|
@ -38,7 +38,7 @@ h2,
|
||||||
h3,
|
h3,
|
||||||
h4,
|
h4,
|
||||||
h5 {
|
h5 {
|
||||||
font-weight: 400;
|
font-weight: $body-font-weight;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
|
@ -117,7 +117,7 @@ ul.pagination {
|
||||||
|
|
||||||
> a,
|
> a,
|
||||||
> span {
|
> span {
|
||||||
font-weight: 600;
|
font-weight: bolder;
|
||||||
}
|
}
|
||||||
|
|
||||||
> ul {
|
> ul {
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
||||||
{"Target":"book.min.b9445c675ececc4908609652f2002d6023832b26fb548ad7581930dc8ff9e0c4.css","MediaType":"text/css","Data":{"Integrity":"sha256-uURcZ17OzEkIYJZS8gAtYCODKyb7VIrXWBkw3I/54MQ="}}
|
{"Target":"book.min.5c5b0b5e07cf0a1393e5c601927c419dbed8b42615c2957c6c9d62131acc78e0.css","MediaType":"text/css","Data":{"Integrity":"sha256-XFsLXgfPChOT5cYBknxBnb7YtCYVwpV8bJ1iExrMeOA="}}
|
Loading…
Reference in a new issue