-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
124 lines (123 loc) · 3.25 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* S10anzeigen animates the reading of a E3/DC S10 in a graphical way *
* Copyright (C) 2018-2022 - senneschall <senneschall@web.de> *
* This file is part of S10anzeigen. *
* *
* S10anzeigen is free software: you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation, either version 3 of the License, or *
* (at your option) any later version. *
* *
* S10anzeigen is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program. If not, see <https://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
@font-face {
font-family: 'Vollkorn';
src: url('./svg/Vollkorn-Medium.woff2') format('woff2');
}
body{
background-attachment:fixed;
background-image:linear-gradient(#fff, #adadad);
background-position:center;
background-repeat:no-repeat;
background-size:cover;
font-family: Vollkorn;
font-variant: small-caps;
font-variant-numeric: lining-nums;
font-feature-settings: "ss17" on;
margin:0;
}
div{
align-items:center;
display:flex;
justify-content:center;
}
.bs{
background-image:url("img/bg_sun.jpg");
}
.bb{
background-image:url("img/bg_bat.jpg");
}
.bg{
background-image:url("img/bg_grd.jpg");
}
.fc{
align-content:stretch;
align-items:stretch;
display:flex;
}
.ba{
--el: 3
}
.gc{
display:grid;
grid-column-gap:0;
grid-row-gap:0;
grid-template-columns:repeat(3,1fr);
grid-template-rows:repeat(3,1fr);
height:100vmin;
width:100vmin;
}
.be{
--el: 4
}
.ba,.be{
display:grid;
grid-column-gap:0;
grid-row-gap:0;
}
.tx{
color:#762;
}
.mn{
width:100%;
}
@media (orientation: landscape) {
.fc{
flex-flow:row nowrap;
}
.ba,.be{
grid-template-columns:1fr;
grid-template-rows:repeat(var(--el),1fr);
height:100vmin;
width:calc(50vmax - 50vmin);
}
.bi{
height:25vmin;
}
.tx{
height:50vmin;
text-orientation:upright;
writing-mode:vertical-lr;
}
.it{
width:8vmin;
}
}
@media (orientation: portrait) {
.fc{
flex-flow:column nowrap;
}
.ba,.be{
grid-template-columns:repeat(var(--el),1fr);
grid-template-rows:1fr;
height:calc(50vmax - 50vmin);
width:100vmin;
}
.bi{
width:25vmin;
}
.tx{
text-orientation:mixed;
width:50vmin;
writing-mode:horizontal-tb;
}
.it{
height:8vmin;
}
}