frontend/src/stylesheets/random-item.scss

36 lines
631 B
SCSS
Raw Normal View History

2018-12-11 12:42:56 +02:00
@import "variables";
2018-12-11 14:41:57 +02:00
.section-heading {
padding-top: 1em;
2018-12-11 12:42:56 +02:00
}
2018-12-11 14:41:57 +02:00
.section-title{
line-height: 0.5;
text-align: center;
padding: 1em;
2018-12-11 14:41:57 +02:00
}
// --------------------------
// add horizontal lines around the section title.
//----------------------------
2018-12-11 14:41:57 +02:00
.section-title span{
display: inline-block;
position: relative;
}
.section-title span:before,
.section-title span:after {
content: "";
position: absolute;
height: 8px;
border-bottom: 3px solid black;
2018-12-11 14:41:57 +02:00
top: 0;
width: 400px;
2018-12-11 14:41:57 +02:00
}
.section-title span:before {
right: 100%;
margin-right: 15px;
}
.section-title span:after {
left: 100%;
margin-left: 15px;
2018-12-11 12:42:56 +02:00
}