lbry.tech/.vuepress/scss/pages/_overview.scss

231 lines
3.5 KiB
SCSS
Raw Normal View History

2018-05-25 22:02:50 +02:00
.overview {
}
.overview__ecosystem {
2018-05-25 23:55:03 +02:00
margin-bottom: 2rem; padding-top: 1rem;
2018-05-25 22:02:50 +02:00
display: grid;
grid-gap: 2rem;
font-size: 1rem;
2018-05-25 23:55:03 +02:00
@media (min-width: 1081px) {
grid-template-columns: auto 5% 144px auto 144px;
}
2018-05-25 22:02:50 +02:00
}
.overview__ecosystem__module {
min-height: 144px;
&.lbrycard,
&.lbryschema,
&.lbryumx,
&.lbry,
&.lighthouse,
&.chainquery {
@include center;
.__title {
color: $white;
font-size: 1rem;
}
}
&.lbrycard {
background-color: $black;
2018-05-25 23:55:03 +02:00
@media (min-width: 1081px) {
grid-row: 1/3;
}
@media (max-width: 1080px) {
grid-row: 1;
}
@media (min-width: 501px) {
grid-column: 1;
}
2018-05-25 22:02:50 +02:00
}
&.lbryschema {
background-color: $red;
position: relative;
2018-05-25 23:55:03 +02:00
@media (min-width: 1081px) {
grid-row: 1/3;
2018-05-25 22:02:50 +02:00
2018-05-25 23:55:03 +02:00
.__title {
transform: rotate(-90deg);
transform-origin: 50% 50%;
}
}
2018-05-25 22:02:50 +02:00
2018-05-25 23:55:03 +02:00
@media (min-width: 501px) and (max-width: 1080px) {
grid-row: 1;
2018-05-25 22:02:50 +02:00
}
2018-05-25 23:55:03 +02:00
@media (min-width: 501px) {
grid-column: 2;
2018-05-25 22:02:50 +02:00
}
2018-05-25 23:55:03 +02:00
@media (max-width: 500px) {
grid-row: 2;
2018-05-25 22:02:50 +02:00
}
}
&.lbryumx {
background-color: $blue;
border-radius: 50%;
2018-05-25 23:55:03 +02:00
@media (min-width: 1081px) {
grid-column: 3;
grid-row: 1;
}
@media (max-width: 1080px) {
grid-row: 3;
margin-right: auto;
margin-left: auto;
width: 144px;
}
@media (min-width: 501px) and (max-width: 1080px) {
grid-column: 2;
}
@media (max-width: 500px) {
grid-row: 4;
}
2018-05-25 22:02:50 +02:00
}
&.lbry {
background-color: $green;
2018-05-25 23:55:03 +02:00
@media (min-width: 1081px) {
grid-column: 3;
grid-row: 2;
}
@media (max-width: 1080px) {
grid-row: 3;
}
@media (min-width: 501px) and (max-width: 1080px) {
grid-column: 1;
}
@media (max-width: 500px) {
grid-row: 3;
}
2018-05-25 22:02:50 +02:00
}
&.applications {
2018-05-25 23:55:03 +02:00
@include center;
2018-05-25 22:02:50 +02:00
background-color: $violet;
list-style-type: none;
text-align: center;
2018-05-25 23:55:03 +02:00
@media (min-width: 1081px) {
grid-column: 4;
grid-row: 1/3;
}
2018-05-25 22:02:50 +02:00
2018-05-25 23:55:03 +02:00
@media (max-width: 1080px) {
padding-top: 1rem;
padding-bottom: 2rem;
2018-05-25 22:02:50 +02:00
}
2018-05-25 23:55:03 +02:00
@media (min-width: 501px) and (max-width: 1080px) {
grid-row: 4;
grid-column: 1/3;
}
2018-05-25 22:02:50 +02:00
2018-05-25 23:55:03 +02:00
@media (max-width: 500px) {
grid-row: 5;
}
2018-05-25 22:02:50 +02:00
2018-05-25 23:55:03 +02:00
> div {
width: 100%;
2018-05-25 22:02:50 +02:00
2018-05-25 23:55:03 +02:00
> .__title {
color: $white;
display: block;
margin-bottom: 1rem;
}
}
2018-05-25 22:02:50 +02:00
}
&.lighthouse {
background-color: $pink;
border-radius: 50%;
2018-05-25 23:55:03 +02:00
@media (min-width: 1081px) {
grid-column: 5;
grid-row: 1;
}
@media (max-width: 1080px) {
margin-right: auto;
margin-left: auto;
width: 144px;
}
@media (min-width: 501px) and (max-width: 1080px) {
grid-column: 1;
grid-row: 5;
}
@media (max-width: 500px) {
grid-row: 6;
}
2018-05-25 22:02:50 +02:00
}
&.chainquery {
background-color: $orange;
border-radius: 50%;
2018-05-25 23:55:03 +02:00
@media (min-width: 1081px) {
grid-column: 5;
grid-row: 2;
}
@media (max-width: 1080px) {
margin-right: auto;
margin-left: auto;
width: 144px;
}
@media (min-width: 501px) and (max-width: 1080px) {
grid-column: 2;
grid-row: 5;
}
@media (max-width: 500px) {
grid-row: 7;
}
2018-05-25 22:02:50 +02:00
}
}
2018-05-25 23:55:03 +02:00
2018-05-25 22:02:50 +02:00
.overview__ecosystem__module__piece {
background-color: $white;
left: 10%;
line-height: 2;
position: relative;
width: 80%;
&:not(:last-of-type) {
margin-bottom: 0.5rem;
}
}