5 * @copyright 2018 - Ken Grimes
6 * @summmary Speedy Theme stylings for very fast rendering across many devices.
9 /* Color Definitions */
12 --color-bg-dark: #090909;
13 --color-bg-darker: #000;
14 --color-text: #eeeeee;
15 --color-text-link: #dbdbdb;
16 --color-text-active: #cccccc;
17 --color-header: #9b7045;
18 --color-header-dark: #8b6035;
19 --color-header-contrast: #eeeeee;
22 font-size: calc(12pt + 0.2vw);
23 font-family: Georgia, Cambria, "Times New Roman", Times, serif;
25 letter-spacing: -.003em;
27 background-color: var(--color-bg);
28 color: var(--color-text);
32 font-family: 'Courgette', cursive;
35 color: var(--color-header);
39 /* Common Components */
40 a { color: var(--color-text-link) }
42 a:active { color: var(--color-text-active) }
43 h1 { font-size: 1.66em }
44 h2 { text-decoration: underline; font-size: 1.48em }
45 h3 { font-size: 1.32em }
46 h4 { font-size: 1.24em }
47 h1, h2, h3, h4 { color: var(--color-header) }
48 .center { text-align: center }
49 .center-justify { display: flex; justify-content: center }
50 .float-right { float: right }
51 .float-left { float: left }
52 pre { display: block; border-radius: 3px; background-color: var(--color-bg-light); box-shadow: 1px 1px 1px black; 100%; line-height: 1.18; }
53 code /* Fix safari code view on IPhone */ { -webkit-text-size-adjust: 100%; overflow-wrap: break-word }
54 table { display: block }
55 article code { border-radius: 3px; background-color: var(--color-bg-light); box-shadow: 1px 1px 1px black }
56 body { margin: 0; padding: 0 }
57 img { max-width: 100% }
62 border-bottom: 1px solid var(--color-header);
63 background: var(--color-bg-darker);
65 padding-right: calc(20vw - 50px);
76 .cbox-hidden:checked ~ .nav-menu {
79 .nav-menu li:last-child {
86 .cbox-hidden:checked ~ .nav-menu li:last-child {
90 .nav-menu li:last-child > label:after {
98 border-width: 5px 5px 0 5px;
99 border-color: #fff transparent transparent transparent;
101 .cbox-hidden:checked ~ .nav-menu li:last-child > label:after {
102 border-width: 0 5px 5px 5px;
103 border-color: transparent transparent #fff transparent;
105 .cbox-hidden:checked ~ .nav-menu {
119 .cbox-hidden:checked ~ .nav-menu ul {
122 .nav-menu li:last-child > label,
123 .nav-menu > ul > li > a {
128 text-decoration: none;
129 color: var(--color-header);
132 .nav-menu > ul > li > a:hover {
133 background: var(--color-header);
134 color: var(--color-text);
139 color: var(--color-header);
140 background: var(--color-bg-darker);
143 border-left: 1vw solid var(--color-bg-darker);
144 border-right: 1vw solid var(--color-bg-darker);
145 border-top: 1px solid var(--color-header);
150 color: var(--color-text);
151 background: var(--color-header);
152 font-family: sans-serif;
159 justify-content: space-around;
173 .footer-info > ul > li {
176 .footer-info > ul i {
177 display: inline-block;
181 transition: all 0.3s ease-in-out;
182 border: 2px solid var(--color-header);
185 .footer-info > ul i:hover {
186 background: var(--color-text);
187 color: var(--color-header);
188 transition: all 0.3s ease-in-out;
193 border-left: 1vw solid var(--color-bg-darker);
194 border-right: 1vw solid var(--color-bg-darker);
195 background: var(--color-bg-dark);
198 background: var(--color-bg-darker);
203 main > article > section {
207 main > article > section:after {
213 background: var(--color-header);
215 main > article > section > * {
219 /* horizontal rule deco */
223 border-width: 1px 20px;
224 border-color: var(--color-header) transparent;
230 justify-content: center;
241 ul.slideshow-border > li {
242 border: 3px solid var(--color-header);
245 ul.slideshow > li img {
248 ul.slideshow > li:first-child {
256 justify-content: space-around;
260 div.speedy-cards > a {
263 text-decoration: none;
272 box-shadow: 2px 1px 2px black;
273 border: 1px solid black;
277 background-color: var(--color-bg-dark);
279 div.speedy-cards > a > div {
285 div.speedy-cards > a > img {
292 background-size: 100% 100%;
294 border: 1px solid black;
296 div.speedy-cards > br {
297 /* Linebreaks are inserted and made invisible to make text browsers and
298 ARIA-readers break between anchors */
306 place-content: center space-around;
311 ul.speedy-list > li {
316 flex-flow: column nowrap;
317 justify-content: center;
325 justify-content: center;
326 text-decoration: none;
329 a.speedy-header > h1 {
334 background-color: var(--color-bg);
335 border: 1px solid black;
341 a.speedy-header > h1 > img {
348 background-size: 64px 64px;
349 border: 1px solid black;
352 /* Single-Page Footer Info */
362 /* List-Page Footer Info & Pagination */
372 ul.pagination > li.disabled {
375 text-decoration: none;
376 pointer-events: none;
380 /* Landscape with large width */
381 /* Header and Nav are fixed to top-left with 192px static width */
382 /* Sections are decorated with borders */
383 /* Box Shadows provide an abomination for flat-design purists */
384 @media screen and (orientation: landscape) and (min-width: 768px) {
393 /* background-color: var(--color-header-contrast); */
398 /* Header and Nav aligned at top with 100% width */
399 /* Nav is sticky - top alignment changed on scroll by JS */
400 /* Sections have no decorations. Instead, section:after pseudo-element makes a
401 horizontal rule between sections */
402 /* Nav SVGs are smaller */
403 @media screen and (orientation:portrait) {
414 @media screen and (max-width: 500px) { .nav-menu > ul > li { flex-basis: 50% } }
415 @media screen and (max-width: 364px) { .nav-menu > ul > li { flex-basis: 100% } }