mirror of
https://github.com/davegallant/davegallant.github.io.git
synced 2025-08-14 12:20:19 +00:00
180 lines
3.7 KiB
CSS
180 lines
3.7 KiB
CSS
/*! purgecss start ignore */
|
|
|
|
/* Prism Plugins */
|
|
|
|
/*prismjs/plugins/toolbar/prism-toolbar.css*/
|
|
|
|
div.code-toolbar {
|
|
position: relative;
|
|
}
|
|
|
|
div.code-toolbar > .toolbar {
|
|
position: absolute;
|
|
z-index: 10;
|
|
top: .3em;
|
|
right: .2em;
|
|
transition: opacity 0.3s ease-in-out;
|
|
opacity: 0;
|
|
}
|
|
|
|
div.code-toolbar:hover > .toolbar {
|
|
opacity: 1;
|
|
}
|
|
|
|
/* Separate line b/c rules are thrown out if selector is invalid.
|
|
IE11 and old Edge versions don't support :focus-within. */
|
|
|
|
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; /* for button */
|
|
-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 {
|
|
color: #bbb;
|
|
font-size: .8em;
|
|
padding: 0 .5em;
|
|
background: #f5f2f0;
|
|
background: rgba(224, 224, 224, 0.2);
|
|
box-shadow: 0 2px 0 0 rgba(0,0,0,0.2);
|
|
border-radius: .5em;
|
|
}
|
|
|
|
div.code-toolbar > .toolbar > .toolbar-item > a:hover,
|
|
div.code-toolbar > .toolbar > .toolbar-item > a:focus,
|
|
div.code-toolbar > .toolbar > .toolbar-item > button:hover,
|
|
div.code-toolbar > .toolbar > .toolbar-item > button:focus,
|
|
div.code-toolbar > .toolbar > .toolbar-item > span:hover,
|
|
div.code-toolbar > .toolbar > .toolbar-item > span:focus {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
/*prismjs/plugins/command-line/prism-command-line.css*/
|
|
|
|
.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;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
}
|
|
|
|
.command-line-prompt > span:before {
|
|
opacity: 0.7;
|
|
content: ' ';
|
|
display: block;
|
|
padding-right: 0.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 {
|
|
/* Make shell output lines a bit lighter to distinguish them from shell commands */
|
|
opacity: 0.7;
|
|
}
|
|
|
|
/* Prism Font */
|
|
|
|
code,
|
|
kbd,
|
|
code[class*="language-"],
|
|
pre[class*="language-"] {
|
|
font-family: var(--font-monospace);
|
|
}
|
|
|
|
/*! purgecss end ignore */
|
|
|
|
/* Default license header for non-vendor CSS source code that follows */
|
|
|
|
/*! MIT License | github.com/schnerring/hugo-theme-gruvbox */
|
|
|
|
/*
|
|
Bootstrap 5 breakpoints
|
|
See: https://getbootstrap.com/docs/5.0/layout/breakpoints/#available-breakpoints
|
|
*/
|
|
|
|
@custom-media --sm (min-width: 576px);
|
|
|
|
@custom-media --md (min-width: 768px);
|
|
|
|
@custom-media --lg (min-width: 992px);
|
|
|
|
@custom-media --xl (min-width: 1200px);
|
|
|
|
@custom-media --xxl (min-width: 1400px);
|
|
|
|
footer {
|
|
align-items: center;
|
|
color: var(--fg3);
|
|
display: flex;
|
|
font-family: var(--font-monospace);
|
|
font-size: 0.8rem;
|
|
justify-content: center;
|
|
padding-bottom: 0.5rem;
|
|
padding-top: 2rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.pagination {
|
|
display: flex;
|
|
margin-top: 2rem;
|
|
}
|
|
|
|
.pagination__button {
|
|
color: var(--primary-alt);
|
|
font-family: var(--font-monospace);
|
|
font-size: 1.125rem;
|
|
}
|
|
|
|
.pagination__button:hover {
|
|
color: var(--primary);
|
|
}
|
|
|
|
.pagination__button--next {
|
|
margin-left: auto;
|
|
}
|