ifhub-explainer/sass/main.scss

162 lines
2.9 KiB
SCSS

@import "variables";
@import "bootstrap";
body {
background-color: $body-bg;
}
.container {
@include make-container();
@include make-container-max-widths();
}
#content_wrapper {
@include make-row();
background: $text_background;
}
.content {
@include make-col(12);
@include media-breakpoint-up(md) {
padding-left: 3em;
padding-right: 3em;
}
padding: 1em;
ul {
margin: 0;
padding: 0 0 0 1em;
}
ul.options {
padding: 0;
margin-top: 0.5em;
margin-bottom: 0.7em;
list-style-type: none;
li {
display: inline;
&.active a > div{
background-image: linear-gradient(45deg, #a0e0e0, #fff) !important;
}
}
li a {
display: block;
margin-bottom: 0.5em;
font-family: $headings-font-family;
text-decoration: none;
> div {
border-radius: 5px;
border: 1px solid #000;
padding: 1em;
background-image: linear-gradient( 45deg, #ccc, #fff );
color: $ok-color;
&:hover {
background-color: rgba(153,136,119,0.2);
background-image: none;
}
}
}
.warning {
background-image: linear-gradient( 45deg, #ddd, #fff );
color: $warning-color;
}
.neutral {
background-image: linear-gradient( 90deg, #ccc, #fff );
color: $neutral-color;
}
}
.room-start {
border-top: none;
}
h1, h2, h3, h4, h5 {
text-align: center;
}
blockquote {
font-family: "EB Garamond", serif;
margin: 1em 2em;
line-height: 1.45;
color: #383838;
font-size: $font-size-base* 1.4;
}
}
.cycle {
color: darkgreen;
border-bottom: darkgreen dashed 1px;
}
hr {
width: 50%;
border-color: $body-color;
}
.btn-outline-primary,
.btn-outline-danger {
border: none;
border-color: transparent;
}
.center {
text-align: center;
}
.gothic {
font-family: "Germania One", cursive;
}
.footer {
@include media-breakpoint-up(md) {
@include make-col(12);
}
text-align: center;
}
.effect {
color: #4c20dd;
}
#map {
max-width: 400px;
height: 400px;
margin: auto;
}
.medskip {
margin-top: $font-size-base * 1.5;
margin-bottom: $font-size-base * 1.5;
}
.narrowchoice {
margin-right: 30% !important;
margin-left: 30% !important;
}
button.center {
display: block;
margin-right: auto;
margin-left: auto;
}
.bg-dark {
background: black;
img {
opacity: 0.5;
}
}
.card {
margin: 1em;
}
.card-img-overlay {
color: white;
padding: 3em;
}
.footer {
position: fixed;
width: 100%;
bottom: 0;
.progress {
@include make-col(12);
}
}
.gamelist {
@include make-row();
.card {
img {
padding: 1em;
}
@include media-breakpoint-down(sm) {
@include make-col(12);
}
@include media-breakpoint-up(sm) {
@include make-col(6);
}
@include media-breakpoint-up(md) {
@include make-col(4);
}
margin: auto;
}
}