rf-web/_sass/layouts/default.scss

70 lines
875 B
SCSS
Raw Normal View History

.intro {
display: block;
margin-bottom: $size-64;
p {
@include textbox;
2020-02-21 11:44:13 +00:00
margin: 0;
}
}
h2 {
margin-top: $size-32;
2020-02-21 11:44:13 +00:00
@include touch {
margin-top: 0;
}
}
.page-content {
@include touch {
@include margin-horizontal($size-32);
}
}
2020-02-21 11:44:13 +00:00
.side-title {
position: fixed;
transition: all 0.2s ease-in-out;
2020-02-26 07:55:02 +00:00
color: $text;
2020-02-21 11:44:13 +00:00
margin: 0;
width: 100vh;
bottom: 0;
text-align: center;
z-index: 0;
2020-02-21 11:44:13 +00:00
&.side-title--left {
transform: rotate(270deg);
left: 5%;
transform-origin: left;
@include touch {
left: 15px;
}
}
&.side-title--right {
transform: rotate(90deg);
right: 5%;
transform-origin: right;
@include touch {
right: 15px;
}
}
&.hidden {
opacity: 0.0001;
}
a {
2020-02-26 07:55:02 +00:00
color: $text;
2020-02-21 11:44:13 +00:00
}
2020-07-29 13:02:51 +00:00
@include darkMode {
color: $white;
a {
color: $white;
}
}
2020-02-21 11:44:13 +00:00
}