Skip to content

Commit

Permalink
Adds a flair of colour to the GH pages site with some accent colours …
Browse files Browse the repository at this point in the history
…for markers, links, inline code blocks and titles
  • Loading branch information
bvobart committed Jul 26, 2021
1 parent 1c1e92c commit d3c7341
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 1 deletion.
52 changes: 52 additions & 0 deletions docs/gh-pages/assets/css/extended/tweaks.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,56 @@
:root {
/* Wider content width */
--nav-width: 1200px;
--main-width: 1200px;
/* Custom colors (light mode). Almost standard */
--marker-color: #534000;
--links-color: var(--primary);
--code-text-color: var(--primary);
--header-color: var(--primary);
}

.dark {
/* Custom colours (dark mode). Just some accent colours to cut through the boring gray. */
--marker-color: #f5bc00;
--links-color: #4be7f7;
--code-text-color: #cae3e6;
--header-color: #ddf8fb;
}

.social-icons a,
::marker {
color: var(--marker-color);
}

.entry-content a,
.post-description a,
.post-description a code,
.post-content a,
.post-content a code {
color: var(--links-color);
}

.entry-content code,
.post-description code,
.post-content code {
color: var(--code-text-color);
}

.entry-header h1,
.page-header h1,
.post-title {
color: var(--header-color);
}

.post-description h1,
.post-description h2,
.post-description h3,
.post-description h4,
.post-description h5
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5 {
color: var(--header-color);
}
2 changes: 1 addition & 1 deletion docs/gh-pages/static/example-run.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d3c7341

Please sign in to comment.