Zulma-Theme/sass/_blog.scss

138 lines
1.6 KiB
SCSS
Raw Normal View History

2019-05-03 23:36:05 +00:00
html,
body {
2019-05-12 21:41:02 +01:00
font-family: "Open Sans", sans-serif;
font-size: 14px;
display: flex;
min-height: 100vh;
flex-direction: column;
}
main {
2019-05-12 21:41:02 +01:00
flex: 1;
2019-05-03 23:36:05 +00:00
}
.navbar-brand .brand-text {
2019-05-12 21:41:02 +01:00
font-size: 1.11rem;
font-weight: bold;
2019-05-03 23:36:05 +00:00
}
.hero .title {
2019-05-12 21:41:02 +01:00
font-size: 3rem;
2019-05-03 23:36:05 +00:00
}
.article,
.tag-list {
2019-05-12 21:41:02 +01:00
.content p {
line-height: 1.9;
margin: 15px 0;
}
2019-05-03 23:36:05 +00:00
}
.media-center {
2019-05-12 21:41:02 +01:00
display: block;
margin-bottom: 1rem;
2019-05-03 23:36:05 +00:00
}
.media-content {
2019-05-12 21:41:02 +01:00
margin-top: 1rem;
2019-05-03 23:36:05 +00:00
}
.article {
2019-05-12 21:41:02 +01:00
margin-top: 1rem;
2019-05-03 23:36:05 +00:00
}
.article-title {
2019-05-12 21:41:02 +01:00
font-size: 2rem;
font-weight: lighter;
line-height: 2;
margin-bottom: 0.5rem;
2019-05-03 23:36:05 +00:00
}
.article-subtitle {
2019-05-12 21:41:02 +01:00
margin-bottom: 3rem;
2019-05-03 23:36:05 +00:00
}
.article-footer,
.article-body {
2019-05-12 21:41:02 +01:00
margin: 2rem 0;
2019-05-12 21:41:02 +01:00
@include desktop {
margin: 2rem 6rem;
}
2019-05-03 23:36:05 +00:00
}
.article-body {
2019-05-12 21:41:02 +01:00
line-height: 1.4;
2019-05-03 23:36:05 +00:00
}
.article-footer {
2019-05-12 21:41:02 +01:00
font-style: italic;
padding: 1.5rem;
width: 100%;
2019-05-03 23:36:05 +00:00
2019-05-12 21:41:02 +01:00
.button,
.tag {
font-style: normal;
}
2019-05-03 23:36:05 +00:00
}
.list.box {
2019-05-12 21:41:02 +01:00
margin-top: 1rem;
display: flex;
flex-direction: row;
flex-wrap: wrap;
2019-05-03 23:36:05 +00:00
2019-05-12 21:41:02 +01:00
> a {
margin: 0.2rem;
}
2019-05-03 23:36:05 +00:00
}
.paginator-container {
2019-05-12 21:41:02 +01:00
padding: 2rem 0;
2019-05-03 23:36:05 +00:00
}
.search-results {
2019-05-12 21:41:02 +01:00
display: none;
max-height: 35rem;
overflow: auto;
2019-05-03 23:36:05 +00:00
2019-05-12 21:41:02 +01:00
@include desktop {
position: absolute;
top: 100%;
width: 50rem;
right: 0;
margin-right: 0.75rem;
}
2019-05-03 23:36:05 +00:00
}
2019-05-12 21:41:02 +01:00
.search-results__items > li {
list-style: none;
margin-top: 1rem;
2019-05-03 23:36:05 +00:00
2019-05-12 21:41:02 +01:00
&:first-child {
margin-top: 0;
}
2019-05-03 23:36:05 +00:00
}
.navbar-end {
2019-05-12 21:41:02 +01:00
height: 100%;
2019-05-03 23:36:05 +00:00
}
input#search::placeholder {
2019-05-12 21:41:02 +01:00
color: $grey-darker;
}
.footer {
2019-05-12 21:41:02 +01:00
margin-top: 4rem;
padding: 2rem;
}
.pagination-previous,
.pagination-next {
2019-05-12 21:41:02 +01:00
flex-grow: 0;
}
.theme-select-container {
2019-05-12 21:41:02 +01:00
margin-left: auto;
}