scratch-www/src/main.scss

183 lines
2.5 KiB
SCSS
Raw Normal View History

@import "colors";
@import "frameless";
2015-09-04 11:26:18 -04:00
/* Tags */
2015-09-24 19:27:50 -04:00
html,
body {
2015-09-04 11:26:18 -04:00
display: block;
margin: 0;
background-color: darken($ui-blue, 8%);
2015-09-04 11:26:18 -04:00
padding: 0;
color: $type-gray;
2015-09-04 11:26:18 -04:00
font-family: "Helvetica Neue", "Helvetica", Arial, sans-serif;
}
/* Typography */
2015-09-24 19:27:50 -04:00
h1,
h2,
h3,
h4 {
2015-09-04 11:26:18 -04:00
margin: 0;
border: 0;
2015-09-24 19:27:50 -04:00
padding: 0;
2015-09-04 11:26:18 -04:00
color: $header-gray;
2015-09-04 11:26:18 -04:00
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;
}
2015-09-04 11:26:18 -04:00
h4 {
font-size: 1rem;
font-weight: 700;
}
h5 {
text-transform: uppercase;
letter-spacing: 2px;
font-size: .85rem;
font-weight: 700;
2015-09-04 11:26:18 -04:00
}
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;
}
}
2016-06-23 07:27:43 -04:00
b,
strong {
font-weight: 500;
}
/* Links */
a {
cursor: pointer;
color: $ui-blue;
font-weight: 500;
&:link,
&:visited,
&:active {
text-decoration: none;
color: $link-blue;
}
2015-09-04 11:26:18 -04:00
&:hover {
text-decoration: none;
color: darken($ui-blue, 15);
}
2015-09-04 11:26:18 -04:00
}
/* Classes */
.empty {
$bg-blue: #d9edf7;
$bg-blue-accent: #bce8f1;
border: 1px solid $bg-blue-accent;
border-radius: 5px;
background-color: $bg-blue;
2015-10-24 12:38:23 -04:00
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;
}
2016-08-12 08:10:32 -04:00
dd {
margin: 0;
}
}
2015-09-04 11:26:18 -04:00
#view {
display: inline-block;
2015-09-06 19:18:53 -04:00
/* NOTE: Margin should match height in navigation.scss */
2015-09-21 09:18:00 -04:00
margin-top: 50px;
background-color: $background-color;
2016-02-09 10:19:29 -05:00
padding: 20px 0;
min-width: 100%;
2015-09-24 19:27:50 -04:00
min-height: 768px;
2015-09-11 16:33:52 -04:00
}