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-12-04 00:12:24 +01:00
|
|
|
|
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;
|
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;
|
|
|
|
}
|
|
|
|
|
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 {
|
2018-12-03 22:29:06 +01:00
|
|
|
font-weight: 600;
|
|
|
|
|
2018-05-02 00:45:31 +02:00
|
|
|
.header-anchor {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
2018-05-21 22:26:15 +02:00
|
|
|
|
2018-07-20 17:57:25 +02:00
|
|
|
hr {
|
|
|
|
width: 100%; height: 1px;
|
|
|
|
|
2018-10-13 00:29:53 +02:00
|
|
|
background-color: $lbry-gray-2;
|
2018-07-20 17:57:25 +02:00
|
|
|
border: none;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
|
2018-10-04 00:04:18 +02:00
|
|
|
code {
|
|
|
|
@include font-mono;
|
|
|
|
}
|
|
|
|
|
2018-05-21 22:26:15 +02:00
|
|
|
.alert {
|
2018-10-06 00:46:08 +02:00
|
|
|
width: 100%;
|
2018-05-25 18:22:24 +02:00
|
|
|
bottom: 0; left: 0;
|
2018-05-24 18:39:10 +02:00
|
|
|
|
2018-10-13 00:29:53 +02:00
|
|
|
background-color: $lbry-yellow-3;
|
2018-05-21 22:26:15 +02:00
|
|
|
line-height: 1.33;
|
|
|
|
padding-top: 1rem;
|
|
|
|
padding-right: env(safe-area-inset-right);
|
|
|
|
padding-bottom: 1rem;
|
|
|
|
padding-left: env(safe-area-inset-left);
|
2018-05-25 18:22:24 +02:00
|
|
|
position: fixed;
|
2018-05-31 23:25:48 +02:00
|
|
|
text-align: left;
|
2018-06-07 01:04:22 +02:00
|
|
|
z-index: 3;
|
2018-05-24 18:39:10 +02:00
|
|
|
|
|
|
|
> div:first-of-type {
|
|
|
|
position: relative;
|
|
|
|
}
|
2018-05-21 22:26:15 +02:00
|
|
|
|
|
|
|
@media (min-width: 901px) {
|
|
|
|
font-size: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 900px) {
|
|
|
|
font-size: 0.8rem;
|
|
|
|
}
|
|
|
|
|
2018-10-06 00:46:08 +02:00
|
|
|
p,
|
|
|
|
button {
|
2018-05-24 18:39:10 +02:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
width: calc(100% - 2.25rem);
|
2018-10-06 00:46:08 +02:00
|
|
|
padding-right: 1rem;
|
2018-05-24 18:39:10 +02:00
|
|
|
}
|
|
|
|
|
2018-05-21 22:26:15 +02:00
|
|
|
a {
|
|
|
|
font-weight: 600;
|
2018-05-24 18:39:10 +02:00
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
|
|
|
|
button {
|
|
|
|
width: 1.25rem; height: 1.25rem;
|
|
|
|
top: 0; right: 0;
|
|
|
|
|
2018-10-13 00:29:53 +02:00
|
|
|
background-color: $lbry-white;
|
2018-05-24 18:39:10 +02:00
|
|
|
border-radius: 50%;
|
|
|
|
display: block;
|
|
|
|
font-size: 1rem;
|
|
|
|
line-height: 1;
|
|
|
|
margin-right: 1rem;
|
|
|
|
margin-left: 1rem;
|
2018-07-12 17:21:42 +02:00
|
|
|
// padding-left: 1px; // TODO: Enable this for low-dpi displays
|
2018-05-24 18:39:10 +02:00
|
|
|
position: absolute;
|
|
|
|
text-align: center;
|
2018-05-21 22:26:15 +02:00
|
|
|
}
|
|
|
|
}
|