File clean up and template progress

This commit is contained in:
Peter Krzyzek 2023-06-27 09:23:58 -05:00
parent a90d43108d
commit 99e7a30d40
22805 changed files with 2842 additions and 1355016 deletions

98
assets/css/misc/kg.css Normal file
View file

@ -0,0 +1,98 @@
.kg-card.kg-toggle-card .kg-toggle-heading-text {
font-size: 1.8rem;
font-weight: 700;
}
.has-serif-title .kg-toggle-card .kg-toggle-heading-text {
font-family: var(--font-serif);
}
.kg-card.kg-callout-card {
align-items: baseline;
}
.kg-callout-card-accent a {
text-decoration: underline;
}
blockquote.kg-blockquote-alt {
padding: 0 1.5em;
color: var(--secondary-text-color);
line-height: 1.5;
font-weight: 700;
font-style: normal;
}
.kg-card.kg-button-card .kg-btn {
font-size: 1.05em;
}
.has-serif-title .kg-card.kg-header-card h2.kg-header-card-header {
font-family: var(--font-serif);
}
.has-serif-body .kg-header-card h3.kg-header-card-subheader {
font-family: var(--font-serif);
}
.kg-gallery-image {
cursor: pointer;
}
.kg-image {
margin-right: auto;
margin-left: auto;
}
.kg-embed-card {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
}
.kg-canvas {
display: grid;
grid-template-columns:
[full-start]
minmax(4vw, auto)
[wide-start]
minmax(auto, 140px)
[main-start]
min(850px, calc(100% - 8vw))
[main-end]
minmax(auto, 140px)
[wide-end]
minmax(4vw, auto)
[full-end];
}
.kg-canvas > * {
grid-column: main-start/main-end;
}
.kg-width-wide {
grid-column: wide-start/wide-end;
max-width: 1280px;
width: 100%;
}
.kg-width-full {
width: 100%;
grid-column: full-start/full-end;
}
/* GhostCMS required styles plus fixes */
.kg-width-wide {
max-width: 1280px;
width: 100%;
}
.kg-width-full {
width: 100%;
}
.kg-gallery-row {
display: flex;
}

View file

@ -0,0 +1,3 @@
/* PrismJS 1.28.0
https://prismjs.com/download.html#themes=prism-okaidia&languages=markup+css+clike+javascript+applescript+coffeescript+css-extras+csv+diff+django+docker+git+go+go-module+graphql+handlebars+http+hsts+ignore+javadoclike+jsdoc+js-extras+json+json5+jsonp+jsstacktrace+js-templates+latex+log+markup-templating+nginx+php+properties+puppet+python+jsx+tsx+regex+ruby+rust+scss+sql+iecst+typescript+typoscript */
code[class*=language-],pre[class*=language-]{color:#f8f8f2;background:0 0;text-shadow:0 1px rgba(0,0,0,.3);font-family:Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;font-size:1em;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto;border-radius:.3em}:not(pre)>code[class*=language-],pre[class*=language-]{background:#272822}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#8292a2}.token.punctuation{color:#f8f8f2}.token.namespace{opacity:.7}.token.constant,.token.deleted,.token.property,.token.symbol,.token.tag{color:#f92672}.token.boolean,.token.number{color:#ae81ff}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{color:#a6e22e}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url,.token.variable{color:#f8f8f2}.token.atrule,.token.attr-value,.token.class-name,.token.function{color:#e6db74}.token.keyword{color:#66d9ef}.token.important,.token.regex{color:#fd971f}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}

44
assets/css/misc/toc.css Normal file
View file

@ -0,0 +1,44 @@
@media (min-width: 1300px) {
.gh-toc {
position: sticky; /* On larger screens, TOC will stay in the same spot on the page */
align-self: start;
top: 60px;
grid-column: wide-start / main-start; /* Place the TOC to the left of the content */
transition: margin 300ms ease-in-out;
margin-bottom: 4.8rem;
}
}
@media (max-width: 1299px){
.gh-toc {
display: grid;
grid-template-columns: [full-start] minmax(4vw,auto) [wide-start] minmax(auto,140px) [main-start] min(850px,calc(100% - 8vw)) [main-end] minmax(auto,140px) [wide-end] minmax(4vw,auto) [full-end];
margin-bottom: 20px;
}
.gh-toc ol {
grid-column: main-start/main-end;
}
}
.gh-toc > .toc-list {
position: relative;
overflow: hidden;
max-width: 14vw;
}
.toc-list {
list-style: none;
}
.gh-toc .is-active-link::before {
background-color: var(--ghost-accent-color); /* Defines TOC accent color based on Accent color set in Ghost Admin */
}
.toc-do-sticky {
margin-left: -30vw;
}
.toc-headers h4 {
font-size: 2rem;
}

View file

@ -0,0 +1 @@
.toc{overflow-y:auto}.toc>.toc-list{overflow:hidden;position:relative}.toc>.toc-list li{list-style:none}.js-toc{overflow-y:hidden}.toc-list{margin:0;padding-left:10px}a.toc-link{color:currentColor;height:100%}.is-collapsible{max-height:1000px;overflow:hidden;transition:all 300ms ease-in-out}.is-collapsed{max-height:0}.is-position-fixed{position:fixed !important;top:0}.is-active-link{font-weight:700}.toc-link::before{background-color:#EEE;content:' ';display:inline-block;height:inherit;left:0;margin-top:-1px;position:absolute;width:2px}.is-active-link::before{background-color:#54BC4B}