2018-05-02 00:45:31 +02:00
|
|
|
.home {
|
2018-05-11 16:07:16 +02:00
|
|
|
padding-right: env(safe-area-inset-right);
|
2018-05-11 16:08:53 +02:00
|
|
|
padding-left: env(safe-area-inset-left);
|
2018-05-11 16:07:16 +02:00
|
|
|
|
2018-05-02 00:45:31 +02:00
|
|
|
h2 {
|
2018-06-19 00:09:11 +02:00
|
|
|
font-weight: normal;
|
2018-05-02 00:45:31 +02:00
|
|
|
margin-bottom: 4rem;
|
2018-06-19 00:09:11 +02:00
|
|
|
text-align: center;
|
2018-05-02 00:45:31 +02:00
|
|
|
|
2018-05-10 21:13:25 +02:00
|
|
|
@media (min-width: 851px) {
|
|
|
|
font-size: 1.75rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 850px) {
|
|
|
|
font-size: 1.25rem;
|
|
|
|
}
|
2018-05-08 22:55:33 +02:00
|
|
|
}
|
|
|
|
|
2018-05-02 00:45:31 +02:00
|
|
|
hr {
|
|
|
|
width: 100%; height: 1px;
|
|
|
|
|
|
|
|
background-color: rgba($black, 0.1);
|
|
|
|
border: none;
|
|
|
|
margin-bottom: 4rem;
|
|
|
|
}
|
|
|
|
|
2018-05-21 22:26:15 +02:00
|
|
|
.hero {
|
2018-05-02 00:45:31 +02:00
|
|
|
align-items: center;
|
|
|
|
background-color: $black;
|
2018-08-29 01:57:18 +02:00
|
|
|
// background-image: url("/assets/media/svg/text-logo--white.svg");
|
|
|
|
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 800 300' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath fill='%23fcfcfc' d='M567.328, 43.44l72.864, 130.464l0, 82.656l46.944, 0l0, -82.656l72.576, -130.464l-50.688, 0l-44.64, 84.672l-44.64, -84.672l-52.416, 0Z'/%3E %3Cpath fill='%23fcfcfc' d='M520.672, 173.616c22.464, -10.656 34.848, -31.968 34.848, -61.056c0, -44.64 -26.496, -68.832 -81.216, -69.12l-82.368, 0l0, 213.12l46.656, 0l0, -75.168l35.136, 0l31.392, 75.168l52.416, 0l-36.864, -82.944Zm-46.656, -32.544l-35.424, 0l0, -56.448l35.712, 0c23.904, 0 31.968, 12.96 31.968, 27.936c0, 15.264 -8.352, 28.512 -32.256, 28.512Z'/%3E %3Cpath fill='%23fcfcfc' d='M328.864, 150.576c15.552, -7.2 28.512, -23.04 28.512, -48.096c0, -34.848 -25.344, -58.464 -67.104, -58.464l-43.776, 0l-46.368, 0l0, 212.544l89.568, 0c42.048, 0 70.272, -19.584 70.272, -55.872c0, -26.784 -14.976, -42.048 -31.104, -50.112Zm-43.776, -67.104c19.008, 0 25.92, 14.112 25.92, 25.344c0, 11.808 -7.2, 24.768 -25.92, 24.768l-38.592, 0l0, -50.112l38.592, 0Zm2.592, 133.632l-41.184, 0l0, -49.248l41.184, 0c15.264, 0 26.208, 10.08 26.208, 25.056c0, 14.976 -10.656, 24.192 -26.208, 24.192Z'/%3E %3Cpath fill='%23fcfcfc' d='M87.52, 214.8l0, -171.36l-47.232, 0l0, 213.12l130.752, 0l0, -41.76l-83.52, 0Z'/%3E %3C/svg%3E");
|
2018-05-02 00:45:31 +02:00
|
|
|
background-position: center;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
display: flex;
|
2018-05-18 07:39:36 +02:00
|
|
|
grid-area: header;
|
2018-05-11 16:07:16 +02:00
|
|
|
height: calc(50vh - 4rem); min-height: 300px;
|
2018-05-02 00:45:31 +02:00
|
|
|
justify-content: center;
|
|
|
|
|
2018-05-10 21:13:25 +02:00
|
|
|
@media (max-width: 850px) {
|
|
|
|
background-size: cover;
|
|
|
|
}
|
|
|
|
|
2018-06-19 00:09:11 +02:00
|
|
|
h1 {
|
2018-05-02 00:45:31 +02:00
|
|
|
background-color: $white;
|
|
|
|
border: 1px solid rgba($black, 0.1);
|
|
|
|
box-decoration-break: clone;
|
|
|
|
display: inline;
|
2018-06-19 00:09:11 +02:00
|
|
|
font-weight: normal;
|
2018-05-02 00:45:31 +02:00
|
|
|
line-height: 2;
|
|
|
|
padding: 0.4rem 1rem;
|
2018-06-19 00:09:11 +02:00
|
|
|
|
2018-08-01 00:26:12 +02:00
|
|
|
-webkit-box-decoration-break: clone; // Safari
|
|
|
|
|
2018-06-19 00:09:11 +02:00
|
|
|
@media (min-width: 851px) {
|
|
|
|
font-size: 1.75rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 850px) {
|
|
|
|
font-size: 1.25rem;
|
|
|
|
}
|
2018-05-02 00:45:31 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-05-21 22:26:15 +02:00
|
|
|
.features {
|
2018-05-18 07:39:36 +02:00
|
|
|
grid-area: features;
|
|
|
|
|
2018-05-02 00:45:31 +02:00
|
|
|
.home__features {
|
|
|
|
align-content: center;
|
|
|
|
border-bottom: 1px solid rgba($black, 0.05);
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row wrap;
|
|
|
|
list-style-type: none;
|
|
|
|
padding-top: 2rem;
|
|
|
|
padding-bottom: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.home__feature {
|
|
|
|
position: relative;
|
|
|
|
text-align: center;
|
|
|
|
vertical-align: top;
|
2018-05-10 21:13:25 +02:00
|
|
|
|
|
|
|
@media (min-width: 651px) {
|
|
|
|
width: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 650px) {
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
&:first-of-type {
|
|
|
|
padding-bottom: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-of-type {
|
|
|
|
padding-top: 1rem;
|
|
|
|
}
|
|
|
|
}
|
2018-05-02 00:45:31 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.home__feature__title {
|
|
|
|
font-size: 2rem;
|
|
|
|
margin-bottom: 0.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.home__feature__description {
|
|
|
|
font-size: 1rem;
|
|
|
|
left: 10%;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
position: relative;
|
|
|
|
width: 80%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.home__feature__cta {
|
|
|
|
@extend .__button-black;
|
|
|
|
display: inline-block;
|
|
|
|
font-size: 1rem;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-05-21 22:26:15 +02:00
|
|
|
.intro,
|
|
|
|
.docs,
|
|
|
|
.contribute,
|
|
|
|
.develop,
|
|
|
|
.community {
|
2018-05-02 00:45:31 +02:00
|
|
|
padding-top: 3rem;
|
2018-05-02 17:47:17 +02:00
|
|
|
padding-bottom: 3.5rem;
|
|
|
|
|
|
|
|
.inner-wrap {
|
|
|
|
position: relative;
|
|
|
|
}
|
2018-05-02 00:45:31 +02:00
|
|
|
|
|
|
|
h3 {
|
2018-05-02 17:47:17 +02:00
|
|
|
letter-spacing: 0.1rem;
|
|
|
|
line-height: 1;
|
|
|
|
text-transform: uppercase;
|
2018-05-10 21:13:25 +02:00
|
|
|
|
|
|
|
@media (min-width: 1301px) {
|
|
|
|
top: -0.85rem; left: -2rem;
|
|
|
|
|
|
|
|
color: rgba($black, 0.045);
|
|
|
|
font-size: 4rem;
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 1300px) {
|
|
|
|
color: $black;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 901px) and (max-width: 1300px) {
|
|
|
|
font-size: 3rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 900px) {
|
|
|
|
font-size: 2rem;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
2018-05-02 17:47:17 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin-bottom: 1.5rem;
|
|
|
|
max-width: 1000px;
|
|
|
|
|
2018-05-10 21:13:25 +02:00
|
|
|
@media (min-width: 901px) {
|
|
|
|
font-size: 1.5rem;
|
|
|
|
line-height: 1.55;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 900px) {
|
|
|
|
font-size: 1.25rem;
|
|
|
|
line-height: 1.33;
|
|
|
|
}
|
|
|
|
|
2018-05-02 17:47:17 +02:00
|
|
|
&:first-of-type {
|
|
|
|
padding-top: 0.5rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.cta {
|
|
|
|
@extend .__button-black;
|
|
|
|
top: 0.5rem;
|
2018-05-02 00:45:31 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-05-21 22:26:15 +02:00
|
|
|
.intro,
|
|
|
|
.docs,
|
|
|
|
.contribute,
|
|
|
|
.develop {
|
2018-05-02 00:45:31 +02:00
|
|
|
border-bottom: 1px solid rgba($black, 0.05);
|
|
|
|
}
|
2018-05-02 17:47:17 +02:00
|
|
|
|
2018-05-21 22:26:15 +02:00
|
|
|
.intro,
|
|
|
|
.docs {
|
2018-05-18 07:39:36 +02:00
|
|
|
@media (min-width: 1301px) {
|
|
|
|
padding-left: 10%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-05-21 22:26:15 +02:00
|
|
|
.intro {
|
2018-05-18 07:39:36 +02:00
|
|
|
grid-area: intro;
|
|
|
|
}
|
|
|
|
|
2018-05-21 22:26:15 +02:00
|
|
|
.docs {
|
2018-05-18 07:39:36 +02:00
|
|
|
grid-area: docs;
|
|
|
|
}
|
|
|
|
|
2018-05-21 22:26:15 +02:00
|
|
|
.community,
|
|
|
|
.contribute {
|
2018-05-03 23:55:34 +02:00
|
|
|
p {
|
2018-05-10 21:13:25 +02:00
|
|
|
@media (min-width: 1301px) {
|
|
|
|
margin-right: auto;
|
|
|
|
margin-left: auto;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2018-05-03 23:55:34 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
list-style-type: none;
|
|
|
|
padding-top: 1rem;
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
@include clearfix;
|
|
|
|
}
|
|
|
|
|
2018-05-10 21:13:25 +02:00
|
|
|
@media (min-width: 901px) {
|
|
|
|
font-size: 1.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 751px) and (max-width: 900px) {
|
|
|
|
font-size: 1.25rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 750px) {
|
|
|
|
font-size: 1rem;
|
|
|
|
}
|
|
|
|
|
2018-05-03 23:55:34 +02:00
|
|
|
li {
|
|
|
|
float: left;
|
|
|
|
position: relative;
|
|
|
|
text-align: center;
|
|
|
|
|
2018-05-10 21:13:25 +02:00
|
|
|
@media (max-width: 750px) {
|
|
|
|
margin-bottom: 2rem;
|
|
|
|
min-width: 8rem;
|
2018-05-03 23:55:34 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
display: block;
|
|
|
|
position: relative;
|
2018-05-10 21:13:25 +02:00
|
|
|
padding-top: 4rem;
|
2018-05-03 23:55:34 +02:00
|
|
|
transition: color 0.2s;
|
|
|
|
|
2018-05-10 21:13:25 +02:00
|
|
|
&::before {
|
|
|
|
width: 100%; height: 100%;
|
|
|
|
|
|
|
|
background-position: center 0;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
content: "";
|
|
|
|
left: 0;
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
2018-05-03 23:55:34 +02:00
|
|
|
&:not(:hover) {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: $teal;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-05-02 17:47:17 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-05-21 22:26:15 +02:00
|
|
|
.contribute {
|
2018-05-18 07:39:36 +02:00
|
|
|
grid-area: contribute;
|
|
|
|
|
2018-05-02 17:47:17 +02:00
|
|
|
ul {
|
|
|
|
li {
|
2018-05-12 02:35:47 +02:00
|
|
|
@media (min-width: 701px) {
|
|
|
|
width: calc(100% / 5);
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 700px) {
|
|
|
|
width: 50%;
|
|
|
|
}
|
2018-05-02 17:47:17 +02:00
|
|
|
|
2018-05-10 21:13:25 +02:00
|
|
|
a::before {
|
|
|
|
@media (min-width: 901px) {
|
|
|
|
background-size: 4rem;
|
|
|
|
top: -1rem;
|
2018-05-03 23:55:34 +02:00
|
|
|
}
|
|
|
|
|
2018-05-10 21:13:25 +02:00
|
|
|
@media (max-width: 900px) {
|
|
|
|
background-size: 3rem;
|
|
|
|
top: 0;
|
2018-05-03 23:55:34 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-05-10 21:13:25 +02:00
|
|
|
&:nth-child(1) a::before {
|
2018-07-23 23:46:58 +02:00
|
|
|
background-image: url("/assets/media/svg/flag.svg");
|
2018-05-02 17:47:17 +02:00
|
|
|
}
|
|
|
|
|
2018-05-10 21:13:25 +02:00
|
|
|
&:nth-child(2) a::before {
|
2018-07-23 23:46:58 +02:00
|
|
|
background-image: url("/assets/media/svg/keyboard.svg");
|
2018-05-02 17:47:17 +02:00
|
|
|
}
|
|
|
|
|
2018-05-10 21:13:25 +02:00
|
|
|
&:nth-child(3) a::before {
|
2018-07-23 23:46:58 +02:00
|
|
|
background-image: url("/assets/media/svg/anchor.svg");
|
2018-05-02 17:47:17 +02:00
|
|
|
}
|
|
|
|
|
2018-05-10 21:13:25 +02:00
|
|
|
&:nth-child(4) a::before {
|
2018-07-23 23:46:58 +02:00
|
|
|
background-image: url("/assets/media/svg/chat.svg");
|
2018-05-02 17:47:17 +02:00
|
|
|
}
|
|
|
|
|
2018-05-10 21:13:25 +02:00
|
|
|
&:nth-child(5) a::before {
|
2018-07-23 23:46:58 +02:00
|
|
|
background-image: url("/assets/media/svg/monitor.svg");
|
2018-05-02 17:47:17 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-05-10 21:13:25 +02:00
|
|
|
|
2018-05-21 22:26:15 +02:00
|
|
|
.develop {
|
2018-05-18 07:39:36 +02:00
|
|
|
grid-area: develop;
|
|
|
|
}
|
|
|
|
|
2018-05-21 22:26:15 +02:00
|
|
|
.community {
|
2018-05-18 07:39:36 +02:00
|
|
|
grid-area: community;
|
|
|
|
|
2018-05-10 21:13:25 +02:00
|
|
|
ul {
|
|
|
|
li {
|
2018-05-12 02:35:47 +02:00
|
|
|
@media (min-width: 701px) {
|
2018-06-13 19:36:34 +02:00
|
|
|
// width: calc(100% / 3); // https://github.com/lbryio/lbry.tech/issues/104
|
|
|
|
width: 50%; //
|
2018-05-12 02:35:47 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 700px) {
|
|
|
|
width: 50%;
|
|
|
|
}
|
2018-05-10 21:13:25 +02:00
|
|
|
|
|
|
|
a::before {
|
|
|
|
@media (min-width: 901px) {
|
|
|
|
background-size: 6rem;
|
|
|
|
top: -2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 900px) {
|
|
|
|
background-size: 4rem;
|
|
|
|
top: -0.5rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:nth-child(1) a::before {
|
2018-07-23 23:46:58 +02:00
|
|
|
background-image: url("/assets/media/svg/discord.svg");
|
2018-05-10 21:13:25 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&:nth-child(2) a::before {
|
2018-07-23 23:46:58 +02:00
|
|
|
background-image: url("/assets/media/svg/reddit.svg");
|
2018-05-10 21:13:25 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&:nth-child(3) a::before {
|
2018-07-23 23:46:58 +02:00
|
|
|
background-image: url("/assets/media/svg/slack.svg");
|
2018-05-10 21:13:25 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-05-02 00:45:31 +02:00
|
|
|
}
|