winkekatze.tv/assets/scss/_page.scss

81 lines
1.5 KiB
SCSS
Raw Normal View History

div.page {
margin: 0 auto;
padding: 20px 30px;
background: transparent;
2022-01-31 01:56:45 +01:00
p, code, ul li {
2022-01-14 02:18:09 +01:00
color: $font_default;
font-size: $font_size_default;
}
2022-01-31 01:56:45 +01:00
a, a:link, a:visited, a:active {
2022-01-16 22:37:19 +01:00
color: $font_default;
2022-01-14 02:18:09 +01:00
}
2022-01-16 22:37:19 +01:00
2022-01-14 02:18:09 +01:00
h1 {
color: $font_accent_3;
font-size: $font_size_h1;
text-shadow: 0px 0px 1px black;
}
h2 {
color: $font_accent_3;
font-size: $font_size_h2;
text-shadow: 0px 0px 1px black;
}
2022-01-16 18:24:41 +01:00
img {
max-width: 100%;
}
2022-01-31 01:52:58 +01:00
ul li {
padding: 5px 0px;
}
2022-01-31 01:56:45 +01:00
2022-01-31 01:52:58 +01:00
.highlight {
color: $font_accent_4;
font-size: $font_size_code;
}
2022-01-16 18:24:41 +01:00
}
2022-01-16 19:15:13 +01:00
@media (min-width: $large_view) {
2022-01-16 22:37:19 +01:00
div.page {
margin: auto;
2022-01-16 19:15:13 +01:00
max-width: $large_min_width;
p, code, ul {
2022-01-16 19:15:13 +01:00
font-size: $font_size_default_large;
}
h1 {
font-size: $font_size_h1_large;
}
h2 {
font-size: $font_size_h2_large;
}
}
}
2022-01-16 18:24:41 +01:00
@media (max-width: $mobile_view) {
div.page {
p, a{
font-size: $font_size_default_mobile;
}
code {
font-size: $font_size_code_mobile;
}
img {
max-width: 90%;
}
2022-01-16 19:15:13 +01:00
h1 {
font-size: $font_size_h1_mobile;
}
h2 {
font-size: $font_size_h2_mobile;
}
2022-01-16 18:24:41 +01:00
}
}
@media (max-width: $tiny_view) {
div.page {
p, a{
font-size: $font_size_default_tiny;
}
}
}