Jessica Parsons b370929087
Minor docs fixes (#894)
* Update links

Update test-drive and quick-start references
Change relative links to absolute so they work in GitHub repo view

* Regain paragraph margins

Adding back the bottom margin had no effect on landing page, except a 16px legnth increase in the hero and editor sections. Offset by reducing the variable that set their margin/padding by the same amount.
2017-12-07 13:27:33 -08:00

153 lines
2.5 KiB
CSS
Executable File

@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;
-webkit-font-smoothing: antialiased;
display: flex;
flex-direction: column;
min-height: 100vh;
@media screen and (min-width: $tablet) {
text-align: left;
}
}
.page {
flex-grow: 1;
}
h1 {
font-weight: $bold;
font-size: 36px;
line-height: 48px;
margin: 0 0 $small 0;
@media screen and (min-width: $tablet) {
font-size: 42px;
line-height: 60px;
}
}
h2 {
font-family: $roboto;
font-size: 32px;
font-weight: $bold;
color: $darkGrey;
margin: 0 auto $tiny auto;
&.subhead {
font-weight: $regular;
}
}
h3 {
font-family: $roboto;
font-size: 18px;
font-weight: $semibold;
line-height: 30px;
padding-bottom: $micro;
margin: 0;
}
h3 > p {
}
p, ul {
font-size: $tiny;
line-height: 26px;
margin-top: 0;
}
a {
color: $darkGreen;
text-decoration: none;
font-weight: $bold;
}
ul {
margin: $tiny 0 $tiny $small;
padding: 0;
}
.contained {
margin: 0 auto;
max-width: $display;
padding: 0 $small;
@media screen and (min-width: $tablet) {
padding: 0 $medium;
}
}
*[class^="btn-"] {
border-radius: $borderRadius;
box-sizing: border-box;
display: inline-block;
font-family: $roboto;
font-size: $tiny;
font-weight: $bold;
margin: 0;
padding: $tiny $small;
position: relative;
overflow: hidden;
&:after {
content: "";
position: absolute;
top: -40%;
left: -210%;
width: 200%;
height: 200%;
opacity: 0;
transform: rotate(30deg);
background: rgba(255,255,255,0.2);
background: linear-gradient(
to right,
rgba(255, 255, 255, 0.2) 0%,
rgba(255, 255, 255, 0.2) 77%,
rgba(255, 255, 255, 0.6) 92%,
rgba(255, 255, 255, 0.0) 100%
);
}
&:hover:after {
opacity: 1;
left: 110%;
transition-property: left, opacity;
transition-duration: 0.6s, 0.1s;
transition-timing-function: ease;
}
&:active:after {
opacity: 0;
}
&.small {
padding: $micro $tiny;
}
}
.btn-primary {
background-image: linear-gradient(0deg, $lightGreen 14%, $green 94%);
color: $darkerGrey;
}
.btn-secondary {
border: 1px solid white;
color: white;
}
pre {
border-radius: $borderRadius;
}
.code,
code {
font-family: 'Roboto Mono', monospace !important;
font-size: 14px;
text-transform: none;
}