www.franconian.net/static/bauchbinde/assets/style.css

61 lines
1.1 KiB
CSS
Raw Normal View History

2020-12-23 19:37:15 +01:00
@font-face {
2021-12-24 23:21:32 +01:00
font-family: Changa;
font-weight: 700;
src: url('Changa-SemiBold.ttf');
2020-12-23 19:37:15 +01:00
}
2021-12-24 23:21:32 +01:00
@font-face {
font-family: SpaceMono;
src: url('SpaceMono-Regular.ttf');
2020-12-24 17:53:14 +01:00
}
2021-12-24 23:21:32 +01:00
:root {
2020-12-24 17:53:14 +01:00
--text-color: #fff;
2021-12-24 23:21:32 +01:00
--header-text-color: #252826;
--frame-color: #fff;
--bottom: 7vw;
--left: 25vw;
--width: 50vw;
--top: auto;
2020-12-24 17:53:14 +01:00
}
2020-12-23 19:37:15 +01:00
body {
margin: 0;
2021-12-24 23:21:32 +01:00
background-color: #444;
font-family: SpaceMono, monospace;
font-size: 1.7vw;
2020-12-24 17:53:14 +01:00
color: var(--text-color);
2020-12-23 19:37:15 +01:00
}
.headline {
2021-12-24 23:21:32 +01:00
text-transform: lowercase;
font-family: Changa, sans-serif;
font-weight: 700;
background: var(--frame-color);
color: var(--header-text-color);
text-align: center;
line-height: 1.3;
padding: 0 1vw;
font-size: 1.25em;
2020-12-23 19:37:15 +01:00
}
.speaker {
2021-12-24 23:21:32 +01:00
padding: 0.5vw 1vw 0.7vw;
2020-12-23 19:37:15 +01:00
}
.container {
2021-12-24 23:21:32 +01:00
transition: opacity 0.3s ease 0s;
2020-12-23 19:37:15 +01:00
position: fixed;
2020-12-25 23:17:55 +01:00
bottom: var(--bottom);
left: var(--left);
width: var(--width);
2020-12-27 23:50:47 +01:00
top: var(--top);
2021-12-24 23:21:32 +01:00
border: 0.1vw solid var(--frame-color);
2020-12-23 19:37:15 +01:00
opacity: 0;
2021-12-24 23:21:32 +01:00
background: rgba(0, 0, 0, 0.5);
2020-12-23 19:37:15 +01:00
}
.visible {
opacity: 1;
}