mirror of
https://github.com/Lolabird/ocean-dark-trilium-theme.git
synced 2026-10-19 19:57:00 -06:00
Rearrange text decoration sections and add precendence to link color
This commit is contained in:
parent
f9d15c5bb7
commit
299fab1c36
1 changed files with 128 additions and 112 deletions
|
|
@ -18,7 +18,7 @@ This theme inspired by and meant to be paired with Linux theme Juno-Ocean by Eli
|
|||
}
|
||||
@font-face {
|
||||
font-family: "JetBrainsMono";
|
||||
src: url('/custom/themes/EFAD/JetBrainsMono-Bold.woff2') format("woff2");
|
||||
src: url('/custom/themes/EFAD/JetBrainsMfono-Bold.woff2') format("woff2");
|
||||
font-weight: 700;
|
||||
font-style: normal;
|
||||
}
|
||||
|
|
@ -317,6 +317,9 @@ html {
|
|||
font-size: 1.7rem;
|
||||
background: transparent;
|
||||
}
|
||||
.ck-content h2 kbd, .ck-content h2 kbd i, .ck-content h2 kbd b, .ck-content h2 kbd strong {
|
||||
font-size: 1.7rem;
|
||||
}
|
||||
|
||||
.ck-content h3 {
|
||||
color: var(--foreground);
|
||||
|
|
@ -327,6 +330,9 @@ html {
|
|||
font-size: 1.6rem;
|
||||
background: transparent;
|
||||
}
|
||||
.ck-content h3 kbd, .ck-content h3 kbd i, .ck-content h3 kbd b, .ck-content h3 kbd strong {
|
||||
font-size: 1.6rem;
|
||||
}
|
||||
|
||||
.ck-content h4 {
|
||||
color: var(--white);
|
||||
|
|
@ -337,6 +343,9 @@ html {
|
|||
font-size: 1.5rem;
|
||||
background: transparent;
|
||||
}
|
||||
.ck-content h4 kbd, .ck-content h4 kbd i, .ck-content h4 kbd b, .ck-content h4 kbd strong {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
.ck-content h5 {
|
||||
color: var(--light-gray);
|
||||
|
|
@ -347,6 +356,9 @@ html {
|
|||
font-size: 1.4rem;
|
||||
background: transparent;
|
||||
}
|
||||
.ck-content h5 kbd, .ck-content h5 kbd i, .ck-content h5 kbd b, .ck-content h5 kbd strong {
|
||||
font-size: 1.4rem;
|
||||
}
|
||||
|
||||
.ck-content h6 {
|
||||
color: var(--light-red);
|
||||
|
|
@ -357,6 +369,9 @@ html {
|
|||
font-size: 1.3rem;
|
||||
background: transparent;
|
||||
}
|
||||
.ck-content h6 kbd, .ck-content h6 kbd i, .ck-content h6 kbd b, .ck-content h6 kbd strong {
|
||||
font-size: 1.3rem;
|
||||
}
|
||||
|
||||
|
||||
/*****TABLE*****/
|
||||
|
|
@ -415,13 +430,15 @@ tr:nth-child(odd) {
|
|||
|
||||
|
||||
/*****TEXT DECORATION*****/
|
||||
/*bold*/
|
||||
body strong, body b {
|
||||
color:var(--carolina-blue);
|
||||
font-weight: 700;
|
||||
}
|
||||
body em, body i {
|
||||
color:var(--carolina-blue);
|
||||
}
|
||||
|
||||
/***lists***/
|
||||
/*****LISTS*****/
|
||||
li label {
|
||||
display: inline;
|
||||
line-height: 2rem;
|
||||
|
|
@ -438,17 +455,9 @@ li label {
|
|||
background: var(--main-background);
|
||||
}
|
||||
|
||||
/***decorated links***/
|
||||
a > i, a > em, a > b, a > strong {
|
||||
color: var(--link-color);
|
||||
}
|
||||
|
||||
|
||||
/*****CONTENT BOXES*****/
|
||||
/***italics and quotes***/
|
||||
body em, body i{
|
||||
color:var(--carolina-blue);
|
||||
}
|
||||
/*****CARDS*****/
|
||||
/***blockquotes***/
|
||||
.ck-content blockquote {
|
||||
color: var(--carolina-blue);
|
||||
font-weight: 300;
|
||||
|
|
@ -557,6 +566,12 @@ div.footnote-section.ck-widget {
|
|||
}
|
||||
|
||||
|
||||
/*****LINKS*****/
|
||||
body a * {
|
||||
color: var(--link-color);
|
||||
}
|
||||
|
||||
|
||||
/*****ICONS*****/
|
||||
/*main note icon*/
|
||||
.note-icon::before {
|
||||
|
|
@ -902,6 +917,7 @@ pre::after{
|
|||
}
|
||||
|
||||
|
||||
|
||||
/*****CKEDITOR*****/
|
||||
/******************************************************************
|
||||
NOTE: The following lines of code affect the editor menus. Similar to the General Styles section, the variables below are simply redefined here.
|
||||
|
|
|
|||
Loading…
Reference in a new issue