website/static/style.css

174 lines
2.5 KiB
CSS
Raw Normal View History

2019-08-14 08:36:03 +00:00
:root {
--accent: #d59783;
--background: #080a0e;
2019-08-19 16:28:07 +00:00
--color: #dbdbdb;
--border-color: var(--color);
2019-08-14 08:36:03 +00:00
}
body {
background: var(--background);
font-size: 1.1rem;
2019-08-19 16:28:07 +00:00
color: var(--color);
2019-08-14 08:36:03 +00:00
}
h2 {
font-size: 1.6rem;
}
h2[id]::after {
content: "";
display: block;
width: 100%;
height: 10px;
border-bottom: var(--border-color) solid 1px;
}
h2:not(first-child) {
margin-top: 60px;
}
2019-08-19 16:28:07 +00:00
footer {
display: flex;
justify-content: center;
padding: 0;
margin: 1.5em auto;
flex-flow: column wrap;
color: inherit;
}
footer > * {
margin: 1.4em auto;
}
svg {
height: 2em;
width: 2em;
color: currentColor;
fill: currentColor;
}
svg:hover {
fill: var(--accent);
}
/* Theme customizations */
2019-08-14 08:36:03 +00:00
.header__logo a {
min-width: 45%;
}
.button__text {
white-space: pre-wrap;
}
2019-08-19 16:28:07 +00:00
.post-header-wrapper {
display: flex;
flex-flow: row nowrap;
align-items: center;
}
.post-title {
flex-grow: 10;
}
.post-type {
flex-grow: 1;
min-width: 5em;
}
.content {
display: unset;
}
.posts {
width: 100%;
}
.pagination__buttons {
justify-content: space-evenly;
}
.pagination .button__icon {
border-radius: 2em;
font-weight: bolder;
padding: 0.5rem;
background: var(--accent);
color: var(--background);
}
.button a {
align-items: center;
}
@media screen and (max-width: 683px) {
.pagination__buttons {
flex-flow: column wrap;
}
.pagination .button {
max-width: unset;
margin: 0.75rem;
}
}
#disqus_thread {
--border-deco: dashed var(--border-color) 1px;
--spacing: 50px;
border-top: var(--border-deco);
border-bottom: var(--border-deco);
margin: var(--spacing) auto;
padding: var(--spacing) 0;
}
a.read-more {
text-decoration: underline;
}
/* Asciidoctor style overrides */
2019-08-14 08:36:03 +00:00
.attribution {
margin-bottom: 40px;
text-align: right;
}
2019-08-19 16:28:07 +00:00
.imageblock {
margin: 2rem auto;
}
.imageblock .title {
font-style: italic;
text-align: center;
}
.admonitionblock {
border: none;
}
.admonitionblock .icon,
.admonitionblock .content {
border: none
}
.admonitionblock .icon {
width: 10%;
border: dashed var(--accent) 1px;
}
.admonitionblock .content {
padding: 1em;
display: block;
}
/* My own classes customization */
.social-icons {
display: flex;
justify-content: center;
align-items: center;
margin: auto;
flex-flow: row wrap;
}
.social-icons > * {
margin: 1em;
text-decoration: none;
2019-08-14 08:36:03 +00:00
}