cms/resources/sass/app.scss
2020-02-26 11:29:05 +08:00

48 lines
756 B
SCSS
Vendored

// Fonts
@import url('https://fonts.googleapis.com/css?family=Nunito');
// Variables
@import 'variables';
// Bootstrap
@import '~bootstrap/scss/bootstrap';
@import "app-common";
.post-feature-image {
max-width: 100%;
}
main {
padding: 20px;
}
body.post-archive {
.posts {
display: flex;
flex-wrap: wrap;
}
article {
border: 1px solid lightgray;
text-align: center;
padding: 5px;
margin: 5px;
flex: 1;
flex-basis: calc(33.33% - 10px);
}
.pagination {
display: flex;
justify-content: center;
}
}
body.single-post {
.title {
font-weight: bold;
}
.post-content {
font-size: 16px;
padding: 20px 0;
}
}