::-webkit-scrollbar {
width: 0.5rem;
}
::-webkit-scrollbar-thumb {
background-color: var(--contentTextPrimary);
}
::-webkit-scrollbar-thumb:hover {
background-color: var(--contentBgPrimary);
}
::-webkit-scrollbar-track {
background-color: var(--contentTextSecondary);
box-shadow: inset 0 0 0.3rem var(--contentTextPrimary);
}
::-webkit-scrollbar-track-piece {
background-color: transparent;
}
* {
outline: 0;
}
:root {
font-size: 0.9rem;
--transparent: transparent;
}
body {
margin: 0;
padding: 0;
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center;
background-size: cover;
}
a {
cursor: pointer;
color: inherit;
transition: all 0.5s ease;
text-decoration: none;
}
a:hover {
color: var(--contentTextSecondary);
}
video::cue {
background-color: rgba(0, 0, 0, 0.5);
font-size: 1rem;
}
/* mobile < 480px */
@media screen and (max-width: 480px) {
:root {
font-size: 0.8rem;
}
}
/* tablet < 768px */
@media screen and (min-width: 480px) and (max-width: 768px) {
:root {
font-size: 0.7rem;
}
}
/* tablet-pc < 992 */
@media screen and (min-width: 768px) and (max-width: 992px) {
:root {
font-size: 0.8rem;
}
}
/* pc < 1200 */
@media screen and (min-width: 992px) and (max-width: 1200px) {
:root {
font-size: 0.9rem;
}
}
/* tv > 1200 */
@media screen and (min-width: 1200px) {
:root {
font-size: 1rem;
}
}
/* tablet < 768px */
@media screen and (max-width: 768px) {
.container {
padding: 0.5rem;
margin: 0;
}
}