99 lines
1.3 KiB
CSS
99 lines
1.3 KiB
CSS
html,
|
|
body {
|
|
font-family: "Signifier", serif;
|
|
margin: 0;
|
|
padding: 0;
|
|
height: 100%;
|
|
}
|
|
|
|
header {
|
|
font-size: 1.5em;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
ul {
|
|
list-style: unset;
|
|
}
|
|
|
|
li {
|
|
margin: 5px 0;
|
|
}
|
|
|
|
.main {
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.post-header {
|
|
padding: 0;
|
|
}
|
|
|
|
.post-container {
|
|
width: 80%;
|
|
}
|
|
|
|
.post-meta {
|
|
font-style: italic;
|
|
/* space between date and title */
|
|
margin-left: 100px;
|
|
}
|
|
|
|
.post-title {
|
|
font-weight: normal;
|
|
font-size: 2.2em;
|
|
margin: 50px 0;
|
|
width: 100%;
|
|
position: relative;
|
|
display: inline-block;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.post-code {
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.language-python,
|
|
.language-cpp {
|
|
/* override prism.js styles */
|
|
font-size: 0.85em !important;
|
|
}
|