lbry.tech/app/sass/_layout.scss

103 lines
1.3 KiB
SCSS
Raw Normal View History

2018-12-11 20:22:18 +01:00
@include font-face(400, "./type/inter", "Inter UI");
@include font-face(700, "./type/inter", "Inter UI");
2018-05-02 00:45:31 +02:00
html,
body {
width: 100%; height: 100%;
}
html {
2018-10-13 00:29:53 +02:00
background-color: $lbry-white;
2019-02-07 22:17:30 +01:00
font-size: 1rem;
2018-05-02 00:45:31 +02:00
}
body {
@include font-sans;
2018-10-06 00:46:08 +02:00
min-width: 320px;
2018-10-13 00:29:53 +02:00
color: $lbry-black;
2018-05-02 00:45:31 +02:00
font-size: 12px;
overflow-x: hidden;
position: relative;
z-index: 0;
}
2018-07-12 23:07:16 +02:00
main {
2018-10-06 00:46:08 +02:00
min-height: 100vh;
2018-07-12 23:07:16 +02:00
display: flex;
flex-direction: column;
padding-top: 4rem;
}
2019-05-14 21:40:35 +02:00
.disable-scrolling {
top: 0; right: 0;
bottom: 0; left: 0;
overflow: hidden;
position: fixed;
}
2018-05-02 00:45:31 +02:00
.inner-wrap {
2018-10-06 00:46:08 +02:00
max-width: 1200px;
2018-05-02 00:45:31 +02:00
margin-right: auto;
margin-left: auto;
@media (min-width: 901px) {
padding-right: 1rem;
padding-left: 1rem;
}
@media (max-width: 900px) {
padding-right: 2rem;
padding-left: 2rem;
}
&::after {
@include clearfix;
}
}
2018-10-06 00:46:08 +02:00
h1,
h2,
h3,
h4,
h5 {
font-weight: 600;
2018-05-02 00:45:31 +02:00
.header-anchor {
display: none;
}
}
hr {
width: 100%; height: 1px;
2018-10-13 00:29:53 +02:00
background-color: $lbry-gray-2;
border: none;
margin-bottom: 1rem;
}
2018-10-04 00:04:18 +02:00
code {
@include font-mono;
}
2019-01-18 00:11:25 +01:00
sub,
sup {
font-size: 0.8rem;
}
2019-01-25 21:14:30 +01:00
sub {
display: block;
line-height: 1.55;
}
2019-02-20 00:55:06 +01:00
frame-viewer {
2019-05-14 21:40:35 +02:00
width: 100%; height: calc(100vh - 4rem);
2019-02-20 00:55:06 +01:00
display: block;
iframe {
width: 100%; height: 100%;
}
}