-
Notifications
You must be signed in to change notification settings - Fork 3
/
style.css
executable file
·188 lines (168 loc) · 3.53 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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
/* @media (prefers-color-scheme: light) { */
:root[data-theme="light"] {
--text: #07202c;
--background: #ffffff;
--primary: #86ad87;
--secondary: #9fc8a1;
/* --accent: #384751; */
--accent: #dddedf;
--eventBackground: #f3f3f4;
}
/* } */
/* @media (prefers-color-scheme: dark) { */
:root[data-theme="dark"] {
--text: #d3ecf8;
--background: #161718;
--primary: #75cc82;
--secondary: #568666;
--accent: #383c3f;
--eventBackground: #1d1e1f;
}
/* } */
@font-face {
font-family: "badSchoolFontDIN1451W02Engschrift";
src: url("Gymnasium\ Neusiedl.woff") format("woff");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: "DIN W02 Light";
src: url("GymnasiumFontLight.woff") format("woff");
font-weight: normal;
font-style: normal;
}
h1,
h2 {
font-family: badSchoolFontDIN1451W02Engschrift;
}
.wrapper {
width: 86vw;
}
body {
position: relative;
padding: 0;
margin: 0;
height: 100vh;
width: 100%;
background: var(--background);
overflow: hidden;
}
.container {
height: calc(100vh - 3rem);
width: 120px;
position: absolute;
top: 1.5rem;
left: 1.5rem;
background: var(--secondary);
box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
border-radius: 15px;
overflow: hidden;
}
h1 {
transform: rotate(-90deg);
transform-origin: left top;
margin: 0;
font-weight: 550;
font-size: 6rem;
line-height: 5rem;
letter-spacing: 0px;
color: var(--text);
width: calc(100vh - 3rem);
height: 120px;
position: absolute;
top: 75%;
left: 13.5%;
}
h2 {
font-weight: 400;
color: var(--primary);
padding-top: 6px;
padding-bottom: 0px;
letter-spacing: -0.01em;
font-size: 4rem;
margin: 0;
text-transform: capitalize;
}
p {
font-family: "DIN W02 Light";
font-weight: normal;
margin: 0rem 0rem 0.6rem 0rem;
font-size: 2.4rem;
line-height: 1.085em;
color: var(--text);
}
strong {
font-weight: bold;
}
h5 {
margin: 0;
padding-top: 4px;
font-size: 1.2rem;
font-weight: 400;
}
.events {
/* border-top: 1px solid black; */
padding: 4rem;
width: 100%;
display: grid;
grid-template-columns: calc(50% - 2rem) calc(50% - 2rem);
grid-column-gap: 4rem;
grid-row-gap: 4rem;
padding-left: calc(150px + 4rem);
}
.event {
border: 1px solid var(--accent);
padding: 1rem 1.5rem;
border-radius: 10px;
word-wrap: break-word;
/* Enable word wrapping */
/* height: fit-content; */
/* box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1),
0 8px 10px -6px rgb(0 0 0 / 0.1); */
box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
max-height: 40vh;
background: var(--eventBackground);
overflow: hidden;
}
.page {
position: absolute;
bottom: 2.8rem;
left: 3.5rem;
font-size: 1.2rem;
width: 100%;
font-family: "DIN W02 Light";
}
.image {
height: 120px;
left: 10px;
top: 7rem;
position: absolute;
}
.small-text {
font-size: 1.5rem;
font-family: "DIN W02 Light";
/* font-family: 'badSchoolFontDINNextN0Light'; */
/* font-weight: normal; */
margin: 0rem 0rem 0.6rem 0rem;
line-height: 1.085em;
}
li {
font-size: 2rem;
font-family: "DIN W02 Light";
/* font-family: 'badSchoolFontDINNextN0Light'; */
/*font-weight: normal;*/
margin: 0rem 0rem 0.6rem 0rem;
line-height: 1.085em;
color: var(--text);
}
.large-text {
font-size: 3rem;
font-family: "DIN W02 Light";
/* font-family: 'badSchoolFontDINNextN0Light'; */
/* font-weight: normal;*/
margin: 0rem 0rem 0.6rem 0rem;
line-height: 1.085em;
}
.pinned {
border: 3px solid var(--secondary) !important;
}