mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 15:47:53 -05:00
182 lines
2.5 KiB
SCSS
182 lines
2.5 KiB
SCSS
@import "colors";
|
|
@import "frameless";
|
|
|
|
/* Tags */
|
|
html,
|
|
body {
|
|
display: block;
|
|
margin: 0;
|
|
background-color: darken($ui-blue, 8%);
|
|
padding: 0;
|
|
color: $type-gray;
|
|
font-family: "Helvetica Neue", "Helvetica", Arial, sans-serif;
|
|
}
|
|
|
|
/* Typography */
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4 {
|
|
margin: 0;
|
|
border: 0;
|
|
padding: 0;
|
|
|
|
color: $header-gray;
|
|
font-weight: 700;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 2.5rem;
|
|
font-weight: 900;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 2rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 1.4rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
h4 {
|
|
font-size: 1rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
h5 {
|
|
text-transform: uppercase;
|
|
letter-spacing: 2px;
|
|
font-size: .85rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
p {
|
|
&.legal {
|
|
font-size: .8rem;
|
|
}
|
|
|
|
&.intro {
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
&.callout {
|
|
// margin: 1.5em 0;
|
|
// border-top: 1px solid $ui-border;
|
|
// border-bottom: 1px solid $ui-border;
|
|
// padding: 1em 0;
|
|
|
|
margin: 1.5em 0;
|
|
border: 1px solid $active-gray;
|
|
border-radius: 5px;
|
|
background-color: lighten($ui-blue, 40);
|
|
padding: 1.25em;
|
|
|
|
&.orange {
|
|
background-color: lighten($ui-orange, 30);
|
|
}
|
|
}
|
|
|
|
a {
|
|
white-space: nowrap;
|
|
}
|
|
}
|
|
|
|
b,
|
|
strong {
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Links */
|
|
a {
|
|
cursor: pointer;
|
|
color: $ui-blue;
|
|
font-weight: 500;
|
|
|
|
&:link,
|
|
&:visited,
|
|
&:active {
|
|
text-decoration: none;
|
|
color: $link-blue;
|
|
}
|
|
|
|
&:hover {
|
|
text-decoration: none;
|
|
color: darken($ui-blue, 15);
|
|
}
|
|
}
|
|
|
|
/* Classes */
|
|
.empty {
|
|
$bg-blue: #d9edf7;
|
|
$bg-blue-accent: #bce8f1;
|
|
border: 1px solid $bg-blue-accent;
|
|
border-radius: 5px;
|
|
background-color: $bg-blue;
|
|
padding: 10px;
|
|
text-align: center;
|
|
line-height: 2rem;
|
|
color: $type-gray;
|
|
|
|
h4 {
|
|
color: $type-gray;
|
|
}
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
p {
|
|
line-height: 1.7em;
|
|
color: $type-gray;
|
|
}
|
|
|
|
p {
|
|
font-size: 1rem;
|
|
font-weight: 300;
|
|
}
|
|
|
|
::selection {
|
|
background-color: lighten($ui-blue, 30);
|
|
}
|
|
|
|
ol,
|
|
ul {
|
|
padding-left: 20px;
|
|
|
|
line-height: 1.5em;
|
|
font-size: 1rem;
|
|
font-weight: 300;
|
|
|
|
li {
|
|
margin: .75em 0;
|
|
}
|
|
}
|
|
|
|
dl {
|
|
line-height: 1.5rem;
|
|
font-size: 1rem;
|
|
font-weight: 300;
|
|
|
|
dt {
|
|
font-weight: 700;
|
|
}
|
|
|
|
dd {
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
#view {
|
|
display: inline-block;
|
|
|
|
/* NOTE: Margin should match height in navigation.scss */
|
|
margin-top: 50px;
|
|
background-color: $background-color;
|
|
padding: 20px 0;
|
|
min-width: 100%;
|
|
min-height: 768px;
|
|
}
|