Website redesign
This commit is contained in:
@ -1,10 +1,10 @@
|
||||
@import url(https://fonts.googleapis.com/css?family=Roboto:400,100,100italic,300,300italic,400italic,500,700,900|Roboto+Mono:400,700);
|
||||
|
||||
body {
|
||||
background-color: $shadeBlue;
|
||||
color: $grey;
|
||||
font-family: $roboto;
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@ -20,10 +20,10 @@ body {
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-weight: $light;
|
||||
font-size: $small;
|
||||
line-height: $medium;
|
||||
margin: 0 0 -10px 0;
|
||||
font-weight: $bold;
|
||||
font-size: $medium;
|
||||
line-height: $large;
|
||||
margin: 0 0 $small 0;
|
||||
|
||||
@media screen and (min-width: $tablet) {
|
||||
font-size: 36px;
|
||||
@ -33,9 +33,9 @@ h1 {
|
||||
|
||||
h2 {
|
||||
font-family: $roboto;
|
||||
font-size: 18px;
|
||||
font-weight: $bold;
|
||||
margin: 0;
|
||||
font-size: $small;
|
||||
font-weight: $regular;
|
||||
margin: 0 auto $tiny auto;
|
||||
|
||||
&.subhead {
|
||||
font-weight: $regular;
|
||||
@ -44,20 +44,16 @@ h2 {
|
||||
|
||||
h3 {
|
||||
font-family: $roboto;
|
||||
font-size: $small;
|
||||
font-weight: $regular;
|
||||
font-size: $tiny;
|
||||
font-weight: $bold;
|
||||
line-height: 32px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
p, ul {
|
||||
font-size: 14px;
|
||||
line-height: $small;
|
||||
|
||||
@media screen and (min-width: $tablet) {
|
||||
font-size: 18px;
|
||||
line-height: 32px;
|
||||
}
|
||||
font-size: $tiny;
|
||||
line-height: 26px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
a {
|
||||
|
35
website/src/css/imports/community.css
Normal file
35
website/src/css/imports/community.css
Normal file
@ -0,0 +1,35 @@
|
||||
.communitysupport {
|
||||
@neat-row;
|
||||
background-color: white;
|
||||
padding: $xl 0 $large 0;
|
||||
|
||||
.community-features {
|
||||
|
||||
|
||||
.feature {
|
||||
margin-top: $small;
|
||||
|
||||
@media screen and (min-width: $tablet) {
|
||||
@neat-span-columns 6;
|
||||
}
|
||||
|
||||
&.contributors {
|
||||
|
||||
@media screen and (min-width: $tablet) {
|
||||
@neat-span-columns 8;
|
||||
}
|
||||
|
||||
.contributor-list {
|
||||
margin-top: $micro;
|
||||
img {
|
||||
width: 32px;
|
||||
margin: 0 $micro $micro 0;
|
||||
border-radius: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
72
website/src/css/imports/cta.css
Normal file
72
website/src/css/imports/cta.css
Normal file
@ -0,0 +1,72 @@
|
||||
.cta {
|
||||
|
||||
@media screen and (min-width: $desktop) {
|
||||
position: relative;
|
||||
top: -50px;
|
||||
width: 880px;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.cta-primary {
|
||||
background-color: white;
|
||||
padding: $small $medium $small $medium;
|
||||
|
||||
@media screen and (min-width: $desktop) {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
box-shadow: 0 10px 30px 0 rgba(28,30,30,0.10), 0 3px 9px 0 rgba(28,30,30,0.15);
|
||||
border-radius: $largeBorderRadius;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 18px;
|
||||
line-height: 25px;
|
||||
color: $lightishGrey;
|
||||
|
||||
@media screen and (min-width: $desktop) {
|
||||
}
|
||||
|
||||
.hook {
|
||||
font-weight: $bold;
|
||||
color: $darkGrey;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
display: inline-block;
|
||||
margin-top: $tiny;
|
||||
color: white;
|
||||
text-transform: uppercase;
|
||||
font-size: $tiny;
|
||||
background-color: $blue;
|
||||
background-image: linear-gradient(-180deg, #4A7FDD 0%, #3A69C7 100%);
|
||||
box-shadow: 0 4px 12px 0 rgba(68,74,87,0.10), 0 1px 3px 0 rgba(68,74,87,0.20);
|
||||
border-radius: $borderRadius;
|
||||
padding: 12px 18px 12px 18px;
|
||||
transition: .2s;
|
||||
|
||||
@media screen and (min-width: $desktop) {
|
||||
min-width: 122px;
|
||||
margin: 0 0 0 $small;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
margin-right: -4px;
|
||||
}
|
||||
&:active {
|
||||
transform: scale(0.9);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.cta-secondary {
|
||||
font-size: 15px;
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
display: inline-block;
|
||||
margin-top: $tiny;
|
||||
color: $lightishGrey;
|
||||
}
|
||||
|
||||
}
|
39
website/src/css/imports/editors.css
Normal file
39
website/src/css/imports/editors.css
Normal file
@ -0,0 +1,39 @@
|
||||
.editors {
|
||||
@neat-row;
|
||||
margin-top: $xl;
|
||||
margin-bottom: $xxl;
|
||||
text-align: center;
|
||||
|
||||
h2, p {
|
||||
max-width: 800px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.editors-features {
|
||||
display: flex;
|
||||
justify-content: space-evenly;
|
||||
margin-top: $large;
|
||||
|
||||
@media screen and (max-width: $desktop) {
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.feature {
|
||||
max-width: 320px;
|
||||
|
||||
img {
|
||||
max-width: 280px;
|
||||
margin-bottom: $tiny;
|
||||
border-radius: $borderRadius;
|
||||
box-shadow: 0 4px 12px 0 rgba(68,74,87,0.10), 0 1px 3px 0 rgba(68,74,87,0.20);
|
||||
}
|
||||
|
||||
@media screen and (max-width: $desktop) {
|
||||
margin-top: $medium;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
@ -1,12 +1,11 @@
|
||||
footer {
|
||||
background: $lighterGrey;
|
||||
padding: $small 0;
|
||||
background: white;
|
||||
padding: $medium 0;
|
||||
|
||||
p {
|
||||
color: $grey;
|
||||
font-family: $roboto;
|
||||
font-size: 12px;
|
||||
opacity: .5;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
.notification {
|
||||
background: #414344;
|
||||
background-color: $darkerGrey;
|
||||
box-sizing: border-box;
|
||||
color: white;
|
||||
display: block;
|
||||
@ -82,13 +82,13 @@ header {
|
||||
|
||||
&.scrolled {
|
||||
@media screen and (min-width: $mobile) {
|
||||
background: $darkGrey;
|
||||
background: $darkerGrey;
|
||||
padding: $small 0;
|
||||
}
|
||||
}
|
||||
|
||||
&.docs {
|
||||
background: $darkGrey;
|
||||
background: $darkerGrey;
|
||||
padding: $small 0;
|
||||
|
||||
@media screen and (max-width: $mobile) {
|
||||
@ -132,10 +132,14 @@ header {
|
||||
}
|
||||
|
||||
@media screen and (min-width: $tablet) {
|
||||
margin-left: $micro;
|
||||
margin-left: $tiny;
|
||||
}
|
||||
|
||||
&.nav-link:not(:nth-child(2)):before {
|
||||
&.nav-link:nth-child(4) {
|
||||
margin-right: $tiny;
|
||||
}
|
||||
|
||||
/*&.nav-link:not(:nth-child(2)):before {
|
||||
content: '•';
|
||||
padding-right: $tiny;
|
||||
color: $green;
|
||||
@ -147,7 +151,7 @@ header {
|
||||
@media screen and (min-width: $tablet) {
|
||||
padding-right: $tiny;
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
&:hover {
|
||||
color: $green;
|
||||
@ -215,9 +219,8 @@ header {
|
||||
display: none;
|
||||
padding: $micro;
|
||||
width: auto;
|
||||
border: 1px solid white;
|
||||
border-radius: 4px;
|
||||
background: none;
|
||||
background-color: rgba(255,255,255,0.1);
|
||||
color: white;
|
||||
margin: 0 $micro 0 10px;
|
||||
padding-bottom: 9px;
|
||||
|
@ -1,10 +1,10 @@
|
||||
.hero {
|
||||
@neat-row;
|
||||
background: $darkerGrey;
|
||||
background-image: linear-gradient(-17deg, $darkerGrey 17%, $darkGrey 94%);
|
||||
color: white;
|
||||
background-image: linear-gradient(-180deg, #323B3B 0%, $darkerGrey 20%);
|
||||
color: $blueGrey;
|
||||
overflow: hidden;
|
||||
padding: calc($xl * 2.25) 0 $large 0;
|
||||
padding: calc($xl * 2.25) 0 0 0;
|
||||
position: relative;
|
||||
|
||||
@media screen and (min-width: $mobile) {
|
||||
@ -12,10 +12,10 @@
|
||||
}
|
||||
|
||||
@media screen and (min-width: $tablet) {
|
||||
padding-top: calc($large * 1.5);
|
||||
padding-top: calc($xl * 1.5);
|
||||
}
|
||||
|
||||
&:before {
|
||||
/*&:before {
|
||||
background: url('/img/bow.svg') no-repeat bottom center;
|
||||
background-size: contain;
|
||||
bottom: -1px;
|
||||
@ -25,74 +25,29 @@
|
||||
position: absolute;
|
||||
right: -$xl;
|
||||
width: calc(100% + ($xl * 2));
|
||||
}
|
||||
}*/
|
||||
|
||||
@media screen and (min-width: $tablet) {
|
||||
background-position: center;
|
||||
padding: calc($xl * 1.5) 0 $xl 0;
|
||||
&.landing {
|
||||
@media screen and (min-width: $tablet) {
|
||||
padding-bottom: $xxl;
|
||||
}
|
||||
}
|
||||
|
||||
.hero-copy {
|
||||
margin: $medium auto $xl auto;
|
||||
|
||||
@media screen and (min-width: $tablet) {
|
||||
@neat-span-columns 6;
|
||||
}
|
||||
}
|
||||
|
||||
.headline {
|
||||
margin-top: -12px;
|
||||
max-width: 400px;
|
||||
|
||||
@media screen and (min-width: $mobile) {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
span {
|
||||
display: none;
|
||||
|
||||
@media screen and (min-width: $tablet) {
|
||||
display: initial;
|
||||
}
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
.subhead {
|
||||
display: inline-block;
|
||||
margin: $micro auto;
|
||||
text-align: left;
|
||||
margin: $tiny auto;
|
||||
|
||||
@media screen and (min-width: $mobile) {
|
||||
display: block;
|
||||
margin: $medium 0 $small 0;
|
||||
}
|
||||
}
|
||||
|
||||
.ctas {
|
||||
margin-bottom: $small;
|
||||
|
||||
@media screen and (min-width: $mobile) {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
a {
|
||||
color: $green;
|
||||
font-weight: $semibold;
|
||||
}
|
||||
}
|
||||
|
||||
.btn-secondary {
|
||||
display: none;
|
||||
padding-top: 14px;
|
||||
max-height: 53px;
|
||||
margin: 0 0 0 calc($micro / 2);
|
||||
|
||||
@media screen and (min-width: $tablet) {
|
||||
display: inline-block;
|
||||
margin: $micro 0 $small 0;
|
||||
}
|
||||
}
|
||||
|
||||
@ -100,25 +55,38 @@
|
||||
display: block;
|
||||
}
|
||||
|
||||
.mooseheads {
|
||||
margin: $micro 0 0 0;
|
||||
h1 {
|
||||
color: white;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
@media screen and (min-width: $mobile) {
|
||||
text-align: left;
|
||||
h2 {
|
||||
color: white;
|
||||
}
|
||||
|
||||
h3 {
|
||||
color: $green;
|
||||
}
|
||||
|
||||
.hero-features {
|
||||
|
||||
@media screen and (min-width: $tablet) {
|
||||
@neat-span-columns 5;
|
||||
}
|
||||
|
||||
strong {
|
||||
font-size: 12px;
|
||||
opacity: .5;
|
||||
.feature {
|
||||
margin-top: $medium;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.hero-graphic {
|
||||
@neat-span-columns 6;
|
||||
display: none;
|
||||
margin: $large auto $large auto;
|
||||
|
||||
@media screen and (min-width: $tablet) {
|
||||
display: initial;
|
||||
@neat-span-columns 6;
|
||||
float: right;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
&:before {
|
||||
@ -146,86 +114,106 @@
|
||||
}
|
||||
}
|
||||
|
||||
.calendar-cta {
|
||||
text-align: center;
|
||||
background: $darkerGrey;
|
||||
background-image: linear-gradient(-17deg, $darkerGrey 17%, $darkGrey 94%);
|
||||
/*COMMUNITY PAGE*/
|
||||
|
||||
&.community {
|
||||
.hero-copy {
|
||||
text-align: left;
|
||||
@media screen and (min-width: $tablet) {
|
||||
@neat-span-columns 5;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.ctas {
|
||||
margin-bottom: $small;
|
||||
|
||||
@media screen and (min-width: $mobile) {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
a {
|
||||
color: $green;
|
||||
font-weight: $semibold;
|
||||
}
|
||||
}
|
||||
|
||||
.calendar-cta {
|
||||
text-align: center;
|
||||
background: $darkerGrey;
|
||||
background-image: linear-gradient(-17deg, $darkerGrey 17%, $darkGrey 94%);
|
||||
border-radius: $largeBorderRadius;
|
||||
box-shadow: 0 $micro $small rgba(0,0,0,0.1);
|
||||
padding: $medium;
|
||||
box-sizing: border-box;
|
||||
|
||||
@media screen and (min-width: $tablet) {
|
||||
max-width: 446px;
|
||||
}
|
||||
|
||||
@media screen and (min-width: $tablet) {
|
||||
@neat-span-columns 5;
|
||||
@neat-shift 1;
|
||||
display: inline-block;
|
||||
position: fixed;
|
||||
right: $medium;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1280px) {
|
||||
right: initial;
|
||||
left: calc(50% - $large);
|
||||
}
|
||||
|
||||
.calendar {
|
||||
border-radius: $largeBorderRadius;
|
||||
box-shadow: 0 $micro $small rgba(0,0,0,0.1);
|
||||
padding: $medium;
|
||||
box-sizing: border-box;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 $micro $small rgba(0,0,0,0.5);
|
||||
margin: $small auto;
|
||||
max-width: 250px;
|
||||
|
||||
@media screen and (min-width: $tablet) {
|
||||
max-width: 446px;
|
||||
.month {
|
||||
background: $green;
|
||||
color: $grey;
|
||||
font-weight: $black;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 4px;
|
||||
font-size: $tiny;
|
||||
padding: $tiny;
|
||||
}
|
||||
|
||||
@media screen and (min-width: $tablet) {
|
||||
@neat-span-columns 5;
|
||||
@neat-shift 1;
|
||||
display: inline-block;
|
||||
position: fixed;
|
||||
right: $medium;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1280px) {
|
||||
right: initial;
|
||||
left: calc(50% - $large);
|
||||
}
|
||||
|
||||
.calendar {
|
||||
border-radius: $largeBorderRadius;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 $micro $small rgba(0,0,0,0.5);
|
||||
margin: $small auto;
|
||||
max-width: 250px;
|
||||
|
||||
.month {
|
||||
background: $green;
|
||||
color: $grey;
|
||||
font-weight: $black;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 4px;
|
||||
font-size: $tiny;
|
||||
padding: $tiny;
|
||||
}
|
||||
|
||||
.day {
|
||||
font-size: $xl;
|
||||
font-weight: $black;
|
||||
color: white;
|
||||
border: 1px solid $grey;
|
||||
border-top: none;
|
||||
border-bottom-left-radius: $largeBorderRadius;
|
||||
border-bottom-right-radius: $largeBorderRadius;
|
||||
}
|
||||
}
|
||||
|
||||
strong {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
h2:not(:first-child) {
|
||||
font-weight: $light;
|
||||
}
|
||||
|
||||
.cal-cta {
|
||||
margin-top: $micro;
|
||||
|
||||
a {
|
||||
color: $green;
|
||||
}
|
||||
.day {
|
||||
font-size: $xl;
|
||||
font-weight: $black;
|
||||
color: white;
|
||||
border: 1px solid $grey;
|
||||
border-top: none;
|
||||
border-bottom-left-radius: $largeBorderRadius;
|
||||
border-bottom-right-radius: $largeBorderRadius;
|
||||
}
|
||||
}
|
||||
|
||||
.thanks-devs {
|
||||
line-height: 18px;
|
||||
margin: $micro 0 0 0;
|
||||
opacity: 0.5;
|
||||
text-align: center;
|
||||
strong {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
@media screen and (min-width: $tablet) {
|
||||
font-size: $tiny;
|
||||
line-height: 21px;
|
||||
h2:not(:first-child) {
|
||||
font-weight: $light;
|
||||
}
|
||||
|
||||
.cal-cta {
|
||||
margin-top: $micro;
|
||||
|
||||
a {
|
||||
color: $green;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
@ -2,9 +2,11 @@
|
||||
@import "imports/utilities.css";
|
||||
@import "imports/header.css";
|
||||
@import "imports/hero.css";
|
||||
@import "imports/cta.css";
|
||||
@import "imports/editors.css";
|
||||
@import "imports/community.css";
|
||||
@import "imports/collab.css";
|
||||
@import "imports/features.css";
|
||||
@import "imports/inspiration.css";
|
||||
@import "imports/docs.css";
|
||||
@import "imports/footer.css";
|
||||
|
||||
|
Reference in New Issue
Block a user