astroport-webui/styles/crowdbunker/crowdbunker.css

194 lines
2.3 KiB
CSS

:root {
--pink: hsl(338.5, 72.8%, 36.1%);
--light-pink: hsl(338.5, 72.8%, 56.1%);
--canard: hsl(200.8, 100%, 9.6%);
}
body {
background: #121212;
color: white;
margin: 0;
padding: 0;
font-family: Roboto,sans-serif;
}
header {
background: var(--canard);
overflow: hidden;
padding: 1rem 0.666rem 1.333rem;
margin-bottom: 2rem;
}
header a,
header a:visited {
color: white;
text-decoration: none;
}
header a:active {
outline: 0;
}
header > * {
font-size: 1.5rem;
margin: 0;
padding: 0;
}
header > .sitetitle {
margin-bottom: 0.25rem;
}
header > .sitetitle span {
border-bottom: 0.125rem solid var(--pink);
}
header .usp {
color: white;
font-size: 0.95rem;
}
header .usp strong {
font-size: 1em;
font-weight: inherit;
color: var(--light-pink);
}
main {
width: 95%;
margin: auto;
}
#videosList {
display: grid;
grid-gap: 1rem 1rem;
grid-auto-flow: row;
grid-template-columns: 322px 322px 322px;
list-style: none;
margin: 0;
padding: 0;
justify-content: center;
}
#videosList li {
background: var(--canard);
border-color: var(--pink);
border-radius: 0.25rem;
border-width: 1px;
border-style: solid;
overflow: hidden;
}
#videosList .video-title {
padding: 0.5rem 1rem;
}
.video-title,
.video-title a,
.video-title a:visited {
color: white;
font-weight: bold;
text-decoration: none;
}
article {
border-radius: 0.25rem;
background: hsl(200.8, 100%, 9.6%);
width: 58.3%;
margin: auto;
overflow: hidden;
}
article video {
width: 100%;
max-height: calc(100vh - 14rem);
background: black;
}
article .video-title {
font-weight: bold;
padding: 1rem 1rem;
font-size: 1.25rem;
margin: 0;
}
form.add-video {
position: absolute;
top: 0.50rem;
right: 0.50rem;
}
form.add-video input {
height: 2rem;
padding: 0.25rem 0.5rem;
box-sizing: border-box;
border-width: 0.125rem;
border-radius: 0.5rem;
}
form.add-video input[type="text"] {
border-style: solid;
border-color: transparent;
}
form.add-video input[type="text"]:focus {
border-color: var(--pink);
outline: 0;
}
form.add-video input[type="submit"] {
background: var(--pink);
border-color: var(--pink);
border-style: solid;
color: white;
font-weight: bold;
}
form label {
display: none;
}
form label input {
width: 50%;
}
form.add-video .confirmation {
margin: 0.5rem 0;
font-size: 0.85rem;
text-align: center;
}