2014-07-28 13:35:53 +00:00
|
|
|
.main-navigation {
|
|
|
|
clear: both;
|
|
|
|
display: block;
|
|
|
|
float: left;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding-left: 0;
|
|
|
|
|
|
|
|
ul {
|
|
|
|
box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
|
|
|
|
float: left;
|
|
|
|
position: absolute;
|
|
|
|
top: 1.5em;
|
|
|
|
left: -999em;
|
|
|
|
z-index: 99999;
|
|
|
|
|
|
|
|
ul {
|
|
|
|
left: -999em;
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
&:hover > ul {
|
|
|
|
left: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-08-13 13:34:19 +00:00
|
|
|
a {
|
|
|
|
width: 200px;
|
|
|
|
}
|
|
|
|
|
2014-07-28 13:35:53 +00:00
|
|
|
:hover > a {
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
li:hover > ul {
|
|
|
|
left: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
li {
|
|
|
|
float: left;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&:hover > a {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
a {
|
|
|
|
display: block;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2014-09-21 15:47:04 +00:00
|
|
|
.current_page_item > a,
|
|
|
|
.current-menu-item > a,
|
|
|
|
.current_page_ancestor > a {
|
2014-07-28 13:35:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
Normalize rather than Reset.
The reset we used was a mix of Normalize, the Paul Irish reset,
sprinkled with some blueprint.css, and base styles. It was hard to
maintain and just seemed outdated (setting the base font-size to 10px
instead of 16px, among other things).
Normalize sets saner defaults and is generally just not as disruptive
as a full reset.
The code was added as is, has only its comments stripped (for now), and
is not mixed with any styles to make future updates to it as easy as
possible.
See #3, #44, #174, #267, #617.
2014-12-30 00:28:19 +00:00
|
|
|
/* Small menu. */
|
2014-07-28 13:35:53 +00:00
|
|
|
.menu-toggle {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 600px) {
|
|
|
|
.menu-toggle,
|
|
|
|
.main-navigation.toggled .nav-menu {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.main-navigation ul {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-02-10 05:11:59 +00:00
|
|
|
.comment-navigation,
|
|
|
|
.posts-navigation,
|
|
|
|
.post-navigation {
|
2014-07-28 13:35:53 +00:00
|
|
|
|
2015-02-10 05:11:59 +00:00
|
|
|
.site-main & {
|
|
|
|
margin: 0 0 1.5em;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2014-07-28 13:35:53 +00:00
|
|
|
|
2015-02-10 05:11:59 +00:00
|
|
|
& .nav-previous {
|
|
|
|
float: left;
|
|
|
|
width: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
& .nav-next {
|
|
|
|
float: right;
|
|
|
|
text-align: right;
|
|
|
|
width: 50%;
|
|
|
|
}
|
|
|
|
}
|