winkekatze.tv/assets/scss/_start.scss

87 lines
1.6 KiB
SCSS
Raw Normal View History

div.start {
margin: 0 auto;
padding: 50px 0px;
background: transparent;
display: flex;
.left {
flex: 45%;
text-align: center;
2022-01-16 19:15:13 +01:00
background: rgba(128,128,128,0.15);
padding: 12px;
box-shadow: 0px 0px 2px 8px rgba(128,128,128,0.1);
}
.right {
flex: 55%;
}
img {
2022-01-10 02:52:29 +01:00
max-height: 7dh;
max-width: 100%;
}
2022-01-14 02:18:09 +01:00
2022-01-16 19:15:13 +01:00
p, a {
2022-01-14 02:18:09 +01:00
color: $font_default;
font-size: $font_size_default;
}
code {
color: $font_accent_4;
font-size: $font_size_code;
}
2022-01-16 17:27:47 +01:00
2022-01-14 02:18:09 +01:00
h2 {
color: $font_accent_3;
font-size: $font_size_h2;
text-shadow: 0px 0px 1px black;
}
}
2022-01-16 02:17:41 +01:00
2022-01-16 19:15:13 +01:00
@media (min-width: $large_view) {
div.start {
margin: auto;
max-width: $large_min_width;
.right, .left {
flex: 50%;
}
p, a {
font-size: $font_size_default_large;
}
code {
font-size: $font_size_code_large;
}
h2 {
font-size: $font_size_h2_large;
text-shadow: 0px 0px 4px black;
}
}
2022-01-16 04:52:25 +01:00
}
2022-01-16 17:27:47 +01:00
@media (max-width: $mobile_view) {
2022-01-16 02:17:41 +01:00
div.start {
display: initial;
2022-01-16 19:15:13 +01:00
p, a {
2022-01-16 17:27:47 +01:00
font-size: $font_size_default_mobile;
}
code {
font-size: $font_size_code_mobile;
}
2022-01-16 02:17:41 +01:00
.left, .right {
text-align: center;
margin-top: 40px;
}
2022-01-16 17:27:47 +01:00
img {
max-height: 5dh;
max-width: 90%;
}
2022-01-16 02:17:41 +01:00
}
}
2022-01-16 18:21:31 +01:00
@media (max-width: $tiny_view) {
div.start {
2022-01-16 19:15:13 +01:00
p, a {
font-size: $font_size_default_tiny;
2022-01-16 18:21:31 +01:00
}
}
}