1
0
mirror of https://github.com/chylex/Blog.git synced 2024-12-23 01:42:47 +01:00
Blog/assets/css/style.scss
2023-04-10 21:49:48 +02:00

118 lines
1.6 KiB
SCSS

---
---
@import "{{ site.theme }}";
.inactive-link {
cursor: default;
}
.page-header {
padding: 0.8rem 4vw;
line-height: 1.25;
text-shadow: 0 2px 3px #1b242980;
box-shadow: 0 2px 2px #000c;
}
.project-name {
display: flex;
justify-content: center;
align-items: center;
.project-name-image {
$size: 3.4rem;
flex: 0 0 $size;
height: $size;
margin: 0.25rem 1rem 0 0;
img {
width: $size;
height: $size;
border: 3px solid white;
border-radius: 50%;
}
}
.project-name-text {
flex: 0 1 auto;
}
}
.main-content {
max-width: 1100px;
h1 {
font-size: 1.9em;
}
h2 {
font-size: 1.4em;
}
h3 {
font-size: 1.15em;
}
h4, h5, h6 {
font-size: 1em;
}
li + li {
margin-top: 0.2rem;
}
pre code {
white-space: pre-wrap;
}
.page-breadcrumbs {
margin: -0.75rem 0 -0.25rem;
font-size: 1.05rem;
}
.blog-entry-header {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: baseline;
margin-bottom: 0.9rem;
& > h1 {
flex: 0 1 auto;
margin: 0 2rem 0 0;
}
& > p {
flex: 0 0 auto;
margin: 0.4rem 0 0 0;
}
}
.blog-entry-content {
margin-bottom: 1.75rem;
}
}
.pagination {
display: flex;
justify-content: space-between;
padding-top: 0.55rem;
margin: -1.1rem 0;
& > div {
flex: 0 0 auto;
}
}
.utterances {
max-width: unset;
border-top: solid 1px #eff0f1;
margin-top: 2rem;
padding-top: 0.8rem;
}
.site-footer-owner {
text-align: center;
}