2017-04-12 10:52:52 -04:00
|
|
|
@import "./variables";
|
|
|
|
@import "./mixins";
|
2013-02-05 14:16:51 -05:00
|
|
|
|
|
|
|
// --------------------------------------------------
|
|
|
|
// Base styles for HTML elements
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
html {
|
2014-05-06 01:50:51 -04:00
|
|
|
color: $primary;
|
2014-12-17 02:26:29 -05:00
|
|
|
font-family: $base-font-family;
|
|
|
|
font-size: $base-font-size;
|
2014-12-17 14:51:47 -05:00
|
|
|
line-height: $base-line-height;
|
2014-05-06 01:50:51 -04:00
|
|
|
background-color: $secondary;
|
2013-02-05 14:16:51 -05:00
|
|
|
overflow-y: scroll;
|
2015-04-14 22:07:23 -04:00
|
|
|
direction: ltr;
|
2014-07-02 10:55:43 -04:00
|
|
|
}
|
2013-02-05 14:16:51 -05:00
|
|
|
|
|
|
|
// Links
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
a {
|
2014-05-06 01:50:51 -04:00
|
|
|
color: $tertiary;
|
2013-02-05 14:16:51 -05:00
|
|
|
text-decoration: none;
|
2013-06-16 23:43:30 -04:00
|
|
|
cursor: pointer;
|
2013-02-05 14:16:51 -05:00
|
|
|
&:visited {
|
2014-05-06 01:50:51 -04:00
|
|
|
color: $tertiary;
|
2013-02-05 14:16:51 -05:00
|
|
|
}
|
|
|
|
&:hover {
|
2014-05-06 01:50:51 -04:00
|
|
|
color: $tertiary;
|
2013-02-05 14:16:51 -05:00
|
|
|
}
|
|
|
|
&:active {
|
2014-05-06 01:50:51 -04:00
|
|
|
color: $tertiary;
|
2013-02-05 14:16:51 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Typography
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
hr {
|
|
|
|
display: block;
|
|
|
|
height: 1px;
|
|
|
|
margin: 1em 0;
|
|
|
|
border: 0;
|
2015-06-14 22:59:49 -04:00
|
|
|
border-top: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
|
2013-02-05 14:16:51 -05:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Lists
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
ul,
|
|
|
|
ol,
|
|
|
|
dd {
|
|
|
|
margin: 0 0 9px 25px;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2014-03-15 12:01:17 -04:00
|
|
|
|
|
|
|
.cooked ul, .cooked ol, .cooked dd {
|
2014-03-27 15:36:14 -04:00
|
|
|
clear: both;
|
2014-03-15 12:01:17 -04:00
|
|
|
}
|
|
|
|
|
2013-02-05 14:16:51 -05:00
|
|
|
li {
|
|
|
|
> ul,
|
|
|
|
> ol {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Embedded content
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
img {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Forms
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
fieldset {
|
|
|
|
margin: 0;
|
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
2013-06-16 23:43:30 -04:00
|
|
|
}
|
2013-06-20 03:46:18 -04:00
|
|
|
|
|
|
|
pre code {
|
|
|
|
overflow: auto;
|
2017-01-10 04:06:53 -05:00
|
|
|
tab-size: 4;
|
2013-06-20 03:46:18 -04:00
|
|
|
}
|
2014-08-25 17:41:14 -04:00
|
|
|
|
|
|
|
// TODO figure out a clean place to put stuff like this
|
|
|
|
.row:before, .row:after {
|
|
|
|
display: table;
|
|
|
|
content: "";
|
|
|
|
}
|
|
|
|
.row:after {clear: both;}
|
|
|
|
|
|
|
|
|
2014-12-04 08:48:25 -05:00
|
|
|
#offscreen-content {
|
|
|
|
display: none;
|
|
|
|
}
|