scratch-www/src/main.scss
Ray Schamp 19f469db48 Upgrade and quiet sass-linter
These warnings were annoying me because the noise makes it easy to miss real issues.

The `no-mergeable-selectors` rule is one that we do want to have, but right now it asks that you merge selectors in different `@media` blocks.  When the next release happens we should put that back.

https://github.com/sasstools/sass-lint/issues/307

Similarly, we want `force-element-nesting` but there is a problem with that because there's no easy way to have a nested selector in a list of selectors.
https://github.com/sasstools/sass-lint/issues/575

Finally, until they implement per-line overrides, we have to silence `class-name-format` because we don't have control over the ReactModal class names.  It's a useful rule to keep class names consistent though.  Per-line ignores should be coming soon: https://github.com/sasstools/sass-lint/issues/70
2016-03-23 18:34:54 -04:00

88 lines
1.3 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 {
line-height: 2.125rem;
font-size: 1.625rem;
}
h4 {
line-height: 1.1rem;
font-size: 1rem;
}
p {
&.legal {
font-size: .8rem;
}
a {
white-space: nowrap;
}
}
/* Links */
a {
&:link,
&:visited,
&:active {
text-decoration: none;
color: $link-blue;
}
&:hover {
text-decoration: underline;
}
}
/* 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;
}
}
#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;
}