fonts & colors
This commit is contained in:
0
assets/scss/custom.scss
Normal file
0
assets/scss/custom.scss
Normal file
@@ -17,7 +17,7 @@ src = "images/avatar.png"
|
|||||||
|
|
||||||
[Params.Footer]
|
[Params.Footer]
|
||||||
since = 2019
|
since = 2019
|
||||||
customText = "Put leagal stuff maybe"
|
customText = "LICENSED UNDER CC BY-NC-SA 4.0"
|
||||||
|
|
||||||
[Params.Article]
|
[Params.Article]
|
||||||
math = true
|
math = true
|
||||||
|
|||||||
BIN
static/fonts/haskoy/Haskoy-Bold.otf
Normal file
BIN
static/fonts/haskoy/Haskoy-Bold.otf
Normal file
Binary file not shown.
BIN
static/fonts/haskoy/Haskoy-BoldItalic.otf
Normal file
BIN
static/fonts/haskoy/Haskoy-BoldItalic.otf
Normal file
Binary file not shown.
BIN
static/fonts/haskoy/Haskoy-ExtraBold.otf
Normal file
BIN
static/fonts/haskoy/Haskoy-ExtraBold.otf
Normal file
Binary file not shown.
BIN
static/fonts/haskoy/Haskoy-ExtraBoldItalic.otf
Normal file
BIN
static/fonts/haskoy/Haskoy-ExtraBoldItalic.otf
Normal file
Binary file not shown.
BIN
static/fonts/haskoy/Haskoy-ExtraLight.otf
Normal file
BIN
static/fonts/haskoy/Haskoy-ExtraLight.otf
Normal file
Binary file not shown.
BIN
static/fonts/haskoy/Haskoy-ExtraLightItalic.otf
Normal file
BIN
static/fonts/haskoy/Haskoy-ExtraLightItalic.otf
Normal file
Binary file not shown.
BIN
static/fonts/haskoy/Haskoy-Italic.otf
Normal file
BIN
static/fonts/haskoy/Haskoy-Italic.otf
Normal file
Binary file not shown.
BIN
static/fonts/haskoy/Haskoy-Light.otf
Normal file
BIN
static/fonts/haskoy/Haskoy-Light.otf
Normal file
Binary file not shown.
BIN
static/fonts/haskoy/Haskoy-LightItalic.otf
Normal file
BIN
static/fonts/haskoy/Haskoy-LightItalic.otf
Normal file
Binary file not shown.
BIN
static/fonts/haskoy/Haskoy-Medium.otf
Normal file
BIN
static/fonts/haskoy/Haskoy-Medium.otf
Normal file
Binary file not shown.
BIN
static/fonts/haskoy/Haskoy-MediumItalic.otf
Normal file
BIN
static/fonts/haskoy/Haskoy-MediumItalic.otf
Normal file
Binary file not shown.
BIN
static/fonts/haskoy/Haskoy-Regular.otf
Normal file
BIN
static/fonts/haskoy/Haskoy-Regular.otf
Normal file
Binary file not shown.
BIN
static/fonts/haskoy/Haskoy-SemiBold.otf
Normal file
BIN
static/fonts/haskoy/Haskoy-SemiBold.otf
Normal file
Binary file not shown.
BIN
static/fonts/haskoy/Haskoy-SemiBoldItalic.otf
Normal file
BIN
static/fonts/haskoy/Haskoy-SemiBoldItalic.otf
Normal file
Binary file not shown.
BIN
static/fonts/haskoy/Haskoy-Thin.otf
Normal file
BIN
static/fonts/haskoy/Haskoy-Thin.otf
Normal file
Binary file not shown.
BIN
static/fonts/haskoy/Haskoy-ThinItalic.otf
Normal file
BIN
static/fonts/haskoy/Haskoy-ThinItalic.otf
Normal file
Binary file not shown.
@@ -30,9 +30,12 @@ body {
|
|||||||
|
|
||||||
::-webkit-scrollbar-thumb {
|
::-webkit-scrollbar-thumb {
|
||||||
background-color: var(--scrollbar-thumb);
|
background-color: var(--scrollbar-thumb);
|
||||||
|
|
||||||
|
border-radius: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
::-webkit-scrollbar-track {
|
::-webkit-scrollbar-track {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
|
border-radius: 10px;
|
||||||
}
|
}
|
||||||
/**/
|
/**/
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
$color: #f8f8f2;
|
$color: #f8f8f2;
|
||||||
$background-color: #272822;
|
$background-color: #201e44;
|
||||||
$error-color: #bb0064;
|
$error-color: #bb0064;
|
||||||
$keyword-color: #66d9ef;
|
$keyword-color: #66d9ef;
|
||||||
$text-color: $color;
|
$text-color: $color;
|
||||||
|
|||||||
@@ -3,8 +3,8 @@
|
|||||||
* https://xyproto.github.io/splash/docs/monokailight.html
|
* https://xyproto.github.io/splash/docs/monokailight.html
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$color: #272822;
|
$color: #020024;
|
||||||
$background-color: #fafafa;
|
$background-color: #020024;
|
||||||
$error-color: #960050;
|
$error-color: #960050;
|
||||||
$keyword-color: #00a8c8;
|
$keyword-color: #00a8c8;
|
||||||
$text-color: #111111;
|
$text-color: #111111;
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
|
|
||||||
.main-article {
|
.main-article {
|
||||||
background: var(--card-background);
|
background: var(--card-background);
|
||||||
|
backdrop-filter: blur(10px);
|
||||||
border-radius: var(--card-border-radius);
|
border-radius: var(--card-border-radius);
|
||||||
box-shadow: var(--shadow-l1);
|
box-shadow: var(--shadow-l1);
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|||||||
@@ -11,12 +11,12 @@ $defaultTagColors: #fff, #fff, #fff, #fff, #fff;
|
|||||||
--main-top-padding: 50px;
|
--main-top-padding: 50px;
|
||||||
}
|
}
|
||||||
|
|
||||||
--body-background: #f5f5fa;
|
--body-background: #fbfbfe;
|
||||||
|
|
||||||
--accent-color: #34495e;
|
--accent-color: #443dff;
|
||||||
--accent-color-darker: #2c3e50;
|
--accent-color-darker: #2f27ce;
|
||||||
--accent-color-text: #fff;
|
--accent-color-text: #fff;
|
||||||
--body-text-color: #707070;
|
--body-text-color: #040316;
|
||||||
|
|
||||||
--tag-border-radius: 4px;
|
--tag-border-radius: 4px;
|
||||||
|
|
||||||
@@ -26,16 +26,21 @@ $defaultTagColors: #fff, #fff, #fff, #fff, #fff;
|
|||||||
--scrollbar-track: var(--body-background);
|
--scrollbar-track: var(--body-background);
|
||||||
|
|
||||||
&[data-scheme="dark"] {
|
&[data-scheme="dark"] {
|
||||||
--body-background: #303030;
|
--body-background: #010104;
|
||||||
--accent-color: #ecf0f1;
|
--accent-color: #443dff;
|
||||||
--accent-color-darker: #bdc3c7;
|
--accent-color-darker: #3a31d8;
|
||||||
--accent-color-text: #000;
|
--accent-color-text: #fff;
|
||||||
--body-text-color: rgba(255, 255, 255, 0.7);
|
--body-text-color: #eae9fc;
|
||||||
--scrollbar-thumb: hsl(0, 0%, 40%);
|
--scrollbar-thumb: hsl(0, 0%, 40%);
|
||||||
--scrollbar-track: var(--body-background);
|
--scrollbar-track: var(--body-background);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: Haskoy-Medium;
|
||||||
|
src: url('/fonts/haskoy/Haskoy-Medium.otf');
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Global font family
|
* Global font family
|
||||||
*/
|
*/
|
||||||
@@ -43,7 +48,7 @@ $defaultTagColors: #fff, #fff, #fff, #fff, #fff;
|
|||||||
--sys-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Droid Sans", "Helvetica Neue";
|
--sys-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Droid Sans", "Helvetica Neue";
|
||||||
--zh-font-family: "PingFang SC", "Hiragino Sans GB", "Droid Sans Fallback", "Microsoft YaHei";
|
--zh-font-family: "PingFang SC", "Hiragino Sans GB", "Droid Sans Fallback", "Microsoft YaHei";
|
||||||
|
|
||||||
--base-font-family: "Lato", var(--sys-font-family), var(--zh-font-family), sans-serif;
|
--base-font-family: "Haskoy-Medium", "Lato", var(--sys-font-family), var(--zh-font-family), sans-serif;
|
||||||
--code-font-family: Menlo, Monaco, Consolas, "Courier New", var(--zh-font-family), monospace;
|
--code-font-family: Menlo, Monaco, Consolas, "Courier New", var(--zh-font-family), monospace;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -51,10 +56,10 @@ $defaultTagColors: #fff, #fff, #fff, #fff, #fff;
|
|||||||
* Card style
|
* Card style
|
||||||
*/
|
*/
|
||||||
:root {
|
:root {
|
||||||
--card-background: #fff;
|
--card-background: #dddbff;
|
||||||
--card-background-selected: #eaeaea;
|
--card-background-selected: #eaeaea;
|
||||||
|
|
||||||
--card-text-color-main: #000;
|
--card-text-color-main: #040316;
|
||||||
--card-text-color-secondary: #747474;
|
--card-text-color-secondary: #747474;
|
||||||
--card-text-color-tertiary: #767676;
|
--card-text-color-tertiary: #767676;
|
||||||
--card-separator-color: rgba(218, 218, 218, 0.5);
|
--card-separator-color: rgba(218, 218, 218, 0.5);
|
||||||
@@ -77,8 +82,14 @@ $defaultTagColors: #fff, #fff, #fff, #fff, #fff;
|
|||||||
--small-card-padding: 25px;
|
--small-card-padding: 25px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// --text: #eae9fc;
|
||||||
|
// --background: #010104;
|
||||||
|
// --primary: #3a31d8;
|
||||||
|
// --secondary: #020024;
|
||||||
|
// --accent: #0600c2;
|
||||||
|
|
||||||
&[data-scheme="dark"] {
|
&[data-scheme="dark"] {
|
||||||
--card-background: #424242;
|
--card-background: #020024;
|
||||||
--card-background-selected: rgba(255, 255, 255, 0.16);
|
--card-background-selected: rgba(255, 255, 255, 0.16);
|
||||||
--card-text-color-main: rgba(255, 255, 255, 0.9);
|
--card-text-color-main: rgba(255, 255, 255, 0.9);
|
||||||
--card-text-color-secondary: rgba(255, 255, 255, 0.7);
|
--card-text-color-secondary: rgba(255, 255, 255, 0.7);
|
||||||
@@ -114,11 +125,11 @@ $defaultTagColors: #fff, #fff, #fff, #fff, #fff;
|
|||||||
--link-background-opacity: 0.5;
|
--link-background-opacity: 0.5;
|
||||||
--link-background-opacity-hover: 0.7;
|
--link-background-opacity-hover: 0.7;
|
||||||
|
|
||||||
--pre-background-color: #272822;
|
--pre-background-color: #020024;
|
||||||
--pre-text-color: #f8f8f2;
|
--pre-text-color: #f8f8f2;
|
||||||
|
|
||||||
--code-background-color: rgba(0, 0, 0, 0.12);
|
--code-background-color: rgba(255, 255, 255, 0.9);
|
||||||
--code-text-color: #808080;
|
--code-text-color: #201e44;
|
||||||
|
|
||||||
--table-border-color: #dadada;
|
--table-border-color: #dadada;
|
||||||
--tr-even-background-color: #efefee;
|
--tr-even-background-color: #efefee;
|
||||||
@@ -126,7 +137,9 @@ $defaultTagColors: #fff, #fff, #fff, #fff, #fff;
|
|||||||
--kbd-border-color: #dadada;
|
--kbd-border-color: #dadada;
|
||||||
|
|
||||||
&[data-scheme="dark"] {
|
&[data-scheme="dark"] {
|
||||||
--code-background-color: #272822;
|
--link-background-color: 234, 233, 252;
|
||||||
|
|
||||||
|
--code-background-color: #201e44;
|
||||||
--code-text-color: rgba(255, 255, 255, 0.9);
|
--code-text-color: rgba(255, 255, 255, 0.9);
|
||||||
|
|
||||||
--table-border-color: #717171;
|
--table-border-color: #717171;
|
||||||
@@ -149,14 +162,14 @@ $defaultTagColors: #fff, #fff, #fff, #fff, #fff;
|
|||||||
}
|
}
|
||||||
|
|
||||||
[data-scheme="light"] {
|
[data-scheme="light"] {
|
||||||
--pre-text-color: #272822;
|
--pre-text-color: #f8f8f2;
|
||||||
--pre-background-color: #fafafa;
|
--pre-background-color: #272822; //020024
|
||||||
@import "partials/highlight/light.scss";
|
@import "partials/highlight/light.scss";
|
||||||
}
|
}
|
||||||
|
|
||||||
[data-scheme="dark"] {
|
[data-scheme="dark"] {
|
||||||
--pre-text-color: #f8f8f2;
|
--pre-text-color: #f8f8f2;
|
||||||
--pre-background-color: #272822;
|
--pre-background-color: #272822; //201e44
|
||||||
@import "partials/highlight/dark.scss";
|
@import "partials/highlight/dark.scss";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user