Sakuga / public /style.css
KiritoAxinity's picture
Upload 3 files
f4fd3b7 verified
Raw History Blame Contribute Delete
5.11 kB
/* colors https://coolors.co/2f1416-2f2e2e-212c2b-140d11-0a090b */
body, html, video, #videocontainer {
margin:0;
padding:0;
background:#000;
height: 100%;
width: 100%;
overflow-y: hidden;
font: 15px 'Open Sans', sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
body {
display: flex;
align-items: center;
justify-content: center;
}
video {
position: fixed;
visibility: hidden;
}
video::-webkit-media-controls {
display:none !important;
}
video.active {
object-fit: contain;
visibility: visible;
}
#title {
background: rgba(2, 2, 2, .7);
color: rgba(255, 255, 255, 0.9);
position:fixed;
left: 50%;
transform: translateX(-50%);
margin:0;
padding:14px;
font-size: 40px;
z-index: 2147483647;
}
.controls {
z-index: 2147483647;
padding: 14px;
margin: 0;
position: fixed;
background: rgba(2, 2, 2, .7);
color: rgba(255, 255, 255, 0.9);
}
#main-controls {
bottom: 0%;
left: 50%;
transform: translateX(-50%);
}
#main-controls #donate {
margin: 11px 14px;
}
#main-controls #donate a{
color: #30BCED;
text-decoration: none;
background: rgba(50, 50, 50, 0.9);
padding: 11px;
display: block;
text-align: center;
transition: background-color 0.2s 0.1s, color 0.2s 0.1s;
}
#main-controls #donate a:hover {
background:#30BCED;
color: rgba(50, 50, 50, 0.9);
}
.controls ul#playback-controls {
list-style: none;
padding: 0;
margin: 0;
white-space: nowrap;
}
.controls ul#playback-controls li {
display: inline-block;
}
.controls button {
-moz-appearance: none;
-webkit-appearance: none;
background: none;
border: none;
outline: none;
}
.controls button:hover {
text-shadow: 0px 0px 5px #fff;
}
.controls button:active {
text-shadow: 0px 0px 20px #fff;
}
.controls input[list=tags] {
font: inherit;
color: inherit;
background-color: transparent;
-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
-moz-box-sizing: border-box; /* Firefox, other Gecko */
box-sizing: border-box; /* Opera/IE 8+ */
border: none;
padding: 11px 14px 12px 14px;
width: 100%;
-moz-appearance: none;
-webkit-appearance: none;
resize: none;
outline: 0;
}
.controls input:focus {
background: rgba(0, 0, 0, 0.9);
}
.controls input::placeholder,
.controls input:-ms-input-placeholder,
.controls input::-ms-input-placeholder {
color: rgba(255, 255, 255, 0.8);
opacity: 1; /* Firefox */
}
#about {
right: 0;
}
#about a {
color: rgba(255, 255, 255, 0.5);
text-decoration: none;
}
#about a:hover {
text-decoration: underline;
}
#other-controls p, #about p {
margin: 0;
padding: 0;
color: rgba(255, 255, 255, 0.5);
user-select: none;
}
#other-controls label, #other-controls div {
padding-bottom: 5px;
display:block;
}
#other-controls #hidden {
height: 0px;
visibility: hidden;
opacity: 0;
padding: 0;
transition: visibility 0.2s, opacity 0.2s, height 0.2s, padding 0.2s;
transition-delay: 0.3s;
}
#other-controls:hover #hidden{
height: 96px;
visibility: visible;
padding: 14px 0px;
opacity: 1;
transition-delay: .1s;
}
#other-controls:hover {
height: fit-content;
opacity: 1;
}
label.checkbox {
display: block;
padding: 0px 14px;
text-indent: -14px;
}
input[type=checkbox] {
width: 13px;
height: 13px;
padding: 0;
margin:0;
vertical-align: middle;
position: relative;
top: -1px;
*overflow: hidden;
opacity: .7;
}
.video-tags {
list-style: none;
padding: 11px 14px;
margin: 0px;
}
#artist-tags::before {
content: "artist";
color: rgba(255, 255, 255, 0.5);
}
#copyright-tags::before {
color: rgba(255, 255, 255, 0.5);
content: "source";
}
#character-tags::before {
color: rgba(255, 255, 255, 0.5);
content: "character";
}
.video-tags:empty {
display: none;
}
.video-tags a {
color: inherit;
text-decoration: none;
}
.video-tags a:hover, label.checkbox:hover, #about a:hover {
color: rgba(255, 255, 255, 1);
text-shadow: 0px 0px 5px #fff;
cursor: pointer;
}
.video-tags .current-tag {
text-shadow: 0px 0px 5px #fff;
}
.video-tags .current-tag::before {
content: "➤";
position: absolute;
text-shadow: 0px 0px 5px #fff;
left: 10px;
margin-top:1px;
}
.video-tags .current-tag:hover::before {
content: "✕";
}
input::-webkit-calendar-picker-indicator {
background-color: inherit;
}
.material-icons.md-48 {
font-size: 48px;
}
.material-icons.md-light {
color: rgba(255, 255, 255, 1);
}
.fade-out .controls, #title.fade-out {
display: block;
visibility: hidden !important;
opacity: 0 !important;
transition: visibility 0.2s, opacity 0.2s;
}
.fade-out {
cursor: none;
}
@media (max-width: 500px) {
#title {
font-size: 24px;
}
}
@media (max-height: 500px) {
#title {
font-size: 24px;
}
}