2022-02-09 12:48:13 -05:00
|
|
|
@use "sass:math";
|
|
|
|
|
2018-08-02 13:09:55 -04:00
|
|
|
@import "../../colors";
|
|
|
|
@import "../../frameless";
|
|
|
|
|
|
|
|
#view {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2023-07-12 18:16:18 -04:00
|
|
|
html {
|
|
|
|
// Adjust target position to compensate for the floating top content
|
|
|
|
scroll-padding-top: calc(50px + 5rem); // nav bar + OS chooser
|
|
|
|
}
|
|
|
|
|
2018-08-02 13:09:55 -04:00
|
|
|
.extension-landing {
|
|
|
|
&>div {
|
|
|
|
padding: 4rem 0;
|
|
|
|
}
|
|
|
|
|
2018-08-22 10:45:19 -04:00
|
|
|
h1 {
|
2018-08-23 11:18:12 -04:00
|
|
|
font-size: 2rem;
|
2018-08-22 10:45:19 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
h1, h2 {
|
2018-08-02 13:09:55 -04:00
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
margin-bottom: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
|
|
|
line-height: 1.7rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
hr {
|
|
|
|
margin: 4rem 0;
|
|
|
|
border-width: 1px 0 0 0;
|
|
|
|
border-style: solid;
|
|
|
|
border-color: $ui-border;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2019-04-30 15:56:20 -04:00
|
|
|
.headline-icon {
|
|
|
|
height: 40px;
|
|
|
|
width: 40px;
|
2023-02-01 23:06:41 -05:00
|
|
|
margin: auto 0;
|
2019-04-30 15:56:20 -04:00
|
|
|
}
|
|
|
|
|
2018-08-02 13:09:55 -04:00
|
|
|
.download {
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
display: inline-block;
|
|
|
|
margin-left: .5rem;
|
|
|
|
background-image: url("/svgs/extensions/download.svg");
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
vertical-align: text-top;
|
|
|
|
content: "";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.screenshot {
|
2018-08-14 11:15:26 -04:00
|
|
|
border: 1px solid $ui-border;
|
2018-08-02 13:09:55 -04:00
|
|
|
border-radius: .5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tip-box {
|
|
|
|
margin-top: 4rem;
|
|
|
|
border: 1px solid $ui-blue-25percent;
|
|
|
|
border-radius: 1rem;
|
|
|
|
background-color: $ui-blue-10percent;
|
|
|
|
padding: 2rem 3rem;
|
|
|
|
width: 100%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
|
|
.tip-content {
|
|
|
|
align-items: flex-start;
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.extension-header {
|
|
|
|
background-size: cover;
|
|
|
|
color: $ui-white;
|
|
|
|
|
|
|
|
.inner {
|
|
|
|
justify-content: space-between;
|
|
|
|
flex-wrap: nowrap;
|
2018-12-03 15:29:25 -05:00
|
|
|
flex-direction: column;
|
|
|
|
align-items: flex-start;
|
2018-08-02 13:09:55 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.extension-info {
|
2018-12-04 14:58:16 -05:00
|
|
|
margin-bottom: 3rem;
|
2018-12-03 15:29:25 -05:00
|
|
|
flex-wrap: nowrap;
|
|
|
|
flex-direction: row;
|
2018-08-02 13:09:55 -04:00
|
|
|
|
|
|
|
.extension-copy {
|
2018-12-03 17:58:51 -05:00
|
|
|
padding-right: 3.75em;
|
|
|
|
max-width: $cols7;
|
2018-08-02 13:09:55 -04:00
|
|
|
align-items: flex-start;
|
2018-12-03 15:29:25 -05:00
|
|
|
justify-content: start;
|
2018-08-02 13:09:55 -04:00
|
|
|
|
2018-08-22 10:45:19 -04:00
|
|
|
h1, h2 {
|
2018-08-02 13:09:55 -04:00
|
|
|
display: flex;
|
|
|
|
margin-bottom: 2rem;
|
|
|
|
color: $ui-white;
|
2022-12-07 12:27:00 -05:00
|
|
|
width: 100%;
|
2018-08-02 13:09:55 -04:00
|
|
|
|
2018-08-22 10:45:19 -04:00
|
|
|
img {
|
2018-08-23 11:18:12 -04:00
|
|
|
padding-right: .5rem;
|
|
|
|
max-height: 100%;
|
2018-08-22 10:45:19 -04:00
|
|
|
}
|
2018-08-02 13:09:55 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
span {
|
|
|
|
font-size: 1.2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
border-bottom: 1px solid $ui-white;
|
|
|
|
color: $ui-white;
|
|
|
|
}
|
|
|
|
}
|
2018-12-05 10:48:46 -05:00
|
|
|
|
|
|
|
.video-player {
|
2018-12-06 09:43:30 -05:00
|
|
|
border: .25rem solid $ui-white-15percent;
|
|
|
|
border-radius: .75rem;
|
2018-12-05 10:48:46 -05:00
|
|
|
height: 180px;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2018-12-03 15:29:25 -05:00
|
|
|
}
|
2018-08-02 13:09:55 -04:00
|
|
|
|
2018-12-03 15:29:25 -05:00
|
|
|
.extension-image {
|
|
|
|
margin-top: auto;
|
2018-08-02 13:09:55 -04:00
|
|
|
|
2018-12-03 15:29:25 -05:00
|
|
|
img {
|
|
|
|
max-width: $cols5;
|
|
|
|
max-height: $cols3;
|
|
|
|
}
|
|
|
|
}
|
2018-08-02 13:09:55 -04:00
|
|
|
|
2018-12-03 15:29:25 -05:00
|
|
|
.extension-requirements-container {
|
|
|
|
font-weight: 500;
|
|
|
|
align-items: flex-start;
|
2018-08-02 13:09:55 -04:00
|
|
|
|
2018-12-03 15:29:25 -05:00
|
|
|
.requirements-header {
|
|
|
|
margin-bottom: 1.5rem;
|
2018-08-02 13:09:55 -04:00
|
|
|
}
|
|
|
|
|
2018-12-03 15:29:25 -05:00
|
|
|
.extension-requirements {
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
2018-08-02 13:09:55 -04:00
|
|
|
|
2018-12-03 15:29:25 -05:00
|
|
|
.extension-requirements span {
|
|
|
|
display: flex;
|
|
|
|
margin-right: 1rem;
|
|
|
|
font-size: 15px; // TODO: change to rem later
|
|
|
|
align-items: center;
|
2018-08-02 13:09:55 -04:00
|
|
|
}
|
|
|
|
|
2018-12-03 15:29:25 -05:00
|
|
|
.extension-requirements span img {
|
|
|
|
padding-right: .5rem;
|
|
|
|
}
|
2018-08-02 13:09:55 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.os-chooser {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.install-scratch-link {
|
|
|
|
padding: 2rem 0;
|
|
|
|
|
|
|
|
.inner {
|
|
|
|
align-items: flex-start;
|
|
|
|
}
|
|
|
|
|
2018-11-19 13:51:29 -05:00
|
|
|
.downloads-container {
|
2018-11-19 15:22:18 -05:00
|
|
|
text-align: center;
|
2018-08-02 13:09:55 -04:00
|
|
|
}
|
|
|
|
|
2018-11-19 13:51:29 -05:00
|
|
|
.store-badge {
|
2018-11-19 15:22:18 -05:00
|
|
|
display: block;
|
|
|
|
width: 150px;
|
|
|
|
height: 80px;
|
2018-11-19 13:51:29 -05:00
|
|
|
}
|
2018-08-02 13:09:55 -04:00
|
|
|
|
2018-11-19 13:51:29 -05:00
|
|
|
.horizontal-divider {
|
2018-11-19 15:22:18 -05:00
|
|
|
display: block;
|
|
|
|
margin: 20px;
|
2018-11-19 13:51:29 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.horizontal-divider:before,
|
|
|
|
.horizontal-divider:after {
|
2018-11-19 15:22:18 -05:00
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
background-color: $ui-dark-gray;
|
|
|
|
width: 50%;
|
|
|
|
height: 1px;
|
|
|
|
vertical-align: middle;
|
|
|
|
content: "";
|
2018-11-19 13:51:29 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.horizontal-divider:before {
|
2018-11-19 15:22:18 -05:00
|
|
|
right: .5em;
|
|
|
|
margin-left: -50%;
|
2018-11-19 13:51:29 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.horizontal-divider:after {
|
2018-11-19 15:22:18 -05:00
|
|
|
left: .5em;
|
|
|
|
margin-right: -50%;
|
2018-08-02 13:09:55 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.extension-section {
|
|
|
|
.inner {
|
|
|
|
align-items: flex-start;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.getting-started {
|
|
|
|
.getting-started-section {
|
|
|
|
width: 100%;
|
|
|
|
align-items: flex-start;
|
|
|
|
|
|
|
|
a {
|
|
|
|
margin: 1rem 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.things-to-try .inner {
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.project-card {
|
|
|
|
margin: 0 1.5rem;
|
|
|
|
border: 1px solid $ui-border;
|
|
|
|
border-radius: .5rem;
|
|
|
|
background-color: $ui-white;
|
|
|
|
overflow: hidden;
|
|
|
|
flex-basis: 0;
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.project-card-image {
|
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.project-card-info {
|
|
|
|
padding: 1rem;
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin: .2rem 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-06-07 18:25:32 -04:00
|
|
|
.hardware-cards {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 1fr 1fr 1fr;
|
|
|
|
gap: 3em;
|
|
|
|
|
|
|
|
// 1 column
|
|
|
|
@media #{$medium-and-smaller} {
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.hardware-card {
|
|
|
|
border: 1px solid $ui-border;
|
|
|
|
border-radius: .5rem;
|
|
|
|
background-color: $ui-white;
|
|
|
|
overflow: hidden;
|
|
|
|
flex-basis: 0;
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hardware-card-image {
|
|
|
|
background-color: $ui-blue-10percent;
|
|
|
|
padding: 1rem 0 1rem;
|
|
|
|
|
|
|
|
img {
|
|
|
|
display: block;
|
|
|
|
margin: 0 auto;
|
|
|
|
height: 100px;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.hardware-card-info {
|
|
|
|
padding: 1rem;
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin: .2rem 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
div.cards+div.faq {
|
2019-08-16 09:15:11 -04:00
|
|
|
padding-top: 2rem;
|
|
|
|
}
|
|
|
|
|
2018-08-02 13:09:55 -04:00
|
|
|
.faq {
|
|
|
|
p {
|
|
|
|
margin-bottom: 1.25rem;
|
|
|
|
margin-left: 0;
|
|
|
|
max-width: $cols8;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.faq-title {
|
|
|
|
margin-bottom: 0;
|
|
|
|
font-size: 1.4rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
max-width: $cols8;
|
|
|
|
}
|
|
|
|
|
|
|
|
section {
|
|
|
|
ul {
|
|
|
|
max-width: $cols8;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-spacer {
|
|
|
|
display: block;
|
|
|
|
visibility: hidden;
|
|
|
|
margin-top: -50px; // height of nav bar
|
|
|
|
height: 50px;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
ul,
|
|
|
|
ol {
|
|
|
|
&.indented {
|
2022-02-09 12:48:13 -05:00
|
|
|
padding-left: $cols1 + math.div(20px, $em);
|
2018-08-02 13:09:55 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.blue {
|
|
|
|
background-color: $ui-blue-10percent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.inner {
|
|
|
|
max-width: $cols12;
|
|
|
|
}
|
|
|
|
}
|