Switch to gruvbox theme

This commit is contained in:
Dave Gallant
2024-01-01 23:33:36 -05:00
parent c545a5a8c8
commit 66cff08323
513 changed files with 8930 additions and 20205 deletions

0
public/css/.gitkeep Normal file
View File

View File

@@ -1 +0,0 @@
.highlight-wrapper{display:block}.highlight-wrapper .lntd pre{padding:0}.chroma .lntd pre{border:0 solid #ccc}.chroma .lntd:first-child{padding:7px 7px 7px 10px;margin:0}.chroma .lntd:last-child{padding:7px 10px 7px 7px;margin:0}.highlight{position:relative;z-index:0;padding:0;margin:40px 0 10px;border-radius:4px}.highlight>.chroma{position:static;z-index:1;border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:4px;border-bottom-right-radius:4px;padding:10px}.copy-code-button{position:absolute;z-index:2;right:0;top:-29px;font-size:13px;font-weight:700;line-height:14px;letter-spacing:.5px;width:65px;color:#fff;background-color:#000;border:1.25px solid #232326;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0;white-space:nowrap;padding:6px 6px 7px;margin:0 0 0 1px;cursor:pointer;opacity:.6}.copy-code-button:hover,.copy-code-button:focus,.copy-code-button:active,.copy-code-button:active:hover{color:#222225;background-color:#b3b3b3;opacity:.8}.copyable-text-area{position:absolute;height:0;z-index:-1;opacity:.01}.chroma [data-lang]:before{position:absolute;z-index:0;top:-29px;left:0;content:attr(data-lang);font-size:13px;font-weight:700;color:#fff;background-color:#000;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-left-radius:0;border-bottom-right-radius:0;padding:6px 6px 7px;line-height:14px;opacity:.6;position:absolute;letter-spacing:.5px;border:1.25px solid #232326;margin:0 0 0 1px}

View File

@@ -1,15 +0,0 @@
.hanchor {
visibility: hidden;
color: silver;
font-size: 100%;
transition: 0.2s;
padding-left: 8px;
font-weight: 600;
}
h2:hover a,
h3:hover a,
h4:hover a {
visibility: visible;
text-decoration: none;
}

View File

@@ -1,153 +0,0 @@
body {
color: white;
background-color: #202124;
}
::-moz-selection {
background: blue;
color: #fff;
text-shadow: none;
}
::selection {
background: rgb(212, 240, 32);
color: #000000;
text-shadow: none;
}
hr {
border-top: 3px dotted blue;
}
code {
background-color: rgb(184, 189, 190);
color: black;
text-decoration: bold;
padding: 0em 0.1em;
}
pre {
background-color: #272822;
line-height: 1.4;
overflow-x: auto;
padding: 1em;
}
blockquote {
border-color: #ddd;
}
h1,
h2,
h3,
h4,
h5,
h6 {
color: #ddd;
}
h1::before {
color: var(--darkMaincolor);
}
h2::before {
color: var(--darkMaincolor);
}
h3::before {
color: var(--darkMaincolor);
}
h4::before {
color: var(--darkMaincolor);
}
h5::before {
color: var(--darkMaincolor);
}
h6::before {
color: var(--darkMaincolor);
}
a {
border-bottom: 3px solid var(--darkMaincolor);
color: inherit;
}
a:hover {
background-color: var(--darkMaincolor);
color: black;
}
.site-description a {
color: #ddd;
}
.site-description a:hover {
color: black;
}
.tags a {
border-bottom: 3px solid var(--darkMaincolor);
}
.tags a:hover {
background-color: var(--darkMaincolor);
color: black;
}
.site-title a {
color: white;
text-decoration: none !important;
}
.header nav,
.footer {
border-color: #333;
}
.highlight {
background-color: #333;
}
.soc:hover {
color: black;
}
.draft-label {
color: var(--darkMaincolor);
background-color: blue;
}
.highlight pre code[class="language-javaScript"]::before,
.highlight pre code[class="language-js"]::before {
content: "js";
background: #f7df1e;
color: black;
}
.highlight pre code[class*="language-yml"]::before,
.highlight pre code[class*="language-yaml"]::before {
content: "yaml";
background: #f71e6a;
color: white;
}
.highlight pre code[class*="language-shell"]::before,
.highlight pre code[class*="language-bash"]::before,
.highlight pre code[class*="language-sh"]::before {
content: "shell";
background: rgb(118, 137, 118);
color: white;
}
.highlight pre code[class*="language-json"]::before {
content: "json";
background: dodgerblue;
color: #000000;
}
.highlight pre code[class*="language-python"]::before,
.highlight pre code[class*="language-py"]::before {
content: "py";
background: blue;
color: yellow;
}
.highlight pre code[class*="language-css"]::before {
content: "css";
background: cyan;
color: black;
}
.highlight pre code[class*="language-go"]::before {
content: "Go";
background: cyan;
color: royalblue;
}
.highlight pre code[class*="language-md"]::before,
.highlight pre code[class*="language-md"]::before {
content: "Markdown";
background: royalblue;
color: whitesmoke;
}

View File

@@ -1,349 +0,0 @@
/* Markdown */
:root {
--maincolor: #a15bc2;
--bordercl: #a15bc2;
--callouctcolor: dodgerblue;
--hovercolor: #a15bc2;
--darkMaincolor: #a15bc2;
}
html {
color: #232333;
font-family: "Roboto Mono", monospace;
font-size: 18px;
line-height: 1.6em;
}
body {
display: block;
background-color: #f8f8f8;
margin: 8px;
}
* {
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
::selection {
background: #eef35c;
color: #000000;
}
p {
font-family: "Roboto Light", sans-serif;
line-height: 1.5;
}
hr {
border: 0;
border-top: 3px dotted var(--bordercl);
margin: 1em 0;
}
blockquote {
border-left: 3px solid var(--bordercl);
color: #737373;
margin: 0;
padding-left: 1em;
}
a {
border-bottom: 3px solid var(--maincolor);
color: inherit;
text-decoration: none;
}
a:hover {
background-color: var(--hovercolor);
color: #fff;
}
ul {
list-style: none;
padding-left: 2ch;
}
ul li {
text-indent: -2ch;
}
ul > li::before {
content: "* ";
font-weight: bold;
}
/* Images */
img {
max-width: 100%;
}
figure {
box-sizing: border-box;
display: inline-block;
margin: 0;
max-width: 100%;
}
figure img {
max-height: 500px;
}
@media screen and (min-width: 600px) {
figure {
padding: 0 40px;
}
}
figure h4 {
font-size: 1rem;
margin: 0;
margin-bottom: 1em;
}
figure h4::before {
content: "↳ ";
}
/* Code blocks */
code {
background-color: #f1f1f1;
padding: 0em 0.1em;
}
pre {
background-color: #ececec;
line-height: 1.4;
overflow-x: auto;
padding: 1em;
}
.highlight pre ::selection {
background: var(--maincolor);
color: inherit;
}
pre code {
background-color: transparent;
color: inherit;
font-size: 100%;
padding: 0;
}
/* Containers */
.content {
margin-bottom: 4em;
margin-left: auto;
margin-right: auto;
max-width: 800px;
padding: 0 1ch;
word-wrap: break-word;
}
/* Header */
header {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
margin: 1em 0;
line-height: 2.5em;
}
header .main {
font-size: 1.5rem;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-size: 1.2rem;
margin-top: 2em;
}
h1::before {
color: var(--maincolor);
}
h2::before {
color: var(--maincolor);
}
h3::before {
color: var(--maincolor);
}
h4::before {
color: var(--maincolor);
}
h5::before {
color: var(--maincolor);
}
h6::before {
color: var(--maincolor);
}
.meta {
color: #999;
letter-spacing: -0.5px;
}
/* Footer */
footer {
display: flex;
align-items: center;
border-top: 0.4rem dotted var(--bordercl);
padding: 2rem 0rem;
margin-top: 2rem;
}
.soc {
display: flex;
align-items: center;
border-bottom: none;
}
.border {
margin-left: 0.5rem;
margin-right: 0.5rem;
border: 1px solid;
}
.footer-info {
padding: var(--footer-padding);
}
/* Common */
.title h1 {
margin-bottom: 0;
}
time {
color: grey;
}
/* Posts */
article .title {
margin-bottom: 1em;
}
/* Callout */
.callout {
background-color: var(--callouctcolor);
color: #fff;
padding: 1em;
}
.callout p {
font-family: "IBM Plex Mono", monospace;
margin: 0;
}
.callout a {
border-bottom: 3px solid #fff;
}
.callout a:hover {
background-color: #fff;
color: var(--callouctcolor);
}
.site-description {
display: flex;
justify-content: space-between;
}
.tags li::before {
content: "- ";
}
.tags a {
border-bottom: 3px solid var(--maincolor);
}
.tags a:hover {
color: white;
background-color: var(--hovercolor);
}
svg {
max-height: 15px;
}
.soc:hover {
color: white;
}
.draft-label {
color: var(--bordercl);
text-decoration: none;
padding: 2px 4px;
border-radius: 4px;
margin-left: 6px;
background-color: #f9f2f4;
}
.highlight {
position: relative;
-webkit-overflow-scrolling: touch;
}
.highlight pre code[class*="language-"] {
-webkit-overflow-scrolling: touch;
}
.highlight pre code[class*="language-"]::before {
background: black;
border-radius: 0 0 0.25rem 0.25rem;
color: white;
font-size: 12px;
letter-spacing: 0.025rem;
padding: 0.1rem 0.5rem;
position: absolute;
right: 1rem;
text-align: right;
text-transform: uppercase;
top: 0;
}
.highlight pre code[class="language-javaScript"]::before,
.highlight pre code[class="language-js"]::before {
content: "js";
background: #f7df1e;
color: black;
}
.highlight pre code[class*="language-yml"]::before,
.highlight pre code[class*="language-yaml"]::before {
content: "yaml";
background: #f71e6a;
color: white;
}
.highlight pre code[class*="language-shell"]::before,
.highlight pre code[class*="language-bash"]::before,
.highlight pre code[class*="language-sh"]::before {
content: "shell";
background: green;
color: white;
}
.highlight pre code[class*="language-json"]::before {
content: "json";
background: dodgerblue;
color: #000000;
}
.highlight pre code[class*="language-python"]::before,
.highlight pre code[class*="language-py"]::before {
content: "py";
background: blue;
color: yellow;
}
.highlight pre code[class*="language-css"]::before {
content: "css";
background: cyan;
color: black;
}
.highlight pre code[class*="language-go"]::before {
content: "Go";
background: cyan;
color: royalblue;
}
.highlight pre code[class*="language-md"]::before,
.highlight pre code[class*="language-md"]::before {
content: "Markdown";
background: royalblue;
color: whitesmoke;
}
/* table */
table {
border-spacing: 0;
border-collapse: collapse;
}
table th {
padding: 6px 13px;
border: 1px solid #dfe2e5;
font-size: large;
}
table td {
padding: 6px 13px;
border: 1px solid #dfe2e5;
}

View File

@@ -0,0 +1,3 @@
div.code-toolbar{position:relative}div.code-toolbar>.toolbar{opacity:0;position:absolute;right:.2em;top:.3em;transition:opacity .3s ease-in-out;z-index:10}div.code-toolbar:hover>.toolbar{opacity:1}div.code-toolbar:focus-within>.toolbar{opacity:1}div.code-toolbar>.toolbar>.toolbar-item{display:inline-block}div.code-toolbar>.toolbar>.toolbar-item>a{cursor:pointer}div.code-toolbar>.toolbar>.toolbar-item>button{background:none;border:0;color:inherit;font:inherit;line-height:normal;overflow:visible;padding:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}div.code-toolbar>.toolbar>.toolbar-item>a,div.code-toolbar>.toolbar>.toolbar-item>button,div.code-toolbar>.toolbar>.toolbar-item>span{background:#f5f2f0;background:hsla(0,0%,88%,.2);border-radius:.5em;box-shadow:0 2px 0 0 rgba(0,0,0,.2);color:#bbb;font-size:.8em;padding:0 .5em}div.code-toolbar>.toolbar>.toolbar-item>a:focus,div.code-toolbar>.toolbar>.toolbar-item>a:hover,div.code-toolbar>.toolbar>.toolbar-item>button:focus,div.code-toolbar>.toolbar>.toolbar-item>button:hover,div.code-toolbar>.toolbar>.toolbar-item>span:focus,div.code-toolbar>.toolbar>.toolbar-item>span:hover{color:inherit;-webkit-text-decoration:none;text-decoration:none}pre[class*=language-].line-numbers{counter-reset:linenumber;padding-left:3.8em;position:relative}pre[class*=language-].line-numbers>code{position:relative;white-space:inherit}.line-numbers .line-numbers-rows{border-right:1px solid #999;font-size:100%;left:-3.8em;letter-spacing:-1px;pointer-events:none;position:absolute;top:0;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:3em}.line-numbers-rows>span{counter-increment:linenumber;display:block}.line-numbers-rows>span:before{color:#999;content:counter(linenumber);display:block;padding-right:.8em;text-align:right}.command-line-prompt{border-right:1px solid #999;display:block;float:left;font-size:100%;letter-spacing:-1px;margin-right:1em;pointer-events:none;text-align:right;-webkit-user-select:none;-moz-user-select:none;user-select:none}.command-line-prompt>span:before{content:" ";display:block;opacity:.7;padding-right:.8em}.command-line-prompt>span[data-user]:before{content:"[" attr(data-user) "@" attr(data-host) "] $"}.command-line-prompt>span[data-user=root]:before{content:"[" attr(data-user) "@" attr(data-host) "] #"}.command-line-prompt>span[data-prompt]:before{content:attr(data-prompt)}.command-line-prompt>span[data-continuation-prompt]:before{content:attr(data-continuation-prompt)}.command-line span.token.output{opacity:.7}pre.diff-highlight>code .token.deleted:not(.prefix),pre>code.diff-highlight .token.deleted:not(.prefix){background-color:rgba(255,0,0,.1);color:inherit;display:block}pre.diff-highlight>code .token.inserted:not(.prefix),pre>code.diff-highlight .token.inserted:not(.prefix){background-color:rgba(0,255,128,.1);color:inherit;display:block}
/*! MIT License | github.com/schnerring/hugo-theme-gruvbox */