Edit formatting

This commit is contained in:
lolabird 2024-08-28 14:07:25 -06:00
commit 80fe3651be
No known key found for this signature in database
GPG key ID: 0B9E871F678F9DB3

View file

@ -4,18 +4,6 @@ Ant Earth by Octavia N. (https://github.com/Lolabird/everforest-ant-dark-trilium
This theme inspired by and meant to be paired with the KDE Plasma theme Ant Dark and the more generally available theme EverForest. This theme inspired by and meant to be paired with the KDE Plasma theme Ant Dark and the more generally available theme EverForest.
******************************************************************/ ******************************************************************/
/*****FONT IMPORTS*****/ /*****FONT IMPORTS*****/
@font-face {
font-family: "Jost";
src: url('/custom/themes/EFAD/Jost-300-Light.woff2') format("woff2");
font-weight: 300;
font-style: normal;
}
@font-face {
font-family: "Jost";
src: url('/custom/themes/EFAD/Jost-300-LightItalic.woff2') format("woff2");
font-weight: 300;
font-style: oblique;
}
@font-face { @font-face {
font-family: "JetBrainsMono"; font-family: "JetBrainsMono";
src: url('/custom/themes/EFAD/JetBrainsMono-Regular.woff2') format("woff2"); src: url('/custom/themes/EFAD/JetBrainsMono-Regular.woff2') format("woff2");
@ -40,6 +28,18 @@ This theme inspired by and meant to be paired with the KDE Plasma theme Ant Dark
font-weight: 700; font-weight: 700;
font-style: oblique; font-style: oblique;
} }
@font-face {
font-family: "Jost";
src: url('/custom/themes/EFAD/Jost-300-Light.woff2') format("woff2");
font-weight: 300;
font-style: normal;
}
@font-face {
font-family: "Jost";
src: url('/custom/themes/EFAD/Jost-300-LightItalic.woff2') format("woff2");
font-weight: 300;
font-style: oblique;
}
@font-face { @font-face {
font-family: "Jost"; font-family: "Jost";
src: url('/custom/themes/EFAD/Jost-400-Book.woff2') format("woff2"); src: url('/custom/themes/EFAD/Jost-400-Book.woff2') format("woff2");
@ -90,7 +90,6 @@ This theme inspired by and meant to be paired with the KDE Plasma theme Ant Dark
} }
/*****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)*/
@ -203,6 +202,7 @@ html {
--mermaid-theme: default; --mermaid-theme: default;
} }
/*****Image Caption*****/ /*****Image Caption*****/
.ck-content figure.image>figcaption { .ck-content figure.image>figcaption {
font-size: 1rem; font-size: 1rem;
@ -218,6 +218,7 @@ html {
color: var(--text-gray); color: var(--text-gray);
} }
/*****Scrollbar*****/ /*****Scrollbar*****/
::-webkit-scrollbar-thumb{ ::-webkit-scrollbar-thumb{
background-color: transparent !important; background-color: transparent !important;
@ -226,6 +227,7 @@ html {
border-color: var(--tan) !important; border-color: var(--tan) !important;
} }
/*****TABS*****/ /*****TABS*****/
.tab-row-widget .note-tab .note-tab-wrapper { .tab-row-widget .note-tab .note-tab-wrapper {
height: 46px !important; height: 46px !important;
@ -245,6 +247,7 @@ html {
-webkit-app-region: none !important; -webkit-app-region: none !important;
} }
/*****TOC*****/ /*****TOC*****/
.toc-widget{ .toc-widget{
overflow: visible !important; overflow: visible !important;
@ -254,11 +257,13 @@ html {
text-align: left; text-align: left;
} }
/*****Included Notes*****/ /*****Included Notes*****/
.include-note { .include-note {
margin-bottom: 1.1rem !important; margin-bottom: 1.1rem !important;
} }
/*****HEADERS*****/ /*****HEADERS*****/
/*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*/
body h2 { body h2 {
@ -372,10 +377,6 @@ li label {
} }
/***italics and quotes***/ /***italics and quotes***/
/*body i {
color: var(--sand);
}*/
.ck-content blockquote { .ck-content blockquote {
color: var(--sand); color: var(--sand);
font-weight: 300; font-weight: 300;
@ -400,7 +401,6 @@ li label {
} }
/*****ICONS*****/ /*****ICONS*****/
/*main note icon*/ /*main note icon*/
.note-icon::before { .note-icon::before {
@ -434,7 +434,6 @@ li label {
border: none !important; border: none !important;
} }
/***tree***/ /***tree***/
/*note icon*/ /*note icon*/
.fancytree-custom-icon { .fancytree-custom-icon {
@ -455,7 +454,6 @@ button.tree-floating-button {
font-size: 1.5rem !important; font-size: 1.5rem !important;
} }
/***Trilium icon***/ /***Trilium icon***/
body .global-menu-button { body .global-menu-button {
background-image: url("/assets/vX/images/icon-grey.png"); background-image: url("/assets/vX/images/icon-grey.png");
@ -481,7 +479,6 @@ body .global-menu-button {
} }
.note-title-widget input.note-title { .note-title-widget input.note-title {
font-family: var(--header-font-family); font-family: var(--header-font-family);
/*font-size: 200% !important;*/
} }
.note-title:focus { .note-title:focus {
color: var(--text-gray) !important; color: var(--text-gray) !important;
@ -544,6 +541,7 @@ button:hover :not(.close) :not(.help-button) :not(.ck-button-save) :not(.ck-butt
border: 1px solid var(--ck-color-input-disabled-border) !important; border: 1px solid var(--ck-color-input-disabled-border) !important;
} }
/*****NOTE MAP*****/ /*****NOTE MAP*****/
.note-detail-relation-map path, .note-detail-relation-map .jtk-endpoint{ .note-detail-relation-map path, .note-detail-relation-map .jtk-endpoint{
fill: var(--soft-sea-green) !important; fill: var(--soft-sea-green) !important;
@ -553,6 +551,7 @@ svg.jtk-connector path {
fill: none !important; fill: none !important;
} }
/*****BACKLINKS POPUP*****/ /*****BACKLINKS POPUP*****/
div.backlinks-items { div.backlinks-items {
z-index: 10; z-index: 10;
@ -577,11 +576,13 @@ div.backlinks-items div:hover {
background-color: var(--code-select-gray); background-color: var(--code-select-gray);
} }
/*****Attributes Popup*****/ /*****Attributes Popup*****/
.attr-help td { .attr-help td {
color: var(--text-gray) !important; color: var(--text-gray) !important;
} }
/*****CODE IN TEXT NOTES)*****/ /*****CODE IN TEXT NOTES)*****/
/***code blocks***/ /***code blocks***/
.ck-content pre { .ck-content pre {
@ -619,7 +620,6 @@ pre::after{
} }
/*****CKEDITOR*****/ /*****CKEDITOR*****/
/****************************************************************** /******************************************************************
NOTE: The following lines of code affect the editor menus. Similar to the General Styles section, the variables below are simply redefined here. NOTE: The following lines of code affect the editor menus. Similar to the General Styles section, the variables below are simply redefined here.