Skip to content

Commit

Permalink
Update dracula.css
Browse files Browse the repository at this point in the history
Few minor style updates for code font and headers
  • Loading branch information
matthewnitschke authored and Teyler7 committed Nov 21, 2022
1 parent 180c1ad commit 83c18a1
Showing 1 changed file with 15 additions and 16 deletions.
31 changes: 15 additions & 16 deletions theme/dracula.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,17 @@
--bg-color3: var(--dracula-background-dark);
/* for tips */
--bg-color4: var(--dracula-current-line);
;

/* for blockquote, codeblock, input, etc */
--bg-color5: var(--dracula-background-dark);
/* light color for text and icon*/
/* default color */
--text-color1: var(--dracula-foreground);
/* for text on panel */
--text-color2: var(--dracula-foreground);
;
/* for checkbox and radio */
--text-color3: var(--dracula-current-line);
;

/* for tips */
--text-color4: var(--dracula-foreground);
/* for focus mode */
Expand Down Expand Up @@ -118,6 +117,8 @@

--node-border: var(--menu-divider-color);
--node-fill: var(--bg-color2);

--monospace: Menlo, Monaco, 'Courier New', monospace;
}

/* font */
Expand Down Expand Up @@ -198,34 +199,32 @@ a:hover {
}

#write h1 {
font-size: 2.5em;
padding-bottom: 0.5em;
border-bottom: 3px double var(--text-color5);
font-size: 2em;
padding-bottom: 0.3em;
border-bottom: 1px solid var(--text-color3);

}

#write h2 {
font-size: 2em;
padding-bottom: 0.5em;
border-bottom: 3px double var(--text-color5);
font-size: 1.5em;
padding-bottom: 0.3em;
border-bottom: 1px solid var(--text-color3);
}

#write h3 {
font-size: 1.75em;
padding-bottom: 0.5em;
border-bottom: 1px solid var(--text-color5);
font-size: 1.25em;
}

#write h4 {
font-size: 1.55em;
font-size: 1em;
}

#write h5 {
font-size: 1.35em;
font-size: .875em;
}

#write h6 {
font-size: 1.2em;
font-size: .85em;
}

/* horizontal divider */
Expand Down Expand Up @@ -1863,4 +1862,4 @@ kbd {
color: var(--text-color1);
font-family: "Lucida Console";
border-color: var(--menu-divider-color);
}
}

0 comments on commit 83c18a1

Please sign in to comment.