Modify video player design (#573)

This commit is contained in:
pollfly
2023-05-28 09:59:24 +03:00
committed by GitHub
parent e77448ff88
commit 2cd4ea40d5
19 changed files with 32 additions and 18 deletions

View File

@@ -991,4 +991,18 @@ html[data-theme=dark] .cml-card i {
html[data-theme=dark] .cml-card i {
background-color: var(--ifm-background-color);
border-color: var(--ifm-color-gray-800);
}
.vid {
position: relative;
overflow: hidden;
width: 100%;
padding-top: 56.25%;
background-color: rgba(0,0,0,0.1);
border: 12px solid rgba(0,0,0,0.1);
border-radius: calc(var(--ifm-card-border-radius) * 1.5);
}
html[data-theme=dark] .vid {
border-color: rgba(0,0,0,0.3);
background-color: rgba(0,0,0,0.3);
}