mirror of
https://github.com/Lolabird/stellar-dark-theme-trilium.git
synced 2026-10-19 19:36:59 -06:00
Adjust fonts and add font files
This commit is contained in:
parent
2c476c3e3c
commit
af0a3ac51b
17 changed files with 110 additions and 11 deletions
BIN
Fira/FiraMono-Bold.woff2
Normal file
BIN
Fira/FiraMono-Bold.woff2
Normal file
Binary file not shown.
BIN
Fira/FiraMono-Regular.woff2
Normal file
BIN
Fira/FiraMono-Regular.woff2
Normal file
Binary file not shown.
BIN
Fira/FiraSans-Bold.woff2
Normal file
BIN
Fira/FiraSans-Bold.woff2
Normal file
Binary file not shown.
BIN
Fira/FiraSans-BoldItalic.woff2
Normal file
BIN
Fira/FiraSans-BoldItalic.woff2
Normal file
Binary file not shown.
BIN
Fira/FiraSans-ExtraBold.woff2
Normal file
BIN
Fira/FiraSans-ExtraBold.woff2
Normal file
Binary file not shown.
BIN
Fira/FiraSans-ExtraBoldItalic.woff2
Normal file
BIN
Fira/FiraSans-ExtraBoldItalic.woff2
Normal file
Binary file not shown.
BIN
Fira/FiraSans-Heavy.woff2
Normal file
BIN
Fira/FiraSans-Heavy.woff2
Normal file
Binary file not shown.
BIN
Fira/FiraSans-HeavyItalic.woff2
Normal file
BIN
Fira/FiraSans-HeavyItalic.woff2
Normal file
Binary file not shown.
BIN
Fira/FiraSans-Italic.woff2
Normal file
BIN
Fira/FiraSans-Italic.woff2
Normal file
Binary file not shown.
BIN
Fira/FiraSans-Light.woff2
Normal file
BIN
Fira/FiraSans-Light.woff2
Normal file
Binary file not shown.
BIN
Fira/FiraSans-LightItalic.woff2
Normal file
BIN
Fira/FiraSans-LightItalic.woff2
Normal file
Binary file not shown.
BIN
Fira/FiraSans-Medium.woff2
Normal file
BIN
Fira/FiraSans-Medium.woff2
Normal file
Binary file not shown.
BIN
Fira/FiraSans-MediumItalic.woff2
Normal file
BIN
Fira/FiraSans-MediumItalic.woff2
Normal file
Binary file not shown.
BIN
Fira/FiraSans-Regular.woff2
Normal file
BIN
Fira/FiraSans-Regular.woff2
Normal file
Binary file not shown.
BIN
Fira/FiraSans-SemiBold.woff2
Normal file
BIN
Fira/FiraSans-SemiBold.woff2
Normal file
Binary file not shown.
BIN
Fira/FiraSans-SemiBoldItalic.woff2
Normal file
BIN
Fira/FiraSans-SemiBoldItalic.woff2
Normal file
Binary file not shown.
117
stellar-dark.css
117
stellar-dark.css
|
|
@ -3,6 +3,93 @@ Stellar Dark by Octavia N. (https://github.com/Lolabird/stellar-dark-theme-trili
|
||||||
|
|
||||||
Inspired by https://github.com/Engr-AllanG/trilium-theme-Neon_Dark
|
Inspired by https://github.com/Engr-AllanG/trilium-theme-Neon_Dark
|
||||||
******************************************************************/
|
******************************************************************/
|
||||||
|
/*****FONT IMPORTS*****/
|
||||||
|
@font-face{
|
||||||
|
font-family: 'Fira Mono';
|
||||||
|
src:url('/custom/themes/StellarDark/FiraMono-Regular.woff2') format("woff2");
|
||||||
|
font-weight: 400;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
@font-face{
|
||||||
|
font-family: 'Fira Mono';
|
||||||
|
src:url('/custom/themes/StellarDark/FiraMono-Bold.woff2') format("woff2");
|
||||||
|
font-weight: 600;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
@font-face{
|
||||||
|
font-family: 'Fira Sans';
|
||||||
|
src:url('/custom/themes/StellarDark/FiraSans-Light.woff2') format("woff2");
|
||||||
|
font-weight: 300;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
@font-face{
|
||||||
|
font-family: 'Fira Sans';
|
||||||
|
src:url('/custom/themes/StellarDark/FiraSans-LightItalic.woff2') format("woff2");
|
||||||
|
font-weight: 300;
|
||||||
|
font-style: oblique;
|
||||||
|
}
|
||||||
|
@font-face{
|
||||||
|
font-family: 'Fira Sans';
|
||||||
|
src:url('/custom/themes/StellarDark/FiraSans-Regular.woff2') format("woff2");
|
||||||
|
font-weight: 400;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
@font-face{
|
||||||
|
font-family: 'Fira Sans';
|
||||||
|
src:url('/custom/themes/StellarDark/FiraSans-Italic.woff2') format("woff2");
|
||||||
|
font-weight: 400;
|
||||||
|
font-style: oblique;
|
||||||
|
}
|
||||||
|
@font-face{
|
||||||
|
font-family: 'Fira Sans';
|
||||||
|
src:url('/custom/themes/StellarDark/FiraSans-Medium.woff2') format("woff2");
|
||||||
|
font-weight: 500;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
@font-face{
|
||||||
|
font-family: 'Fira Sans';
|
||||||
|
src:url('/custom/themes/StellarDark/FiraSans-MediumItalic.woff2') format("woff2");
|
||||||
|
font-weight: 500;
|
||||||
|
font-style: oblique;
|
||||||
|
}
|
||||||
|
@font-face{
|
||||||
|
font-family: 'Fira Sans';
|
||||||
|
src:url('/custom/themes/StellarDark/FiraSans-SemiBold.woff2') format("woff2");
|
||||||
|
font-weight: 600;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
@font-face{
|
||||||
|
font-family: 'Fira Sans';
|
||||||
|
src:url('/custom/themes/StellarDark/FiraSans-SemiBoldItalic.woff2') format("woff2");
|
||||||
|
font-weight: 600;
|
||||||
|
font-style: oblique;
|
||||||
|
}
|
||||||
|
@font-face{
|
||||||
|
font-family: 'Fira Sans';
|
||||||
|
src:url('/custom/themes/StellarDark/FiraSans-Bold.woff2') format("woff2");
|
||||||
|
font-weight: 700;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
@font-face{
|
||||||
|
font-family: 'Fira Sans';
|
||||||
|
src:url('/custom/themes/StellarDark/FiraSans-BoldItalic.woff2') format("woff2");
|
||||||
|
font-weight: 700;
|
||||||
|
font-style: oblique;
|
||||||
|
}
|
||||||
|
@font-face{
|
||||||
|
font-family: 'Fira Sans';
|
||||||
|
src:url('/custom/themes/StellarDark/FiraSans-ExtraBold.woff2') format("woff2");
|
||||||
|
font-weight: 800;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
@font-face{
|
||||||
|
font-family: 'Fira Sans';
|
||||||
|
src:url('/custom/themes/StellarDark/FiraSans-ExtraBoldItalic.woff2') format("woff2");
|
||||||
|
font-weight: 800;
|
||||||
|
font-style: oblique;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/*****ROOT (COLOR AND FONT KEY)*****/
|
/*****ROOT (COLOR AND FONT KEY)*****/
|
||||||
:root{
|
:root{
|
||||||
/***main body (including CKEditor), modal(options menu), and some code colors (see last section for more code colors)***/
|
/***main body (including CKEditor), modal(options menu), and some code colors (see last section for more code colors)***/
|
||||||
|
|
@ -22,7 +109,7 @@ Inspired by https://github.com/Engr-AllanG/trilium-theme-Neon_Dark
|
||||||
--border-orange: #cc862c /*#cc6c2c*/;
|
--border-orange: #cc862c /*#cc6c2c*/;
|
||||||
--sea-green: #04c963;
|
--sea-green: #04c963;
|
||||||
--shallow-sea-blue: #54bcba;
|
--shallow-sea-blue: #54bcba;
|
||||||
--header-font-family: Lucida Console, Monaco, sans-serif;
|
--header-font-family: 'Fira Sans', sans-serif;
|
||||||
--code-select-gray: #333;
|
--code-select-gray: #333;
|
||||||
--table-header-gray: #222;
|
--table-header-gray: #222;
|
||||||
--soft-red: #ed363c;
|
--soft-red: #ed363c;
|
||||||
|
|
@ -50,17 +137,17 @@ html {
|
||||||
|
|
||||||
/***fonts***/
|
/***fonts***/
|
||||||
/*general fonts*/
|
/*general fonts*/
|
||||||
--main-font-family: sans-serif;
|
--main-font-family: 'Fira Sans', sans-serif;
|
||||||
--main-font-size: 1.2rem;
|
--main-font-size: 1.2rem;
|
||||||
|
|
||||||
--tree-font-family: serif;
|
--tree-font-family: 'Fira Sans', sans-serif;
|
||||||
--tree-font-size: 1.3rem;
|
--tree-font-size: 1.3rem;
|
||||||
|
|
||||||
--detail-font-family: sans-serif;
|
--detail-font-family: 'Fira Sans', sans-serif;
|
||||||
--detail-font-size: 1.3rem;
|
--detail-font-size: 1.3rem;
|
||||||
|
|
||||||
/*code fonts*/
|
/*code fonts*/
|
||||||
--monospace-font-family: monospace;
|
--monospace-font-family: 'Fira Mono', monospace;
|
||||||
--monospace-font-size: 1.2rem;
|
--monospace-font-size: 1.2rem;
|
||||||
|
|
||||||
/***colors***/
|
/***colors***/
|
||||||
|
|
@ -139,6 +226,9 @@ html {
|
||||||
.ck-content .image>figcaption {
|
.ck-content .image>figcaption {
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
}
|
}
|
||||||
|
.ck-content figure.image>figcaption code {
|
||||||
|
font-size: .95rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/*****Scrollbar*****/
|
/*****Scrollbar*****/
|
||||||
|
|
@ -203,7 +293,7 @@ html {
|
||||||
/*h1 is not defined, because it's not currently an option for headers in the main body*/
|
/*h1 is not defined, because it's not currently an option for headers in the main body*/
|
||||||
.ck-content h2 {
|
.ck-content h2 {
|
||||||
color: var(--darkened-sun);
|
color: var(--darkened-sun);
|
||||||
font-weight: 850;
|
font-weight: 800;
|
||||||
font-family: var(--header-font-family);
|
font-family: var(--header-font-family);
|
||||||
font-size: 2rem;
|
font-size: 2rem;
|
||||||
}
|
}
|
||||||
|
|
@ -311,7 +401,7 @@ tr:nth-child(odd) {
|
||||||
/*bold*/
|
/*bold*/
|
||||||
body strong {
|
body strong {
|
||||||
color:var(--bold-sun);
|
color:var(--bold-sun);
|
||||||
font-weight: 800;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
|
|
||||||
/***lists***/
|
/***lists***/
|
||||||
|
|
@ -344,6 +434,8 @@ body blockquote{
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
|
font-weight: 300;
|
||||||
|
font-size: 1.35rem;
|
||||||
border-left: 5px solid var(--border-orange);
|
border-left: 5px solid var(--border-orange);
|
||||||
}
|
}
|
||||||
.ck-content blockquote p {
|
.ck-content blockquote p {
|
||||||
|
|
@ -354,6 +446,13 @@ body blockquote{
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
color: var(--bold-sun);
|
color: var(--bold-sun);
|
||||||
}
|
}
|
||||||
|
.ck-content blockquote b {
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
.ck-content blockquote code strong {
|
||||||
|
font-weight: 700;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/***decorated links***/
|
/***decorated links***/
|
||||||
a > i, a > em, a > b, a > strong {
|
a > i, a > em, a > b, a > strong {
|
||||||
|
|
@ -659,7 +758,7 @@ pre::after{
|
||||||
|
|
||||||
/***inline code***/
|
/***inline code***/
|
||||||
.ck-content code, .ck-content code i, .ck-content code strong {
|
.ck-content code, .ck-content code i, .ck-content code strong {
|
||||||
font-size: .95rem;
|
font-size: 1.1rem;
|
||||||
background: var(--supa-dark);
|
background: var(--supa-dark);
|
||||||
color: var(--shallow-sea-blue) !important;
|
color: var(--shallow-sea-blue) !important;
|
||||||
letter-spacing: 1px;
|
letter-spacing: 1px;
|
||||||
|
|
@ -951,7 +1050,7 @@ code.hljs {
|
||||||
|
|
||||||
/***Trilium Chat***/
|
/***Trilium Chat***/
|
||||||
.chat-wrapper {
|
.chat-wrapper {
|
||||||
--trilium-green: var(--soft-foam);
|
--trilium-green: var(--sea-foam);
|
||||||
}
|
}
|
||||||
.chat-wrapper .header_face:hover {
|
.chat-wrapper .header_face:hover {
|
||||||
color: var(--bright-sun) !important;
|
color: var(--bright-sun) !important;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue