Skip to content

Latest commit

 

History

History
120 lines (105 loc) · 1.7 KB

File metadata and controls

120 lines (105 loc) · 1.7 KB

Default Scrollbar

::-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;
}

Default html element css

* {
  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

/* mobile < 480px */
@media screen and (max-width: 480px) {
  :root {
    font-size: 0.8rem;
  }
}

Tablet

/* tablet < 768px */
@media screen and (min-width: 480px) and (max-width: 768px) {
  :root {
    font-size: 0.7rem;
  }
}

Tablet Pc

/* tablet-pc < 992 */
@media screen and (min-width: 768px) and (max-width: 992px) {
  :root {
    font-size: 0.8rem;
  }
}

Pc

/* pc < 1200 */
@media screen and (min-width: 992px) and (max-width: 1200px) {
  :root {
    font-size: 0.9rem;
  }
}

Tv

/* tv > 1200 */
@media screen and (min-width: 1200px) {
  :root {
    font-size: 1rem;
  }
}

Tablet Max

/* tablet < 768px */
@media screen and (max-width: 768px) {
  .container {
    padding: 0.5rem;
    margin: 0;
  }
}