maotube/public/style.css

150 lines
2.3 KiB
CSS
Raw Normal View History

2024-01-18 23:45:23 +00:00
*, *::before, *::after {
box-sizing: border-box;
}
:root {
color-scheme: light dark;
2024-02-10 23:28:33 +00:00
--shadow: 0 0.125rem 0.25rem 0.125rem rgba(0, 0, 0, 0.125);
2024-01-18 23:45:23 +00:00
}
2024-02-10 23:32:50 +00:00
@media (prefers-color-scheme: dark) {
:root {
--shadow: 0 0.25rem 0.5rem 0.25rem rgba(0, 0, 0, 0.125);
}
}
2024-01-18 23:45:23 +00:00
body {
margin: 0 auto;
2024-01-19 20:56:47 +00:00
padding: 0;
2024-01-18 23:55:28 +00:00
text-align: center;
2024-01-19 04:51:00 +00:00
font-family: system-ui, sans-serif;
2024-01-18 23:45:23 +00:00
}
2024-01-19 02:10:56 +00:00
.mao-error {
display: flex;
flex-direction: column;
background: url("/chairman_1.jpg");
background-size: auto 600px;
background-repeat: no-repeat;
background-position: center center;
height: 600px;
}
.hidden {
display: none;
}
.mao-error p {
2024-02-10 23:28:33 +00:00
color: white;
2024-01-19 02:10:56 +00:00
text-transform: uppercase;
font-weight: bold;
font-family: "Impact", "Bebas", "League Gothic", "Oswald", "Coluna", "Ubuntu Condensed", system-ui, sans-serif;
2024-01-19 20:56:47 +00:00
text-shadow:
2024-01-19 02:10:56 +00:00
3px 3px 0 black,
-3px -3px 0 black,
3px -3px 0 black,
-3px 3px 0 black,
-3px 0px 0 black,
3px 0px 0 black,
0px 3px 0 black,
0px -3px 0 black;
font-size: 2em;
}
.mao-error p:last-child {
margin-top: auto;
}
2024-02-10 23:28:33 +00:00
#video-list {
2024-01-19 02:10:56 +00:00
padding: 0;
list-style: none;
2024-02-10 23:02:33 +00:00
width: 100%;
max-width: 800px;
margin: auto;
2024-01-19 02:10:56 +00:00
}
2024-01-19 03:22:22 +00:00
#video-player {
max-height: 80vh;
}
2024-01-19 20:56:47 +00:00
2024-02-10 23:02:33 +00:00
.video-item {
2024-02-10 23:28:33 +00:00
padding: 0.5rem;
border-radius: 0.25rem;
2024-02-10 23:02:33 +00:00
display: flex;
flex-direction: row;
align-items: flex-start;
2024-02-10 23:28:33 +00:00
gap: 2rem;
2024-02-10 23:02:33 +00:00
text-align: left;
background-color: rgba(255, 255, 255, 0.3);
2024-02-10 23:28:33 +00:00
box-shadow: var(--shadow);
2024-02-10 23:02:33 +00:00
}
2024-02-10 23:32:50 +00:00
@media (prefers-color-scheme: dark) {
.video-item {
background-color: rgba(0, 0, 0, 0.3);
}
}
2024-02-10 23:28:33 +00:00
.video-item .video-image {
border-radius: 0.25rem;
position: relative;
2024-02-10 23:02:33 +00:00
width: 200px;
2024-02-10 23:28:33 +00:00
height: 113px;
overflow: hidden;
2024-02-10 23:02:33 +00:00
background-color: black;
}
2024-02-10 23:28:33 +00:00
.video-item .video-image img {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
}
.video-item .shadow {
object-fit: cover;
filter: blur(0.25rem) brightness(50%);
}
.video-item .non-shadow {
object-fit: contain;
}
2024-02-10 23:02:33 +00:00
.video-item .video-info {
2024-02-10 23:28:33 +00:00
padding-block: 0.5em;
2024-02-10 23:02:33 +00:00
}
.video-item a {
font-size: 1.4em;
font-weight: bold;
}
2024-02-10 23:28:33 +00:00
a {
color: #c51e0e;
}
a:visited {
color: #FF5722;
}
2024-01-19 20:56:47 +00:00
header {
display: flex;
align-items: center;
gap: 30px;
padding: 20px;
2024-02-10 23:28:33 +00:00
box-shadow: var(--shadow);
2024-01-19 20:56:47 +00:00
}
2024-02-10 22:30:03 +00:00
header a {
2024-01-19 20:56:47 +00:00
text-decoration: none;
}
2024-02-10 23:28:33 +00:00
#app-name {
padding-right: 20px;
margin: 0;
2024-01-19 20:56:47 +00:00
}