fixing gitignore
This commit is contained in:
8
assets/styles/bigger-picture.min.css
vendored
Normal file
8
assets/styles/bigger-picture.min.css
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Minified by jsDelivr using clean-css v5.3.2.
|
||||
* Original file: /npm/bigger-picture@1.1.19/dist/bigger-picture.css
|
||||
*
|
||||
* Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
|
||||
*/
|
||||
@keyframes bp-fadein{from{opacity:.01}to{opacity:1}}@keyframes bp-bar{from{transform:translateX(-100%)}to{transform:translateX(0)}}@keyframes bp-o{from{transform:rotate(0)}to{transform:rotate(360deg)}}.bp-wrap{top:0;left:0;width:100%;height:100%;position:fixed;z-index:999;contain:strict;touch-action:none;-webkit-tap-highlight-color:transparent}.bp-wrap>div:first-child{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.75);animation:bp-fadein .48s cubic-bezier(.215,.61,.355,1)}.bp-vid audio{position:absolute;left:14px;width:calc(100% - 28px);bottom:14px;height:50px}.bp-inner{top:0;left:0;width:100%;height:100%;position:absolute;display:flex}.bp-html{display:contents}.bp-html>:first-child{margin:auto}.bp-img-wrap{top:0;left:0;width:100%;height:100%;position:absolute;contain:strict}.bp-img-wrap .bp-canzoom{cursor:zoom-in}.bp-img-wrap .bp-drag{cursor:grabbing}.bp-close{contain:layout size}.bp-img{position:absolute;top:50%;left:50%;user-select:none;background-size:100% 100%}.bp-img div,.bp-img img{position:absolute;top:0;left:0;width:100%;height:100%}.bp-img .bp-o{display:none}.bp-zoomed .bp-img:not(.bp-drag){cursor:grab}.bp-zoomed .bp-cap{opacity:0;animation:none!important}.bp-zoomed.bp-small .bp-controls{opacity:0}.bp-zoomed.bp-small .bp-controls button{pointer-events:none}.bp-controls{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;text-align:left;transition:opacity .3s;animation:bp-fadein .3s}.bp-controls button{pointer-events:auto;cursor:pointer;position:absolute;border:0;background:rgba(0,0,0,.15);opacity:.9;transition:all .1s;contain:content}.bp-controls button:hover{background-color:rgba(0,0,0,.2);opacity:1}.bp-controls svg{fill:#fff}.bp-count{position:absolute;color:rgba(255,255,255,.9);line-height:1;margin:16px;height:50px;width:100px}.bp-next,.bp-prev{top:50%;right:0;margin-top:-32px;height:64px;width:58px;border-radius:3px 0 0 3px}.bp-next:hover:before,.bp-prev:hover:before{transform:translateX(-2px)}.bp-next:before,.bp-prev:before{content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z'/%3E%3C/svg%3E");position:absolute;left:7px;top:9px;width:46px;transition:all .2s}.bp-prev{right:auto;left:0;transform:scalex(-1)}.bp-x{top:0;right:0;height:55px;width:58px;border-radius:0 0 0 3px}.bp-x:before{content:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='%23fff'%3E%3Cpath d='M24 10l-2-2-6 6-6-6-2 2 6 6-6 6 2 2 6-6 6 6 2-2-6-6z'/%3E%3C/svg%3E");position:absolute;width:37px;top:8px;right:10px}.bp-if,.bp-vid{position:relative;margin:auto;background:#000;background-size:100% 100%}.bp-if div,.bp-if iframe,.bp-if video,.bp-vid div,.bp-vid iframe,.bp-vid video{top:0;left:0;width:100%;height:100%;position:absolute;border:0}.bp-load{display:flex;background-size:100% 100%;overflow:hidden;z-index:1}.bp-bar{position:absolute;top:0;left:0;height:3px;width:100%;transform:translateX(-100%);background:rgba(255,255,255,.9);border-radius:0 3px 3px 0;animation:bp-bar 4s both}.bp-o,.bp-o:after{border-radius:50%;width:90px;height:90px}.bp-o{margin:auto;border:10px solid rgba(255,255,255,.2);border-left-color:rgba(255,255,255,.9);animation:bp-o 1s infinite linear}.bp-cap{position:absolute;bottom:2%;background:rgba(9,9,9,.8);color:rgba(255,255,255,.9);border-radius:4px;max-width:95%;line-height:1.3;padding:.6em 1.2em;left:50%;transform:translateX(-50%);width:fit-content;width:-moz-fit-content;display:table;transition:opacity .3s;animation:bp-fadein .2s}.bp-cap a{color:inherit}.bp-inline{position:absolute}.bp-lock{overflow-y:hidden}.bp-lock body{overflow:scroll}.bp-noclose .bp-x{display:none}.bp-noclose:not(.bp-zoomed){touch-action:pan-y}.bp-noclose:not(.bp-zoomed) .bp-img-wrap{cursor:zoom-in}@media (prefers-reduced-motion){.bp-wrap *{animation-duration:0s!important}}@media (max-width:500px){.bp-x{height:47px;width:47px}.bp-x:before{width:34px;top:6px;right:6px}.bp-next,.bp-prev{margin-top:-27px;height:54px;width:45px}.bp-next:before,.bp-prev:before{top:7px;left:2px;width:43px}.bp-o,.bp-o:after{border-width:6px;width:60px;height:60px}.bp-count{margin:12px 10px}}
|
||||
/*# sourceMappingURL=/sm/15e96278e1e731ce40eef8d6284cefc81b81dda67c3a0aa386ec893f183bd57f.map */
|
||||
118
assets/styles/comments.css
Normal file
118
assets/styles/comments.css
Normal file
@@ -0,0 +1,118 @@
|
||||
.comments {
|
||||
margin-top: 4rem;
|
||||
padding-top: 2rem;
|
||||
border-top: 1px solid var(--border-muted, #ddd);
|
||||
}
|
||||
|
||||
.comments h2 {
|
||||
margin: 0 0 1rem 0;
|
||||
font-size: 1.4rem;
|
||||
}
|
||||
|
||||
|
||||
.comments-list {
|
||||
margin: 1.5rem 0 2rem;
|
||||
}
|
||||
|
||||
.comments-empty {
|
||||
font-style: italic;
|
||||
color: var(--text-muted, #777);
|
||||
}
|
||||
|
||||
|
||||
.comment {
|
||||
margin-bottom: 1.5rem;
|
||||
padding-bottom: 1.25rem;
|
||||
border-bottom: 1px solid var(--border-muted, #eee);
|
||||
}
|
||||
|
||||
.comment:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.comment strong {
|
||||
display: block;
|
||||
font-weight: 600;
|
||||
margin-bottom: 0.25rem;
|
||||
}
|
||||
|
||||
.comment p {
|
||||
margin: 0.25rem 0 0.5rem;
|
||||
}
|
||||
|
||||
.comment-date {
|
||||
display: block;
|
||||
font-size: 0.8rem;
|
||||
color: var(--text-muted, #777);
|
||||
}
|
||||
|
||||
.comment-children {
|
||||
margin-top: 1rem;
|
||||
margin-left: 1.25rem;
|
||||
padding-left: 1rem;
|
||||
border-left: 2px solid var(--border-muted, #ddd);
|
||||
}
|
||||
|
||||
.comment-reply {
|
||||
margin-top: 0.4rem;
|
||||
padding: 0;
|
||||
font-size: 0.85rem;
|
||||
|
||||
background: none;
|
||||
border: none;
|
||||
color: var(--text-muted, #555);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.comment-reply:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.comment-form {
|
||||
max-width: 40rem;
|
||||
}
|
||||
|
||||
.comment-author {
|
||||
display: block;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.comment-form span {
|
||||
display: block;
|
||||
margin-bottom: 0.25rem;
|
||||
font-size: 0.85rem;
|
||||
color: var(--fg);
|
||||
}
|
||||
|
||||
.comment-form input,
|
||||
.comment-form textarea {
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
|
||||
font-family: inherit;
|
||||
font-size: 1rem;
|
||||
|
||||
color: var(--fg);
|
||||
background: var(--bg);
|
||||
border: 1px solid var(--border-muted, #ccc);
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.comment-form textarea {
|
||||
min-height: 6rem;
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
.comment-form button {
|
||||
margin-top: 0.75rem;
|
||||
padding: 0.45rem 1rem;
|
||||
|
||||
font-family: inherit;
|
||||
font-size: 0.9rem;
|
||||
|
||||
color: var(--fg);
|
||||
|
||||
background: transparent;
|
||||
border: 1px solid var(--border-muted, #aaa);
|
||||
cursor: pointer;
|
||||
}
|
||||
183
assets/styles/kanban.css
Normal file
183
assets/styles/kanban.css
Normal file
@@ -0,0 +1,183 @@
|
||||
#kanban-board {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
||||
gap: 1rem;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
|
||||
.kanban-column {
|
||||
background: #f8f9fa;
|
||||
border-radius: 8px;
|
||||
padding: 0.6rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.kanban-column h3 {
|
||||
text-align: center;
|
||||
font-size: 0.9rem;
|
||||
margin: 0.4rem 0 0.6rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.kanban-list {
|
||||
flex-grow: 1;
|
||||
min-height: 3rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.kanban-card {
|
||||
background: var(--bg);
|
||||
border-radius: 6px;
|
||||
padding: 0.5rem 0.6rem;
|
||||
font-size: 0.85rem;
|
||||
cursor: grab;
|
||||
box-shadow: 0 1px 2px rgba(0,0,0,0.1);
|
||||
color: var(--fg);
|
||||
}
|
||||
|
||||
.kanban-card.dragging {
|
||||
opacity: 0.5;
|
||||
cursor: grabbing;
|
||||
}
|
||||
|
||||
|
||||
.kanban-column[data-state="completed"] {
|
||||
background: var(--kb-bg-completed);
|
||||
}
|
||||
|
||||
.kanban-column[data-state="manager_review"] {
|
||||
background: var(--kb-bg-manager-review);
|
||||
}
|
||||
|
||||
.kanban-column[data-state="in_progress"] {
|
||||
background: var(--kb-bg-in-progress);
|
||||
}
|
||||
|
||||
.kanban-column[data-state="not_started"] {
|
||||
background: var(--kb-bg-not-started);
|
||||
}
|
||||
|
||||
.kanban-column[data-state="comments"] {
|
||||
background: var(--kb-bg-comments);
|
||||
}
|
||||
|
||||
|
||||
#mobile-move-panel {
|
||||
display: none;
|
||||
max-width: 22rem;
|
||||
margin: 1.5rem auto 0 auto;
|
||||
padding: 1rem;
|
||||
|
||||
box-sizing: border-box;
|
||||
|
||||
border: 1px solid var(--border-color, #ddd);
|
||||
border-radius: 0.5rem;
|
||||
background: var(--bg);
|
||||
color: var(--fg);
|
||||
|
||||
overflow: hidden;
|
||||
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
|
||||
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
#mobile-move-panel * {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
#mobile-move-panel h4 {
|
||||
margin: 0 0 0.75rem 0;
|
||||
font-size: 0.95rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
#mobile-move-panel label {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0.35rem;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#mobile-move-panel select,
|
||||
#mobile-move-panel button {
|
||||
font-size: 0.9rem;
|
||||
padding: 0.4rem 0.5rem;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
#mobile-move-panel button {
|
||||
margin-top: 0.5rem;
|
||||
align-self: flex-start;
|
||||
}
|
||||
|
||||
#mobile-move-panel select {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
|
||||
padding: 0.45rem 2rem 0.45rem 0.6rem;
|
||||
font-size: 0.9rem;
|
||||
line-height: 1.2;
|
||||
|
||||
border: 1px solid var(--border-color, #ccc);
|
||||
border-radius: 0.4rem;
|
||||
background-color: var(--bg, #fff);
|
||||
|
||||
appearance: none;
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
|
||||
background-image:
|
||||
linear-gradient(45deg, transparent 50%, #666 50%),
|
||||
linear-gradient(135deg, #666 50%, transparent 50%),
|
||||
linear-gradient(to right, transparent, transparent);
|
||||
|
||||
background-position:
|
||||
calc(100% - 1.2rem) 50%,
|
||||
calc(100% - 0.9rem) 50%,
|
||||
100% 0;
|
||||
|
||||
background-size:
|
||||
6px 6px,
|
||||
6px 6px,
|
||||
2.5rem 100%;
|
||||
|
||||
background-repeat: no-repeat;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
#mobile-move-panel select:focus {
|
||||
outline: none;
|
||||
border-color: #666;
|
||||
box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08);
|
||||
}
|
||||
#mobile-move-panel button {
|
||||
width: 100%;
|
||||
padding: 0.5rem 0.6rem;
|
||||
font-size: 0.9rem;
|
||||
|
||||
border-radius: 0.4rem;
|
||||
border: 1px solid #888;
|
||||
background: #f8f8f8;
|
||||
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#mobile-move-panel button:active {
|
||||
background: #eee;
|
||||
}
|
||||
#mobile-move-panel select:disabled {
|
||||
background-color: #f3f3f3;
|
||||
color: #555;
|
||||
border-color: #ccc;
|
||||
opacity: 1;
|
||||
cursor: default;
|
||||
background-image: none;
|
||||
}
|
||||
106
assets/styles/media.css
Normal file
106
assets/styles/media.css
Normal file
@@ -0,0 +1,106 @@
|
||||
@media (max-width: 600px){
|
||||
.banner-header{ flex-direction: column; align-items: center; text-align: center; }
|
||||
.banner-logo{ margin: 0 0 .5rem 0; }
|
||||
nav{ flex-wrap: wrap; justify-content: center; gap: .5rem; font-size: 1rem; }
|
||||
|
||||
|
||||
.theme-toggle {
|
||||
position: static;
|
||||
order: 2;
|
||||
margin-left: .5rem;
|
||||
padding: .3rem .6rem;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.banner-header {
|
||||
flex-wrap: wrap;
|
||||
justify-content: center;
|
||||
}
|
||||
.banner-header nav {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
body.no-sidenotes {
|
||||
margin-left: 1em;
|
||||
margin-right: 1em;
|
||||
}
|
||||
|
||||
#mobile-move-panel {
|
||||
display: block;
|
||||
}
|
||||
|
||||
}
|
||||
@media (prefers-color-scheme: dark){
|
||||
:root:not([data-theme="light"]){
|
||||
--bg: #0f1115;
|
||||
--fg: #e6e6e6;
|
||||
--link: #8ab4ff;
|
||||
--heading: #9ecbff;
|
||||
--code-bg: #1a1d24;
|
||||
|
||||
--note-color: #c2c7cf;
|
||||
--note-bg: transparent;
|
||||
|
||||
--border: #2a2f3a;
|
||||
--chip-bg: #1f2330;
|
||||
--chip-fg: #cfd3da;
|
||||
--muted: #a9b0bb;
|
||||
}
|
||||
.countdown-wrap {
|
||||
color: var(--fg, #ddd);
|
||||
}
|
||||
time.countdown {
|
||||
color: var(--accent, #7abfff);
|
||||
background: color-mix(in srgb, var(--accent, #7abfff) 15%, transparent);
|
||||
box-shadow: 0 0 6px rgba(255,255,255,0.05);
|
||||
}
|
||||
time.countdown.expired {
|
||||
color: #777;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 1250px){
|
||||
#preamble.status{
|
||||
padding-right: var(--body-pad);
|
||||
}
|
||||
|
||||
#content.content{
|
||||
padding-right: var(--body-pad);
|
||||
}
|
||||
.sidenote,
|
||||
.marginnote{
|
||||
float: none;
|
||||
clear: both;
|
||||
width: auto;
|
||||
display: block;
|
||||
margin: 0.5rem 0 0.75rem;
|
||||
padding-left: 0.75rem;
|
||||
border-left: 3px solid rgba(0,0,0,.08);
|
||||
margin-right: 0;
|
||||
}
|
||||
.fullwidth{
|
||||
max-width: calc(100vw - 2 * var(--body-pad));
|
||||
}
|
||||
.sidenote, .marginnote{
|
||||
border-left: 3px solid color-mix(in oklab, var(--fg) 12%, transparent);
|
||||
}
|
||||
.sidenote .mn-img,
|
||||
.marginnote .mn-img{
|
||||
border-color: color-mix(in oklab, var(--fg) 12%, transparent);
|
||||
}
|
||||
|
||||
#table-of-contents{
|
||||
float: none;
|
||||
position: static;
|
||||
width: auto;
|
||||
margin: 0 0 1rem;
|
||||
padding: .5rem .75rem;
|
||||
border-right: 0;
|
||||
border-left: 3px solid color-mix(in oklab, var(--fg) 12%, transparent);
|
||||
background: color-mix(in oklab, var(--bg) 96%, var(--fg) 4%);
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
}
|
||||
213
assets/styles/misc.css
Normal file
213
assets/styles/misc.css
Normal file
@@ -0,0 +1,213 @@
|
||||
|
||||
#updated{
|
||||
font-size: .8rem; color: var(--fg);
|
||||
margin: .5rem 0 1rem; font-style: italic;
|
||||
}
|
||||
|
||||
.sidenote,
|
||||
.marginnote{
|
||||
float: right;
|
||||
width: var(--margin);
|
||||
/* margin-right: calc(-1 * ( (95vw - var(--content)) / 2 )); */
|
||||
margin-right: calc(-1 * ((100vi - var(--content)) / 2));
|
||||
padding-right: var(--gutter);
|
||||
overflow-wrap: break-word;
|
||||
word-wrap: break-word;
|
||||
word-break: break-word;
|
||||
margin-top: .3rem;
|
||||
margin-bottom: .6rem;
|
||||
font-size: .95rem;
|
||||
line-height: 1.35;
|
||||
color: var(--note-color);
|
||||
background: var(--note-bg);
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.sidenote,
|
||||
.marginnote{
|
||||
display: block;
|
||||
clear: right;
|
||||
}
|
||||
|
||||
.sidenote + .sidenote,
|
||||
.sidenote + .marginnote,
|
||||
.marginnote + .sidenote,
|
||||
.marginnote + .marginnote{
|
||||
margin-top: .4rem;
|
||||
}
|
||||
|
||||
.footnote-sidenote::before{
|
||||
content: attr(data-fn) " ";
|
||||
font-size: 0.85em;
|
||||
vertical-align: super;
|
||||
margin-right: 0.2rem;
|
||||
opacity: 0.85;
|
||||
}
|
||||
|
||||
body{ counter-reset: sidenote-counter; }
|
||||
.sidenote-number:after{
|
||||
counter-increment: sidenote-counter;
|
||||
content: counter(sidenote-counter);
|
||||
font-size: .85em;
|
||||
vertical-align: super;
|
||||
margin-left: .15rem;
|
||||
}
|
||||
|
||||
.margin-toggle{
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
/* #content .figure, */
|
||||
/* #content .org-src-container, */
|
||||
/* #content img.fullwidth{ */
|
||||
/* //clear: both; */
|
||||
/* } */
|
||||
|
||||
.fullwidth{
|
||||
display: block;
|
||||
position: relative;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
height: auto;
|
||||
margin: 1.25rem 0 1.75rem;
|
||||
width: 100%;
|
||||
max-width: min(
|
||||
calc(var(--content) + var(--bleed) * 2),
|
||||
var(--fullwidth-cap),
|
||||
calc(100vw - 2 * var(--body-pad))
|
||||
);
|
||||
}
|
||||
.figure .fullwidth{ width: inherit; }
|
||||
.figure figcaption{
|
||||
text-align: center; font-size: .95rem; color: #666; margin-top: .4rem;
|
||||
}
|
||||
|
||||
|
||||
.post-date{ color: pink; font-size: .9em; margin-left: 8px; }
|
||||
|
||||
.post-tag{
|
||||
float: right;
|
||||
display: inline-block;
|
||||
background-color: #f0f0f0;
|
||||
color: #444;
|
||||
border-radius: 5px;
|
||||
padding: 2px 6px;
|
||||
margin-left: 6px;
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
.filetags {
|
||||
margin-top: .5rem;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: .3rem .4rem;
|
||||
font-size: .9rem;
|
||||
color: #666;
|
||||
}
|
||||
.filetags .tag {
|
||||
display: inline-block;
|
||||
padding: .1rem .45rem;
|
||||
border-radius: .5rem;
|
||||
background: #f0f0f0;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.figure figcaption{ color: var(--muted); }
|
||||
.post-tag{
|
||||
background-color: var(--chip-bg);
|
||||
color: var(--chip-fg);
|
||||
}
|
||||
|
||||
.org-src-container{
|
||||
border: 1px solid var(--border);
|
||||
box-shadow: 3px 3px 3px rgba(0,0,0,.15);
|
||||
}
|
||||
|
||||
:not(pre) > code{
|
||||
border: 1px solid var(--border);
|
||||
background-color: var(--code-bg);
|
||||
color: var(--fg);
|
||||
}
|
||||
|
||||
.theme-toggle {
|
||||
position: fixed;
|
||||
top: 0.75rem;
|
||||
right: 1rem;
|
||||
z-index: 1000;
|
||||
border: 1px solid var(--border, #ccc);
|
||||
background: transparent;
|
||||
color: var(--fg);
|
||||
padding: .35rem .7rem;
|
||||
border-radius: 6px;
|
||||
cursor: pointer;
|
||||
font: inherit;
|
||||
transition: background-color 0.3s, color 0.3s, border-color 0.3s;
|
||||
}
|
||||
.theme-toggle:hover {
|
||||
background-color: rgba(0,0,0,0.05);
|
||||
color: var(--heading);
|
||||
border-color: var(--heading);
|
||||
}
|
||||
|
||||
|
||||
|
||||
.sidenote .mn-fig,
|
||||
.marginnote .mn-fig{
|
||||
margin: 0;
|
||||
}
|
||||
.sidenote .mn-img,
|
||||
.marginnote .mn-img{
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
border: 1px solid var(--border, #d7d7d7);
|
||||
border-radius: 6px;
|
||||
background: var(--bg);
|
||||
}
|
||||
.sidenote .mn-fig figcaption,
|
||||
.marginnote .mn-fig figcaption{
|
||||
margin-top: .35rem;
|
||||
font-size: .85rem;
|
||||
color: var(--muted, #666);
|
||||
line-height: 1.35;
|
||||
}
|
||||
|
||||
|
||||
.sidenote img {
|
||||
margin-top: 0.35rem;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.countdown-wrap {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 1em 0;
|
||||
font-family: system-ui, sans-serif;
|
||||
font-size: 1.2rem;
|
||||
color: var(--fg, #222);
|
||||
background: var(--bg-alt, transparent);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
time.countdown {
|
||||
font-weight: 600;
|
||||
color: var(--accent, #2a7fff);
|
||||
font-variant-numeric: tabular-nums;
|
||||
letter-spacing: 0.02em;
|
||||
padding: 0.25em 0.6em;
|
||||
border-radius: 0.5em;
|
||||
background: color-mix(in srgb, var(--accent, #2a7fff) 10%, transparent);
|
||||
box-shadow: 0 0 8px rgba(0,0,0,0.1);
|
||||
transition: color 0.3s ease, background 0.3s ease;
|
||||
}
|
||||
|
||||
time.countdown.expired {
|
||||
color: #999;
|
||||
background: none;
|
||||
font-weight: 500;
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
72
assets/styles/org-syntax.css
Normal file
72
assets/styles/org-syntax.css
Normal file
@@ -0,0 +1,72 @@
|
||||
.org-comment { color: #b22222; }
|
||||
.org-string { color: #8b2252; }
|
||||
.org-keyword { color: #a020f0; }
|
||||
.org-builtin { color: #483d8b; }
|
||||
.org-constant { color: #008b8b; }
|
||||
.org-function-name { color: #0000ff; }
|
||||
.org-variable-name { color: sienna; }
|
||||
.org-type { color: #228b22; }
|
||||
.org-preprocessor { color: #483d8b; }
|
||||
.org-doc { color: #8b2252; }
|
||||
.org-warning { color: #ff8c00; font-weight: 700; }
|
||||
|
||||
:not(pre) > code{
|
||||
padding: 2px 5px; margin: 0 1px;
|
||||
border: 1px solid #ddd; border-radius: 3px;
|
||||
background-clip: padding-box;
|
||||
color: #333; font-size: 80%;
|
||||
}
|
||||
pre {
|
||||
background-color: var(--bg);
|
||||
}
|
||||
|
||||
.org-src-container{
|
||||
border: 1px solid #ccc;
|
||||
box-shadow: 3px 3px 3px #eee;
|
||||
font-family: Lucida Console, monospace;
|
||||
font-size: 80%;
|
||||
margin: 1em auto;
|
||||
padding: .1em .5em;
|
||||
position: relative;
|
||||
}
|
||||
.org-src-container > pre{ overflow: auto; }
|
||||
|
||||
.org-src-container > pre:before{
|
||||
display: block; position: absolute; top: 0; right: 0;
|
||||
background-color: #b3b3b3; color: #fff;
|
||||
padding: 0 .5em; border-bottom-left-radius: 8px; border: 0;
|
||||
font-size: 80%;
|
||||
}
|
||||
.org-src-container > pre.src-bash:before { content: "bash"; }
|
||||
.org-src-container > pre.src-sh:before { content: "sh"; }
|
||||
.org-src-container > pre.src-shell:before { content: "shell"; }
|
||||
.org-src-container > pre.src-python:before { content: "Python"; }
|
||||
.org-src-container > pre.src-emacs-lisp:before { content: "Emacs Lisp"; }
|
||||
.org-src-container > pre.src-js:before,
|
||||
.org-src-container > pre.src-javascript:before { content: "Javascript"; }
|
||||
.org-src-container > pre.src-typescript:before { content: "Typescript"; }
|
||||
.org-src-container > pre.src-html:before { content: "HTML"; }
|
||||
.org-src-container > pre.src-css:before { content: "CSS"; }
|
||||
.org-src-container > pre.src-c:before { content: "C"; }
|
||||
.org-src-container > pre.src-cpp:before { content: "C++"; }
|
||||
.org-src-container > pre.src-java:before { content: "Java"; }
|
||||
.org-src-container > pre.src-rust:before { content: "Rust"; }
|
||||
.org-src-container > pre.src-R:before { content: "R"; }
|
||||
|
||||
.copy-btn{
|
||||
position: absolute; top: .4em; right: .4em;
|
||||
background-color: var(--code-bg); color: var(--heading);
|
||||
border: 1px solid var(--heading); border-radius: 4px;
|
||||
padding: .2em .6em; font-size: .8rem; cursor: pointer; z-index: 10;
|
||||
transition: background-color .3s;
|
||||
}
|
||||
.copy-btn:hover{ background-color: var(--heading); color: var(--code-bg); }
|
||||
|
||||
pre.src::before{ content: none !important; }
|
||||
pre.src{
|
||||
padding: 1.5em 1em 1em;
|
||||
font-family: "Fira Mono","Courier New",monospace;
|
||||
font-size: .9rem; line-height: 1.4;
|
||||
overflow-x: auto; white-space: pre-wrap;
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
53
assets/styles/toc.css
Normal file
53
assets/styles/toc.css
Normal file
@@ -0,0 +1,53 @@
|
||||
#table-of-contents{
|
||||
float: left;
|
||||
width: var(--margin);
|
||||
/* margin-left: calc(-1 * ( (95vw - var(--content)) / 2 )); */
|
||||
margin-left: calc(-1 * ((100vi - var(--content)) / 2));
|
||||
padding-left: var(--gutter);
|
||||
box-sizing: border-box;
|
||||
|
||||
position: sticky;
|
||||
top: 5.5rem;
|
||||
max-height: calc(100vh - 6rem);
|
||||
overflow: auto;
|
||||
|
||||
font-size: .95rem;
|
||||
border-right: 1px solid var(--border, #d7d7d7);
|
||||
padding-top: .25rem;
|
||||
}
|
||||
|
||||
#table-of-contents > h2{
|
||||
margin: 0 0 .5rem;
|
||||
font-size: 1rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: .02em;
|
||||
color: var(--muted, #666);
|
||||
}
|
||||
|
||||
#text-table-of-contents ul{
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding-left: 0;
|
||||
}
|
||||
#text-table-of-contents li{
|
||||
margin: .25rem 0;
|
||||
}
|
||||
#text-table-of-contents a{
|
||||
text-decoration: none;
|
||||
}
|
||||
#text-table-of-contents a:hover{
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
#text-table-of-contents ul ul { margin-left: .75rem; opacity: .9; }
|
||||
|
||||
h2[id], h3[id], h4[id] { scroll-margin-top: 6.5rem; }
|
||||
|
||||
#text-table-of-contents a.is-active{
|
||||
/* font-weight: 700; */
|
||||
text-decoration: underline;
|
||||
background-color: var(--active-toc);
|
||||
/* border: 1px solid var(--border, #ccc); */
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user