Rearrange text decoration sections and add precendence to link color

This commit is contained in:
lolabird 2025-03-25 13:49:54 -06:00
commit 299fab1c36
No known key found for this signature in database
GPG key ID: CCB68A8A3FA20AAA

View file

@ -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,18 +455,10 @@ 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);
}
.ck-content blockquote {
/*****CARDS*****/
/***blockquotes***/
.ck-content blockquote {
color: var(--carolina-blue);
font-weight: 300;
font-size: 1.5rem;
@ -460,27 +469,27 @@ a > i, a > em, a > b, a > strong {
margin-right: 0;
font-style: italic;
border-left: 3px solid var(--dark-gray);
}
.ck-content blockquote p{
}
.ck-content blockquote p {
margin-bottom: 0;
padding-bottom: .3em;
}
.ck-content blockquote b, .ck-content blockquote strong{
}
.ck-content blockquote b, .ck-content blockquote strong {
color: var(--main-text-color);
font-weight: 500;
}
.ck-content blockquote i, .ck-content blockquote i > b, .ck-content blockquote i > strong, .ck-content blockquote em, .ck-content blockquote em > b, .ck-content blockquote em > strong {
}
.ck-content blockquote i, .ck-content blockquote i > b, .ck-content blockquote i > strong, .ck-content blockquote em, .ck-content blockquote em > b, .ck-content blockquote em > strong {
font-style: normal;
color: var(--main-text-color);
}
.ck-content blockquote code, .ck-content blockquote code i, .ck-content blockquote code strong {
}
.ck-content blockquote code, .ck-content blockquote code i, .ck-content blockquote code strong {
font-size: 1.1rem;
}
.ck-content blockquote code strong {
}
.ck-content blockquote code strong {
font-weight: 700;
}
}
/***asides***/
/***asides***/
.ck-content .admonition.note {
--accent-color: var(--blue) !important;
--rgb: 56, 136, 255;
@ -557,6 +566,12 @@ div.footnote-section.ck-widget {
}
/*****LINKS*****/
body a * {
color: var(--link-color);
}
/*****ICONS*****/
/*main note icon*/
.note-icon::before {
@ -848,7 +863,7 @@ div.backlinks-items div:hover {
}
.tooltip {
z-index: 10 !important;
}
}
/*****DELETION ALERT*****/
@ -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.