frontend/src/stylesheets/random-item.scss

100 lines
1.5 KiB
SCSS
Raw Normal View History

2018-12-11 12:42:56 +02:00
@import "variables";
@import "globals";
2018-12-11 14:41:57 +02:00
.section-heading,
.section-subheading {
2018-12-22 14:36:49 +02:00
padding-top: 2em;
2018-12-11 12:42:56 +02:00
}
// TODO: Refactor
2018-12-22 14:36:49 +02:00
.section-title {
2018-12-11 14:41:57 +02:00
line-height: 0.5;
text-align: center;
2018-12-22 14:36:49 +02:00
}
// the bottom section
h3.section-title {
padding-top: 1em;
2018-12-11 14:41:57 +02:00
}
2018-12-22 14:36:49 +02:00
// --------------------------
// add horizontal lines around the section title.
//----------------------------
2018-12-11 14:41:57 +02:00
.section-title span:before,
.section-title span:after {
content: "";
position: absolute;
height: 8px;
2018-12-22 14:36:49 +02:00
border-bottom: 1.7px solid black;
2018-12-11 14:41:57 +02:00
top: 0;
width: 400px;
2018-12-11 14:41:57 +02:00
}
2018-12-22 14:36:49 +02:00
2018-12-11 14:41:57 +02:00
.section-title span:before {
right: 100%;
2018-12-22 14:36:49 +02:00
margin-right: 10px;
2018-12-11 14:41:57 +02:00
}
2018-12-22 14:36:49 +02:00
2018-12-11 14:41:57 +02:00
.section-title span:after {
left: 100%;
2018-12-22 14:36:49 +02:00
margin-left: 10px;
2018-12-11 12:42:56 +02:00
}
2018-12-22 14:36:49 +02:00
// Topics
2018-12-22 14:36:49 +02:00
.random-topics {
margin-top: .5em;
}
.random-section-title {
bottom: -3px;
}
// TODO: Refactor
2018-12-22 14:36:49 +02:00
// buttons
.random-item-container {
2018-12-22 14:36:49 +02:00
button {
background: white;
}
// view all and shuffle button
.view-items-link {
2018-12-22 14:36:49 +02:00
justify-self: left;
bottom: 36px;
position: relative;
padding: 0px;
}
.view-all-items {
2018-12-22 14:36:49 +02:00
left: 0;
//position: absolute;
justify-self: left;
padding: 1em 0px;
padding-right: 5px;
}
// shuffle
.shuffle-button {
justify-self: right;
bottom: 36px;
position: relative;
padding: 10px;
padding-right: 0px;
}
}
// fonts
.shuffle-button, .view-all-items {
2018-12-22 14:36:49 +02:00
span.arabic-text {
font-size: 18px;
}
span.english-text {
font-size: 16px;
}
}
.buttons-grid {
height: 8px;
}
span.english-text.bold-english-text{
font-size: 28px;
}
span.arabic-text.bold-arabic-text{
font-size: 28px;
}