winkekatze.tv/assets/scss/_page.scss

97 lines
1.6 KiB
SCSS
Raw Normal View History

div.page {
margin: 0 auto;
padding: 20px 30px;
background: transparent;
2022-03-03 23:10:12 +01:00
p, ul li {
2022-01-14 02:18:09 +01:00
color: $font_default;
font-size: $font_size_default;
}
2022-03-03 23:10:12 +01:00
code {
color: $font_default;
}
2022-10-24 23:48:49 +02:00
a {
2022-01-16 22:37:19 +01:00
color: $font_default;
2022-01-14 02:18:09 +01:00
}
2022-10-24 23:48:49 +02:00
a:link, a:visited, a:active {
color: $font_accent_4;
text-decoration: none;
}
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;
2022-03-03 23:10:12 +01:00
p, ul li {
2022-01-16 19:15:13 +01:00
font-size: $font_size_default_large;
}
2022-03-03 23:10:12 +01:00
2022-01-16 19:15:13 +01:00
h1 {
font-size: $font_size_h1_large;
}
2022-03-03 23:10:12 +01:00
2022-01-16 19:15:13 +01:00
h2 {
font-size: $font_size_h2_large;
}
}
}
2022-01-16 18:24:41 +01:00
@media (max-width: $mobile_view) {
div.page {
2022-03-03 23:10:12 +01:00
2022-01-16 18:24:41 +01:00
p, a{
font-size: $font_size_default_mobile;
}
2022-03-03 23:10:12 +01:00
2022-01-16 18:24:41 +01:00
code {
font-size: $font_size_code_mobile;
}
2022-03-03 23:10:12 +01:00
2022-01-16 18:24:41 +01:00
img {
max-width: 90%;
}
2022-03-03 23:10:12 +01:00
2022-01-16 19:15:13 +01:00
h1 {
font-size: $font_size_h1_mobile;
}
2022-03-03 23:10:12 +01:00
2022-01-16 19:15:13 +01:00
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;
}
}
}