view src/main.css @ 49:1bd17c2e5517 default tip

video.py must sign video urls for serve-files.js to serve them
author drewp@bigasterisk.com
date Fri, 06 Dec 2024 17:13:51 -0800
parents c2c51aae3e31
children
line wrap: on
line source

* {
  font-family: sans-serif;
}

body {
  margin: 0;
  height: 100vh;
  background: radial-gradient(ellipse at center, #162c4a 0%, #0c2236 36%, #020f16 100%) !important;
  color: white;
}

header {
  background: rgb(247 112 31 / 44%);
  border-bottom: 3px solid black;
  display: flex;
  align-items: center;
}

footer {
  background: rgb(247 112 31 / 44%);
  border-top: 3px solid black;
  display: flex;
  align-items: center;
  margin-top: 3em;
  padding: 6px;
}

header img {
  height: 50px;
  vertical-align: middle;
}

h1,
h2,
h3,
a {
  color: white;
}

video-section {
  margin: 8px;
}

.listing a {
  font-size: 20px;
  text-transform: uppercase;
  text-underline-offset: 10px;
}

.listing a .subdir {
  transition: background 0.5s;
  transition-delay: 0.1s;
  background: #4ea1bd21;
}

.listing a:hover .subdir {
  transition: background 0.5s;
  background: #4ea1bd66;
}

.subdir {
  vertical-align: top;
  color: white;
  padding: 11px;
  display: inline-block;
  width: 300px;
  margin: 5px;
  border-radius: 5px;
}

.subdir:after {
  content: " › ";
  color: #979797;
}

#scrim {
  position: fixed;
  background: #000000b5;
  inset: 0;
  display: none;
}
.videoListing {
  box-shadow: 4px 4px 2px #00000029;
  border-radius: 5px;
  background: #ffffff14;
  display: inline-block;
  padding: 10px;
  color: white;
  width: 255px;
}
.video-title {
  line-clamp: 2;
  height: 3.2em;
}
#imgCrop {
  overflow: hidden;
  width: 250px;
  height: 140px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  display: inline-block;
}