196 lines
3 KiB
CSS
196 lines
3 KiB
CSS
:root {
|
|
font-size: calc(1rem + 0.25vw);
|
|
--red: oklch(65% 0.25 30);
|
|
--blue1: oklch(50% 0.1 230);
|
|
--blue2: oklch(40% 0.1 230);
|
|
--light-gray: oklch(95% 0 0);
|
|
--white1: oklch(100% 0 0);
|
|
--text1: oklch(20% 0 0);
|
|
--text2: oklch(50% 0 0);
|
|
--text3: oklch(70% 0 0);
|
|
}
|
|
|
|
code {
|
|
background: #faf4ed;
|
|
border-radius: 0.3em;
|
|
padding: 0.1em 0.2em;
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
.highlight {
|
|
border-radius: 0.3rem;
|
|
padding: 0.5em 0.5em;
|
|
margin: 1rem 0;
|
|
background: #faf4ed;
|
|
overflow: auto;
|
|
|
|
& code {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
& pre {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
}
|
|
|
|
body {
|
|
color: var(--text);
|
|
background: var(--background);
|
|
font-family: "EB Garamond", Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Athelas, Georgia, serif;
|
|
/* font-family: -apple-system, BlinkMacSystemFont, "Avenir Next", Avenir, "Nimbus Sans L", Roboto, Noto, "Segoe UI", Arial, Helvetica, "Helvetica Neue", sans-serif; */
|
|
font-variant-numeric: oldstyle-nums;
|
|
line-height: 1.5;
|
|
margin: auto;
|
|
padding: 1rem;
|
|
max-width: 70ch;
|
|
font-weight: normal;
|
|
}
|
|
|
|
header {
|
|
border-bottom: 1px solid var(--text3);
|
|
margin-bottom: 1rem;
|
|
|
|
& nav {
|
|
|
|
& ul {
|
|
|
|
font-size: 1.25rem;
|
|
list-style: none;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 0;
|
|
|
|
.active {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
}
|
|
}
|
|
}
|
|
|
|
p {
|
|
padding: 0;
|
|
margin-top: 0;
|
|
text-align: justify;
|
|
text-justify: inter-word;
|
|
}
|
|
|
|
article>p:nth-of-type(2)::first-letter {
|
|
font-size: 3rem;
|
|
float: left;
|
|
line-height: 2.9rem;
|
|
padding-right: 0.2rem;
|
|
}
|
|
|
|
a {
|
|
color: var(--red);
|
|
text-decoration: none;
|
|
|
|
&:hover {
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
|
|
h1 {
|
|
padding: 0;
|
|
margin: 0;
|
|
font-size: 2rem;
|
|
font-weight: normal;
|
|
text-align: center;
|
|
}
|
|
|
|
h2 {
|
|
padding: 0;
|
|
margin: 0;
|
|
font-size: 1.75rem;
|
|
font-weight: normal;
|
|
}
|
|
|
|
h3 {
|
|
padding: 0;
|
|
margin: 0;
|
|
font-size: 1.5rem;
|
|
font-weight: normal;
|
|
}
|
|
|
|
time {
|
|
font-size: 1rem;
|
|
float: right;
|
|
color: var(--blue2);
|
|
}
|
|
|
|
table {
|
|
border-collapse: collapse;
|
|
width: 100%;
|
|
|
|
& th {
|
|
text-align: left;
|
|
border-bottom: 1px solid var(--text1);
|
|
}
|
|
}
|
|
|
|
img {
|
|
width: 100%;
|
|
}
|
|
|
|
footer {
|
|
border-top: 1px solid var(--text3);
|
|
margin-top: 1rem;
|
|
|
|
& p {
|
|
font-size: 0.75rem;
|
|
padding: 1rem;
|
|
text-align: center;
|
|
color: var(--text2);
|
|
|
|
& a {
|
|
color: var(--text2);
|
|
}
|
|
}
|
|
}
|
|
|
|
.list {
|
|
color: var(--text1);
|
|
|
|
& h2 {
|
|
margin-top: 2rem;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.lead {
|
|
margin: 0;
|
|
font-size: 1rem;
|
|
text-align: left;
|
|
text-decoration: none;
|
|
}
|
|
|
|
}
|
|
|
|
.tags {
|
|
& ul {
|
|
list-style: none;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 0 1rem;
|
|
font-size: 0.75rem;
|
|
|
|
& li {
|
|
padding: 0rem 0.3rem;
|
|
border: 1px solid var(--text1);
|
|
border-radius: 0.3rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
.title {
|
|
font-size: 2rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.lead {
|
|
text-align: center;
|
|
font-size: 1.5rem;
|
|
margin-bottom: 1rem;
|
|
}
|