2014-07-28 13:35:53 +00:00
|
|
|
.main-navigation {
|
|
|
|
clear: both;
|
|
|
|
display: block;
|
|
|
|
float: left;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
ul {
|
2014-08-17 15:07:59 +00:00
|
|
|
display: none;
|
2014-07-28 13:35:53 +00:00
|
|
|
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 {
|
2014-06-30 22:19:39 +00:00
|
|
|
&:hover > ul,
|
|
|
|
&.focus > ul {
|
2014-07-28 13:35:53 +00:00
|
|
|
left: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-08-13 13:34:19 +00:00
|
|
|
a {
|
|
|
|
width: 200px;
|
|
|
|
}
|
|
|
|
|
2014-06-30 22:19:39 +00:00
|
|
|
:hover > a,
|
|
|
|
.focus > a {
|
2014-07-28 13:35:53 +00:00
|
|
|
}
|
|
|
|
|
2014-06-30 22:19:39 +00:00
|
|
|
a:hover,
|
|
|
|
a.focus {
|
2014-07-28 13:35:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-06-30 22:19:39 +00:00
|
|
|
li:hover > ul,
|
|
|
|
li.focus > ul {
|
2014-07-28 13:35:53 +00:00
|
|
|
left: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
li {
|
|
|
|
float: left;
|
|
|
|
position: relative;
|
|
|
|
|
2014-06-30 22:19:39 +00:00
|
|
|
&:hover > a,
|
|
|
|
&.focus > a {
|
2014-07-28 13:35:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
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-08-17 15:07:59 +00:00
|
|
|
.menu-toggle,
|
|
|
|
.main-navigation.toggled ul {
|
|
|
|
display: block;
|
2014-07-28 13:35:53 +00:00
|
|
|
}
|
|
|
|
|
2014-08-17 15:07:59 +00:00
|
|
|
@media screen and (min-width: 37.5em) {
|
|
|
|
.menu-toggle {
|
|
|
|
display: none;
|
2014-07-28 13:35:53 +00:00
|
|
|
}
|
|
|
|
.main-navigation ul {
|
2014-08-17 15:07:59 +00:00
|
|
|
display: block;
|
2014-07-28 13:35:53 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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-08-25 20:30:41 +00:00
|
|
|
.nav-previous {
|
2015-02-10 05:11:59 +00:00
|
|
|
float: left;
|
|
|
|
width: 50%;
|
|
|
|
}
|
|
|
|
|
2015-08-25 20:30:41 +00:00
|
|
|
.nav-next {
|
2015-02-10 05:11:59 +00:00
|
|
|
float: right;
|
|
|
|
text-align: right;
|
|
|
|
width: 50%;
|
|
|
|
}
|
2014-08-17 15:07:59 +00:00
|
|
|
}
|