1
0
mirror of https://github.com/ipdb/website.git synced 2024-11-13 16:54:50 +01:00
website/_src/_assets/scss/_sections.scss

42 lines
742 B
SCSS
Raw Normal View History

2017-08-24 12:02:34 +02:00
.section {
padding-top: $spacer * 2;
padding-bottom: $spacer * 2;
2017-08-24 12:17:29 +02:00
min-height: 100vh;
display: flex;
flex-wrap: wrap;
align-items: center;
@media ($screen-sm) {
padding-top: $spacer * 4;
padding-bottom: $spacer * 4;
}
2017-08-24 12:02:34 +02:00
// handling long text, like URLs
overflow-wrap: break-word;
word-wrap: break-word;
word-break: break-word;
text-rendering: optimizeLegibility;
2017-08-24 12:17:29 +02:00
.row {
width: 100%;
}
2017-08-24 12:02:34 +02:00
p:last-child {
margin-bottom: 0;
}
}
.section__header {
2017-08-24 12:17:29 +02:00
margin-bottom: $spacer * 2;
2017-08-24 12:02:34 +02:00
}
.section__title {
2017-08-24 12:17:29 +02:00
font-size: $font-size-h1;
margin-bottom: $spacer / 4;
2017-08-24 12:02:34 +02:00
}
.section__description {
font-size: $font-size-large;
margin-bottom: 0;
}