2020-07-13 21:26:05 +00:00
|
|
|
/*! posts.andrewgioia.com style definitions v1.0.0 */
|
|
|
|
|
|
|
|
// normalize
|
|
|
|
@import "../../node_modules/normalize.css/normalize";
|
|
|
|
|
|
|
|
// sass variables
|
|
|
|
@import "variables";
|
|
|
|
|
|
|
|
:root {
|
|
|
|
--bg-normal: #{$tan-lt};
|
|
|
|
--bg-dark: #{$black-dk};
|
|
|
|
--border-normal: #{$white};
|
|
|
|
--border-dark: #{$black-md};
|
|
|
|
--font-size-base: #{$font-size-base};
|
|
|
|
--link-color-normal: #{$blue-md};
|
|
|
|
--link-color-dark: #{$blue-lt};
|
|
|
|
--text-normal: #{$navy-md};
|
|
|
|
--text-normal-hl: #{$navy-dk};
|
|
|
|
--text-dark: #{$gray};
|
|
|
|
--text-dark-hl: #{$white};
|
|
|
|
--text-title-normal: #{$purple-md};
|
|
|
|
--text-title-dark: #{$purple-lt};
|
|
|
|
--text-subdued-normal: #{$tan-md};
|
|
|
|
--text-subdued-dark: #{$black-lt};
|
2020-08-14 16:23:35 +00:00
|
|
|
--h3-normal: #{$teal-md};
|
|
|
|
--h3-dark: #{$teal-lt};
|
2020-07-13 21:26:05 +00:00
|
|
|
--screen-mobile: #{$screen-mobile};
|
|
|
|
--screen-tablet: #{$screen-tablet};
|
|
|
|
--screen-laptop: #{$screen-laptop};
|
|
|
|
--screen-display: #{$screen-display};
|
|
|
|
--screen-full: #{$screen-full};
|
|
|
|
}
|
|
|
|
|
|
|
|
// fonts
|
|
|
|
@import "icons";
|
|
|
|
|
|
|
|
// base styles
|
|
|
|
html {
|
|
|
|
font-size: var(--font-size-base);
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
align-items: center;
|
|
|
|
background: var(--bg-normal);
|
|
|
|
color: var(--text-normal);
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
font-family: $font-family-base;
|
|
|
|
justify-content: flex-start;
|
|
|
|
}
|
|
|
|
|
|
|
|
header {
|
|
|
|
align-self: stretch;
|
|
|
|
border-top: 1vmax solid var(--border-normal);
|
|
|
|
padding: 5vmin 6vmin 0;
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-size: max(2vmax, 1.25rem);
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: var(--text-normal);
|
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
|
|
|
color: var(--text-subdued-normal);
|
2020-08-13 21:02:34 +00:00
|
|
|
|
|
|
|
&.slug {
|
|
|
|
text-transform: lowercase;
|
|
|
|
}
|
2020-07-13 21:26:05 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
main {
|
|
|
|
display: flex;
|
|
|
|
max-width: var(--screen-display);
|
|
|
|
padding: max(5vmin, 2rem) 6vmin;
|
|
|
|
position: relative;
|
|
|
|
|
2020-08-13 21:02:34 +00:00
|
|
|
// home page
|
2020-07-13 21:26:05 +00:00
|
|
|
&#home {
|
|
|
|
padding-top: max(10vmin, 2rem);
|
|
|
|
width: 80%;
|
|
|
|
}
|
2020-08-13 21:02:34 +00:00
|
|
|
|
|
|
|
// article page
|
2020-07-13 21:26:05 +00:00
|
|
|
&#post {
|
2020-08-13 21:02:34 +00:00
|
|
|
align-items: center;
|
2020-07-13 21:26:05 +00:00
|
|
|
flex-direction: column;
|
2020-08-13 21:02:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// list pages
|
|
|
|
&#list {
|
2020-07-13 21:26:05 +00:00
|
|
|
align-items: center;
|
2020-08-13 21:02:34 +00:00
|
|
|
flex-direction: column;
|
|
|
|
width: 80%;
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
align-self: center;
|
|
|
|
font-size: max(3vmax, 2rem);
|
|
|
|
margin: 1vmax 0 3vmax;
|
|
|
|
}
|
|
|
|
section {
|
|
|
|
display: list-item;
|
|
|
|
list-style: decimal-leading-zero;
|
|
|
|
margin-bottom: max(2vmax, 1.5rem);
|
|
|
|
|
|
|
|
&::marker {
|
|
|
|
font-weight: 800;
|
|
|
|
font-size: max(2vmax, 1.5rem);
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-family: $font-family-title;
|
|
|
|
font-size: max(2vmax, 1.5rem);
|
|
|
|
font-weight: 800;
|
|
|
|
letter-spacing: -0.05rem;
|
|
|
|
line-height: 1.1;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
font-size: max(1.375vmax, 1rem);
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
font-size: max(1.375vmax, 1rem);
|
|
|
|
line-height: max(2vmax, 1.5rem);
|
|
|
|
}
|
|
|
|
|
|
|
|
// after the first one, put a top border to divide them
|
|
|
|
+ section {
|
|
|
|
border-top: 0.5vmax solid var(--border-normal);
|
|
|
|
padding-top: max(2vmax, 1.5rem);
|
|
|
|
}
|
|
|
|
}
|
2020-07-13 21:26:05 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// post titles
|
|
|
|
aside {
|
|
|
|
margin: 0 7.5vmin max(2vmax, 1rem);
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
color: var(--text-title-normal);
|
|
|
|
font-family: $font-family-title;
|
|
|
|
font-size: max(3.75vmax, 2rem);
|
|
|
|
font-weight: 800;
|
|
|
|
letter-spacing: -0.075rem;
|
|
|
|
line-height: 1.1;
|
|
|
|
}
|
|
|
|
|
|
|
|
time {
|
|
|
|
font-size: max(1.5vmax, 1rem);
|
|
|
|
font-weight: 900;
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// post content
|
|
|
|
article {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
2020-08-13 21:02:34 +00:00
|
|
|
h2 { // section titles, outset width
|
2020-07-13 21:26:05 +00:00
|
|
|
color: var(--text-normal-hl);
|
|
|
|
font-size: max(2.25vmax, 1.5rem);
|
|
|
|
font-weight: 800;
|
|
|
|
letter-spacing: -0.05rem;
|
|
|
|
margin: 2vmax 10vmin 1vmax;
|
|
|
|
text-align: center;
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
|
2020-08-13 21:02:34 +00:00
|
|
|
h3 { // subsection headers, body width
|
2020-08-14 16:23:35 +00:00
|
|
|
color: var(--h3-normal);
|
2020-07-14 16:46:08 +00:00
|
|
|
font-size: max(2vmax, 1.375rem);
|
|
|
|
margin: 2vmax 10vmin 1vmax;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2020-08-13 21:02:34 +00:00
|
|
|
h4 { // highlighted sections, left aligned and bigger
|
|
|
|
font-size: max(1.75vmax, 1.25rem);
|
|
|
|
font-weight: 500;
|
|
|
|
font-weight: 800;
|
|
|
|
line-height: max(2.5vmax, 1.75rem);
|
|
|
|
margin: max(1vmax, 0.75rem) 0;
|
|
|
|
width: min(50vmax, 100%)
|
|
|
|
}
|
|
|
|
|
2020-07-13 21:26:05 +00:00
|
|
|
// skinny elements
|
|
|
|
p,
|
|
|
|
ul,
|
2020-07-14 16:46:08 +00:00
|
|
|
h3,
|
2020-07-13 21:26:05 +00:00
|
|
|
section,
|
|
|
|
blockquote {
|
|
|
|
width: min(50vmax, 100%);
|
|
|
|
}
|
|
|
|
|
|
|
|
// paragraphs
|
|
|
|
p {
|
|
|
|
font-size: max(1.375vmax, 1rem);
|
|
|
|
line-height: max(2vmax, 1.5rem);
|
|
|
|
margin: max(1vmax, 0.75rem) 0;
|
|
|
|
|
|
|
|
&.big { // larger highlight and intro paragraphs
|
|
|
|
font-size: max(1.75vmax, 1.25rem);
|
|
|
|
font-weight: 500;
|
|
|
|
line-height: max(2.5vmax, 1.75rem);
|
|
|
|
|
|
|
|
> strong {
|
|
|
|
font-weight: 800;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&.swqm { // starts with a quotation mark
|
|
|
|
text-indent: min(-0.55vmax, -0.4rem);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// lists
|
|
|
|
ul,
|
|
|
|
ol {
|
|
|
|
margin: max(1vmax, 0.75rem) 0;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
li {
|
|
|
|
margin-left: max(3vmax, 1rem);
|
|
|
|
padding: 0 0 max(2vmax, 1rem) max(1vmax, 0.5rem);
|
|
|
|
|
|
|
|
p:first-child { // each li's first p needs reduced top margin
|
|
|
|
margin-top: max(0.5vmax, 0.5rem)
|
|
|
|
}
|
|
|
|
&:first-child p:first-child { // the first item's first p gets none
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
p:last-child { // every last para needs it's bottom margin removed too
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
ul {
|
2020-08-13 21:02:34 +00:00
|
|
|
// default font-size on lists should be same as paragraphs
|
2020-07-13 21:26:05 +00:00
|
|
|
li {
|
|
|
|
font-size: max(1.375vmax, 1rem);
|
|
|
|
line-height: max(2vmax, 1.5rem);
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
section {
|
2020-08-13 21:02:34 +00:00
|
|
|
// for lists inside <sections>, like FNs, we'll make it a little smaller
|
2020-07-13 21:26:05 +00:00
|
|
|
ol li,
|
|
|
|
ol li p {
|
2020-08-13 21:02:34 +00:00
|
|
|
font-size: max(1.125vmax, 0.85rem);
|
|
|
|
line-height: max(1.5vmax, 1.375rem);
|
2020-07-13 21:26:05 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// blockquotes
|
|
|
|
blockquote {
|
2020-07-14 16:46:08 +00:00
|
|
|
margin: max(1vmax, 0.75rem) 0;
|
2020-07-13 21:26:05 +00:00
|
|
|
|
|
|
|
p {
|
2020-07-14 16:52:27 +00:00
|
|
|
border-left: 1vmax solid var(--text-subdued-normal);
|
2020-07-13 21:26:05 +00:00
|
|
|
padding-left: 2vmax;
|
2020-07-14 16:46:08 +00:00
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
padding: max(1vmax, 0.75rem) 0 max(1vmax, 0.75rem) 2vmax;
|
2020-07-14 23:51:04 +00:00
|
|
|
width: auto;
|
2020-07-14 16:46:08 +00:00
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
&:last-child {
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-08-13 21:02:34 +00:00
|
|
|
|
|
|
|
// post images
|
2020-08-14 17:45:07 +00:00
|
|
|
figure {
|
2020-08-14 16:23:35 +00:00
|
|
|
margin: 1vmax 0;
|
2020-08-13 21:02:34 +00:00
|
|
|
max-width: 80vw;
|
2020-08-14 17:45:07 +00:00
|
|
|
picture,
|
2020-08-13 21:02:34 +00:00
|
|
|
img {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// captions below post images
|
|
|
|
figcaption {
|
2020-08-14 16:23:35 +00:00
|
|
|
font-size: max(1.25vmax, 0.9rem);
|
2020-08-13 21:02:34 +00:00
|
|
|
font-style: italic;
|
2020-08-14 16:23:35 +00:00
|
|
|
padding: 1vmax 0 2vmax;
|
|
|
|
text-align: center;
|
2020-08-13 21:02:34 +00:00
|
|
|
}
|
2020-07-14 16:46:08 +00:00
|
|
|
}
|
2020-08-13 21:02:34 +00:00
|
|
|
}
|
2020-07-14 16:46:08 +00:00
|
|
|
|
2020-08-13 21:02:34 +00:00
|
|
|
// post footer info
|
|
|
|
footer {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
padding: max(5vmin, 2rem) 6vmin;
|
|
|
|
position: relative;
|
|
|
|
max-width: calc(100% - 12vmin);
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
// bottom content, should be footer
|
2020-07-14 16:46:08 +00:00
|
|
|
section {
|
|
|
|
&#author {
|
|
|
|
align-self: stretch;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
margin-top: 5vmax;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
span {
|
|
|
|
margin-left: 0.5vmax;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.border {
|
|
|
|
border-top: max(0.25vmax, 0.25rem) solid var(--border-dark);
|
|
|
|
padding-top: 5vmax;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
align-items: center;
|
|
|
|
background: var(--bg-normal);
|
|
|
|
border-radius: 100%;
|
|
|
|
content: $icon-barracuda;
|
2020-07-14 16:52:27 +00:00
|
|
|
display: flex;
|
2020-07-14 16:46:08 +00:00
|
|
|
font-family: 'andrew';
|
|
|
|
font-size: max(3vmax, 2.5rem);
|
|
|
|
height: max(5vmax, 4rem);
|
|
|
|
justify-content: center;
|
|
|
|
left: 50%;
|
|
|
|
margin-left: min(-2.5vmax, -2rem);
|
|
|
|
position: absolute;
|
|
|
|
text-align: center;
|
|
|
|
top: min(-2.5vmax, -2rem);
|
|
|
|
width: max(5vmax, 4rem);
|
|
|
|
}
|
2020-07-13 21:26:05 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-08-14 16:23:35 +00:00
|
|
|
// footnotes
|
2020-08-13 21:02:34 +00:00
|
|
|
section.footnotes {
|
|
|
|
ol {
|
|
|
|
margin-bottom: 0;
|
|
|
|
li:last-child {
|
|
|
|
padding-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-08-14 16:23:35 +00:00
|
|
|
a[href^="#fn:"]:before{ content: '[' }
|
|
|
|
a[href^="#fn:"]:after{ content: ']' }
|
2020-08-13 21:02:34 +00:00
|
|
|
|
2020-08-14 16:23:35 +00:00
|
|
|
// table of contents
|
2020-08-13 21:02:34 +00:00
|
|
|
#toc {
|
|
|
|
background: rgba(255,255,255,0.9);
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2020-08-14 16:23:35 +00:00
|
|
|
min-height: 100vh;
|
|
|
|
position: fixed;
|
|
|
|
right: -35vw;
|
|
|
|
top: 0;
|
2020-08-13 21:02:34 +00:00
|
|
|
transition: 400ms 250ms right ease-in-out;
|
2020-08-14 16:23:35 +00:00
|
|
|
width: 35vw;
|
2020-08-13 21:02:34 +00:00
|
|
|
|
|
|
|
&::before {
|
|
|
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23032140' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%0A%3E%3Cline x1='8' y1='6' x2='21' y2='6' /%3E%3Cline x1='8' y1='12' x2='21' y2='12' /%3E%3Cline x1='8' y1='18' x2='21' y2='18' /%3E%3Cline x1='3' y1='6' x2='3.01' y2='6' /%3E%3Cline x1='3' y1='12' x2='3.01' y2='12' /%3E%3Cline x1='3' y1='18' x2='3.01' y2='18' /%3E%3C/svg%3E%0A");
|
|
|
|
background-size: 75% 75%;
|
|
|
|
background-position: 0 50%;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
content: '';
|
|
|
|
cursor: pointer;
|
|
|
|
display: block;
|
|
|
|
height: 5vmax;
|
|
|
|
left: -7.5vmax;
|
|
|
|
position: absolute;
|
|
|
|
top: 2.5vmax;
|
|
|
|
transition-property: opacity, left;
|
|
|
|
transition-duration: 400ms;
|
|
|
|
transition-timing-function: ease-in-out;
|
|
|
|
transition-delay: 250ms;
|
|
|
|
width: 7.5vmax;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:active {
|
|
|
|
right: 0;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
opacity: 0;
|
|
|
|
left: -5vmax;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
nav#TableOfContents {
|
2020-08-14 16:23:35 +00:00
|
|
|
padding: 1vmax 3vmax 1vmax 1vmax;
|
2020-08-13 21:02:34 +00:00
|
|
|
height: calc(100vh - 2vmax);
|
|
|
|
overflow-y: auto;
|
|
|
|
|
|
|
|
ul { // first level
|
|
|
|
list-style: upper-roman;
|
|
|
|
ul { // second level
|
|
|
|
list-style: upper-alpha;
|
|
|
|
ul { // third level
|
|
|
|
list-style: decimal;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
li {
|
|
|
|
font-size: max(1.375vmax, 1rem);
|
|
|
|
line-height: max(1.75vmax, 1.375rem);
|
|
|
|
margin-bottom: max(1vmax, 0.75rem);
|
|
|
|
> a {
|
|
|
|
display: block;
|
|
|
|
margin-bottom: max(1vmax, 0.75rem);
|
|
|
|
}
|
|
|
|
}
|
2020-07-13 21:26:05 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-07-17 16:00:18 +00:00
|
|
|
a,
|
|
|
|
b {
|
2020-07-13 21:26:05 +00:00
|
|
|
color: var(--link-color-normal);
|
2020-07-17 16:00:18 +00:00
|
|
|
font-style: normal;
|
2020-07-13 21:26:05 +00:00
|
|
|
position: relative;
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
// novelty arrow
|
|
|
|
&.arrow::after {
|
|
|
|
color: inherit;
|
|
|
|
content: $icon-arrow;
|
|
|
|
display: block;
|
|
|
|
font-family: 'andrew';
|
|
|
|
font-size: 100%;
|
|
|
|
height: 100%;
|
|
|
|
opacity: 0;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
2020-07-17 16:00:18 +00:00
|
|
|
-webkit-transform: translateY(-0.25rem) translateX(100%);
|
|
|
|
-moz-transform: translateY(-0.25rem) translateX(100%);
|
|
|
|
transform: translateY(-0.25rem) translateX(100%);
|
2020-07-13 21:26:05 +00:00
|
|
|
transition: opacity 150ms ease-in-out, margin-top 150ms ease-in-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
// back links move this to the left
|
|
|
|
&.arrow.back::after {
|
|
|
|
content: $icon-arrow-left;
|
|
|
|
left: 0;
|
2020-07-17 16:00:18 +00:00
|
|
|
-webkit-transform: translateY(-0.25rem) translateX(-1.25rem);
|
|
|
|
-moz-transform: translateY(-0.25rem) translateX(-1.25rem);
|
|
|
|
transform: translateY(-0.25rem) translateX(-1.25rem);
|
2020-07-13 21:26:05 +00:00
|
|
|
transition: opacity 150ms ease-in-out, margin-top 150ms ease-in-out;
|
|
|
|
}
|
|
|
|
|
|
|
|
// show the arrow on hover
|
2020-07-17 16:00:18 +00:00
|
|
|
&.arrow:hover::after,
|
|
|
|
&.wa:hover b.arrow::after {
|
2020-07-13 21:26:05 +00:00
|
|
|
display: block;
|
|
|
|
margin-top: -3px;
|
|
|
|
opacity: 100;
|
|
|
|
}
|
|
|
|
|
|
|
|
// back-to-top links
|
|
|
|
&#top {
|
|
|
|
display: block;
|
|
|
|
align-self: flex-end;
|
|
|
|
margin: 3vmax;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-07-17 16:00:18 +00:00
|
|
|
// paragraph links
|
|
|
|
p a:hover {
|
|
|
|
border-bottom: 2px solid var(--link-color-normal);
|
|
|
|
}
|
|
|
|
|
2020-07-13 21:26:05 +00:00
|
|
|
// specific link effects
|
|
|
|
header h1 a.back::after {
|
|
|
|
-webkit-transform: translateY(-0.5rem) translateX(min(-1.75vmax, -1.25rem));
|
|
|
|
-moz-transform: translateY(-0.5rem) translateX(min(-1.75vmax, -1.25rem));
|
|
|
|
transform: translateY(-0.5rem) translateX(min(-1.75vmax, -1.25rem));
|
|
|
|
}
|
|
|
|
|
2020-08-13 21:02:34 +00:00
|
|
|
// non-post lists
|
2020-07-13 21:26:05 +00:00
|
|
|
ul {
|
2020-07-14 16:46:08 +00:00
|
|
|
&.list { // main page post list
|
2020-07-13 21:26:05 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
list-style-type: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
li {
|
|
|
|
align-items: stretch;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
justify-content: space-between;
|
|
|
|
padding-bottom: max(2.5vmax, 1.1rem);
|
|
|
|
|
|
|
|
div {
|
|
|
|
flex: 0 1 auto; // don't grow, shrink if needed, auto size onload
|
|
|
|
font-size: max(2.5vmax, 1.1rem);
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
time {
|
|
|
|
flex: 0 0 auto; // don't grow, don't shrink. auto size onload
|
|
|
|
font-size: max(2vmax, 1rem);
|
|
|
|
font-weight: 900;
|
|
|
|
padding-top: 0.5vmax;
|
|
|
|
padding-left: 1vmax;
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-07-14 16:46:08 +00:00
|
|
|
&.tags {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: center;
|
|
|
|
list-style-type: none;
|
2020-07-14 16:52:27 +00:00
|
|
|
margin: 4vmax 0 0;
|
2020-07-14 16:46:08 +00:00
|
|
|
padding: 0;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
li a {
|
|
|
|
background: var(--border-normal);
|
|
|
|
border-radius: 1000rem;
|
|
|
|
display: block;
|
|
|
|
font-size: max(1.25vmax, 1rem);
|
|
|
|
margin: 0 1vmax 2vmax;
|
|
|
|
padding: 1vmax 2vmax;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: var(--link-color-normal);
|
|
|
|
border: none;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-07-13 21:26:05 +00:00
|
|
|
}
|
|
|
|
|
2020-08-13 21:02:34 +00:00
|
|
|
// horizontal rules
|
|
|
|
hr {
|
|
|
|
border: none;
|
|
|
|
border-top: max(0.25vmax, 0.25rem) solid var(--border-dark);
|
|
|
|
margin: 3vmax 0;
|
|
|
|
}
|
|
|
|
|
2020-08-14 16:23:35 +00:00
|
|
|
// extras
|
|
|
|
span.tag {
|
|
|
|
background: var(--border-normal);
|
|
|
|
padding: 0.25vmax 1vmax;
|
|
|
|
}
|
|
|
|
|
2020-07-13 21:26:05 +00:00
|
|
|
// schemes
|
|
|
|
@import "dark";
|
|
|
|
|
|
|
|
// media queries
|
|
|
|
@import "media";
|