153 lines
2.3 KiB
HTML
153 lines
2.3 KiB
HTML
<link rel="stylesheet" href="/css/syntax.css">
|
|
<style>
|
|
body {
|
|
font-family: "Source Sans 3", "Pretendard", sans-serif;
|
|
font-size: 16px;
|
|
margin: auto;
|
|
padding: 20px;
|
|
max-width: 720px;
|
|
text-align: left;
|
|
background-color: white;
|
|
word-wrap: break-word;
|
|
overflow-wrap: break-word;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6, b, strong {
|
|
font-weight: 400;
|
|
}
|
|
|
|
h1 { font-size: 26px; }
|
|
h2 { font-size: 24px; }
|
|
h3 { font-size: 22px; }
|
|
h4 { font-size: 20px; }
|
|
h5 { font-size: 18px; }
|
|
|
|
a {
|
|
color: #3273dc;
|
|
}
|
|
|
|
.katex {
|
|
font-size: 16px !important;
|
|
padding: 0 2px;
|
|
}
|
|
|
|
.date {
|
|
font-family: monospace;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.title {
|
|
color: black;
|
|
text-decoration: none;
|
|
}
|
|
|
|
ul.blog-posts {
|
|
font-size: 16px;
|
|
color: #0;
|
|
list-style-type: none;
|
|
padding: unset;
|
|
}
|
|
|
|
ul.blog-posts li a:visited {
|
|
color: #8b6fcb;
|
|
}
|
|
|
|
.post-header {
|
|
text-align: center;
|
|
margin: 0 auto;
|
|
padding-bottom: 20px;
|
|
}
|
|
|
|
.post-header .post-title {
|
|
font-size: 26px;
|
|
padding: 18px 0 14px 0;
|
|
}
|
|
|
|
.post-header .post-date {
|
|
font-family: monospace;
|
|
padding-bottom: 30px;
|
|
}
|
|
|
|
.post-header .post-author {
|
|
font-family: monospace;
|
|
padding-bottom: 30px;
|
|
}
|
|
|
|
.post-header .post-divider {
|
|
background-color: black;
|
|
height: 1px;
|
|
width: 100%;
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
}
|
|
|
|
img {
|
|
max-width: 100%;
|
|
}
|
|
|
|
code {
|
|
padding: 2px 5px;
|
|
background-color: #EEE;
|
|
font-size: 14px;
|
|
}
|
|
|
|
pre code {
|
|
color: #222;
|
|
display: block;
|
|
padding: 20px;
|
|
white-space: pre-wrap;
|
|
font-size: 14px;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
div.highlight pre {
|
|
background-color: initial;
|
|
color: initial;
|
|
}
|
|
|
|
div.highlight code {
|
|
border-radius: 10px;
|
|
color: unset;
|
|
}
|
|
|
|
blockquote {
|
|
border-left: 1px solid #999;
|
|
color: #222;
|
|
padding-left: 20px;
|
|
font-style: italic;
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
body {
|
|
background-color: #333;
|
|
color: white;
|
|
}
|
|
|
|
a {
|
|
color: #8cc2dd;
|
|
}
|
|
|
|
code {
|
|
background-color: #888;
|
|
}
|
|
|
|
pre code {
|
|
color: #ddd;
|
|
}
|
|
|
|
blockquote {
|
|
color: #ccc;
|
|
}
|
|
|
|
textarea,
|
|
input {
|
|
background-color: #252525;
|
|
color: #ddd;
|
|
}
|
|
}
|
|
|
|
</style>
|