mirror of
https://github.com/danbulant/api_docs
synced 2026-06-20 06:41:40 +00:00
Switch default fonts to system fonts, very slightly blueify default colors
This commit is contained in:
parent
9bb68a328a
commit
3db7835c38
2 changed files with 11 additions and 11 deletions
|
|
@ -23,18 +23,18 @@ under the License.
|
||||||
|
|
||||||
// BACKGROUND COLORS
|
// BACKGROUND COLORS
|
||||||
////////////////////
|
////////////////////
|
||||||
$nav-bg: #393939 !default;
|
$nav-bg: #2E3336 !default;
|
||||||
$examples-bg: #393939 !default;
|
$examples-bg: #2E3336 !default;
|
||||||
$code-bg: #292929 !default;
|
$code-bg: #1E2224 !default;
|
||||||
$code-annotation-bg: #1c1c1c !default;
|
$code-annotation-bg: #191D1F !default;
|
||||||
$nav-subitem-bg: #262626 !default;
|
$nav-subitem-bg: #262626 !default;
|
||||||
$nav-active-bg: #0F75D4 !default;
|
$nav-active-bg: #0F75D4 !default;
|
||||||
$nav-active-parent-bg: #262626 !default; // parent links of the current section
|
$nav-active-parent-bg: #262626 !default; // parent links of the current section
|
||||||
$lang-select-border: #000 !default;
|
$lang-select-border: #000 !default;
|
||||||
$lang-select-bg: #222 !default;
|
$lang-select-bg: #1E2224 !default;
|
||||||
$lang-select-active-bg: $examples-bg !default; // feel free to change this to blue or something
|
$lang-select-active-bg: $examples-bg !default; // feel free to change this to blue or something
|
||||||
$lang-select-pressed-bg: #111 !default; // color of language tab bg when mouse is pressed
|
$lang-select-pressed-bg: #111 !default; // color of language tab bg when mouse is pressed
|
||||||
$main-bg: #eaf2f6 !default;
|
$main-bg: #F3F7F9 !default;
|
||||||
$aside-notice-bg: #8fbcd4 !default;
|
$aside-notice-bg: #8fbcd4 !default;
|
||||||
$aside-warning-bg: #c97a7e !default;
|
$aside-warning-bg: #c97a7e !default;
|
||||||
$aside-success-bg: #6ac174 !default;
|
$aside-success-bg: #6ac174 !default;
|
||||||
|
|
@ -70,8 +70,8 @@ $phone-width: $tablet-width - $nav-width !default; // min width before reverting
|
||||||
// FONTS
|
// FONTS
|
||||||
////////////////////
|
////////////////////
|
||||||
%default-font {
|
%default-font {
|
||||||
font-family: "Helvetica Neue", Helvetica, Arial, "Microsoft Yahei","微软雅黑", STXihei, "华文细黑", sans-serif;
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
||||||
font-size: 13px;
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
%header-font {
|
%header-font {
|
||||||
|
|
|
||||||
|
|
@ -351,11 +351,11 @@ html, body {
|
||||||
font-size: 25px;
|
font-size: 25px;
|
||||||
padding-top: 0.5em;
|
padding-top: 0.5em;
|
||||||
padding-bottom: 0.5em;
|
padding-bottom: 0.5em;
|
||||||
border-bottom: 1px solid #ccc;
|
|
||||||
margin-bottom: $h1-margin-bottom;
|
margin-bottom: $h1-margin-bottom;
|
||||||
margin-top: 2em;
|
margin-top: 2em;
|
||||||
border-top: 1px solid #ddd;
|
border-top: 1px solid #ccc;
|
||||||
background-image: linear-gradient(to bottom, #fff, #fbfbfb);
|
border-bottom: 1px solid #ccc;
|
||||||
|
background-color: #fdfdfd;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1:first-child, div:first-child + h1 {
|
h1:first-child, div:first-child + h1 {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue