mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-12 19:31:55 +00:00
126 lines
No EOL
2.5 KiB
Text
126 lines
No EOL
2.5 KiB
Text
@import (inline, once, css) 'stremio-colors/css/stremio-colors.css';
|
|
@import (inline, once, css) 'router/styles.css';
|
|
@import (reference) 'common/screen-sizes.less';
|
|
|
|
@font-face {
|
|
font-family: 'Roboto';
|
|
src: url('/fonts/Roboto-Light.ttf') format('truetype');
|
|
font-weight: 300;
|
|
font-style: normal;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Roboto';
|
|
src: url('/fonts/Roboto-Regular.ttf') format('truetype');
|
|
font-weight: 400;
|
|
font-style: normal;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Roboto';
|
|
src: url('/fonts/Roboto-RegularItalic.ttf') format('truetype');
|
|
font-weight: 400;
|
|
font-style: italic;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Roboto';
|
|
src: url('/fonts/Roboto-Medium.ttf') format('truetype');
|
|
font-weight: 500;
|
|
font-style: normal;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Roboto';
|
|
src: url('/fonts/Roboto-Bold.ttf') format('truetype');
|
|
font-weight: 700;
|
|
font-style: normal;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: 'Roboto';
|
|
src: url('/fonts/Roboto-Black.ttf') format('truetype');
|
|
font-weight: 900;
|
|
font-style: normal;
|
|
}
|
|
|
|
:root {
|
|
--landscape-shape-ratio: 0.5625;
|
|
--poster-shape-ratio: 1.464;
|
|
--scroll-bar-width: 6px;
|
|
--focus-outline-size: 2px;
|
|
--color-facebook: #4267b2;
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
font-size: 1rem;
|
|
line-height: 1.2em;
|
|
font-family: inherit;
|
|
border: none;
|
|
outline: none;
|
|
list-style: none;
|
|
user-select: none;
|
|
text-decoration: none;
|
|
appearance: none;
|
|
background: none;
|
|
box-shadow: none;
|
|
overflow: hidden;
|
|
word-break: break-word;
|
|
scrollbar-width: thin;
|
|
scrollbar-color: var(--color-secondarylighter80) var(--color-backgroundlight);
|
|
}
|
|
|
|
::-webkit-scrollbar {
|
|
width: var(--scroll-bar-width);
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background-color: var(--color-secondarylighter80);
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background-color: var(--color-backgroundlight);
|
|
}
|
|
|
|
html, body, #app {
|
|
position: relative;
|
|
z-index: 0;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
min-width: 800px;
|
|
min-height: 600px;
|
|
font-family: 'Roboto', 'sans-serif';
|
|
overflow: auto;
|
|
|
|
.routes-container {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
}
|
|
|
|
@media only screen and (min-width: @xxlarge) {
|
|
html {
|
|
font-size: 18px;
|
|
}
|
|
}
|
|
|
|
@media only screen and (max-width: @xxlarge) {
|
|
html {
|
|
font-size: 16px;
|
|
}
|
|
}
|
|
|
|
@media only screen and (max-width: @large) {
|
|
html {
|
|
font-size: 15px;
|
|
}
|
|
}
|
|
|
|
@media only screen and (max-width: @medium) {
|
|
html {
|
|
font-size: 14px;
|
|
}
|
|
} |