panjareh
Version:
Panjareh using aparat and phoenix-video-player to play videos on desktops and tvs.
105 lines (101 loc) • 1.92 kB
CSS
body {
margin: 0;
font-family: YekanBakh;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background-color: black;
}
@media (max-width: 640px) {
html,
body {
font-size: 10px;
}
}
.wrapper {
position: relative;
width: 100vw;
height: 100vh;
background-color: rgb(0, 0, 0);
}
.wrapper .video-js {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.spinner-ring {
display: inline-block;
position: absolute;
width: 80px;
height: 80px;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.spinner-ring div {
box-sizing: border-box;
display: block;
position: absolute;
width: 64px;
height: 64px;
margin: 8px;
border: 3px solid #c10000;
border-radius: 50%;
animation: spinner-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
border-color: #c10000 transparent transparent transparent;
}
.spinner-ring div:nth-child(1) {
animation-delay: -0.45s;
}
.spinner-ring div:nth-child(2) {
animation-delay: -0.3s;
}
.spinner-ring div:nth-child(3) {
animation-delay: -0.15s;
}
@keyframes spinner-ring {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.message-info-card {
position: absolute;
top: 50%;
right: 0;
left: 0;
transform: translate(0, -50%);
border-radius: 6px;
text-align: center;
padding: 2rem 3rem;
font-size: 1rem;
color: white;
}
.message-info-card__title {
font-size: 3em;
font-weight: bold;
color: #e5e5e5;
line-height: 1.5em;
margin-bottom: 6px;
}
.message-info-card__description {
font-size: 1.5em;
color: #e5e5e5;
max-width: 50%;
margin: 0 auto 1.13rem;
}
.message-info-card__button {
background-color: white;
padding: 1rem 1rem;
display: inline-block;
color: black;
text-decoration: none;
border-radius: 6px;
font-size: 1.5em;
line-height: 1.416666667em;
font-weight: bold;
min-width: 9.75rem;
}