129 lines
1.7 KiB
CSS
129 lines
1.7 KiB
CSS
html,
|
|
body {
|
|
font-family: "Signifier", serif;
|
|
margin: 0;
|
|
padding: 0;
|
|
height: 100%;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
header {
|
|
font-size: 1.5em;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
ul {
|
|
list-style: unset;
|
|
list-style-type: "- ";
|
|
}
|
|
|
|
li {
|
|
margin: 5px 0;
|
|
}
|
|
|
|
.main {
|
|
display: flex;
|
|
justify-content: center;
|
|
flex: 1;
|
|
}
|
|
|
|
.post-header {
|
|
padding: 0;
|
|
}
|
|
|
|
.post-container {
|
|
width: 80%;
|
|
}
|
|
|
|
.post-meta {
|
|
margin-left: 100px;
|
|
font-size: 1.3em;
|
|
}
|
|
|
|
h2 .post-meta {
|
|
float: right;
|
|
margin-left: 20px;
|
|
font-size: 1em;
|
|
}
|
|
|
|
.post-title {
|
|
font-weight: normal;
|
|
font-size: 2.2em;
|
|
margin: 50px 0;
|
|
width: 100%;
|
|
position: relative;
|
|
display: inline-block;
|
|
}
|
|
|
|
:not(pre) > code {
|
|
font-family: "Courier New", Courier, monospace;
|
|
padding: 2px 4px;
|
|
margin: 0 5px;
|
|
font-size: 0.95em;
|
|
white-space: nowrap;
|
|
border: 1px solid #e1e1e1;
|
|
}
|
|
|
|
code,
|
|
pre {
|
|
border-radius: 4px;
|
|
background: #f4f4f4 !important;
|
|
}
|
|
|
|
pre {
|
|
border: 1px solid #e1e1e1;
|
|
}
|
|
|
|
pre * {
|
|
background: #f4f4f4 !important;
|
|
}
|
|
|
|
.post-title::before {
|
|
content: "";
|
|
position: absolute;
|
|
background-color: var(--topic-color);
|
|
height: 30px;
|
|
width: 2px;
|
|
bottom: -10px;
|
|
left: -20px;
|
|
}
|
|
|
|
.post-title::after {
|
|
content: "";
|
|
position: absolute;
|
|
background-color: var(--topic-color);
|
|
width: 200px;
|
|
height: 2px;
|
|
bottom: -10px;
|
|
left: -20px;
|
|
}
|
|
|
|
.post-article {
|
|
font-size: 1.5em;
|
|
line-height: 1.3em;
|
|
padding-bottom: 50px;
|
|
}
|
|
|
|
.post-article h2 {
|
|
font-weight: normal;
|
|
}
|
|
|
|
.post-article h3 {
|
|
font-weight: normal;
|
|
}
|
|
|
|
.post-article a {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.language-python,
|
|
.language-py,
|
|
.language-cc,
|
|
.language-cpp {
|
|
/* override prism.js styles */
|
|
font-size: 0.8em !important;
|
|
}
|