Skip to content

Commit

Permalink
Small styling tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
Kurt Bruns committed Jul 18, 2023
1 parent aaf11b5 commit c95c86f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
5 changes: 5 additions & 0 deletions assets/scss/base/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
--background: #202020;
--background-darker: #181818;
--background-lighter: #303030;

--font-color: #e0e0e0;
--medium-color: #a0a0a0;
--contrast-color: #bebebe;
Expand Down Expand Up @@ -43,6 +44,10 @@
--background: #ffffff;
--background-darker: hsl(0, 0%, 95%); // darker
--background-lighter: hsl(0, 0%, 95%); // darker

--foreground: #d0d0d0; // better variable name?


--font-color: #404040;
--medium-color: #808080;
--contrast-color: #404040;
Expand Down
3 changes: 2 additions & 1 deletion assets/scss/components/_syntax.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/* default dark theme */
:root {
--syntax-background: #333333;

--syntax-background: #303030;
--syntax-foreground: #cdcdcd;
--syntax-comment: #A9A9A9; // Comment color
--syntax-comment-active: #b1b2b3; // Comment active
Expand Down
2 changes: 1 addition & 1 deletion assets/scss/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ img.center {
}

pre.one-line {
background: var(--background-darker);
background: var(--background-lighter);
margin: 0;
padding: 0.5rem 0.75rem;
}
4 changes: 2 additions & 2 deletions content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,13 +251,13 @@ The alternative to inline styling is stylesheets. Stylesheets can either be defi
```css
/* style elements by tag name */
circle {
stroke:#d0d0d0; /* light grey */
stroke: #d0d0d0; /* light grey */
stroke-width: 4px;
}

/* style by user interaction */
circle:hover {
stroke:#808080; /* medium grey */
stroke: #808080; /* medium grey */
}

/* style elements by class */
Expand Down

0 comments on commit c95c86f

Please sign in to comment.