frontend/src/stylesheets/random-item.scss

127 lines
2 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;
2019-01-03 08:07:39 +02:00
padding: .9em 0px;
2018-12-22 14:36:49 +02:00
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;
2019-01-03 08:07:39 +02:00
}
// highlighted text
.highlighted-text:hover{
background: black;
color:white;
position: relative;
}
//.navbar-link-overlay {
// width: calc(100% + 6px);
// height: calc(100% - 3px - 2px);
// position: absolute;
// top: 3px;
// left: 0px;
// z-index: -1;
//}
//.navbar-link-neonblue:hover .navbar-link-overlay{
// background: black;
//}
// randome places map
.place-map {
max-width: 500px;
display: block;
min-height: 300px;
}