2012-01-07 03:25:13 +00:00
/ *
Theme Name : _s
2013-11-07 19:41:41 +00:00
Theme URI : http : / / underscores . me /
2012-01-07 03:25:13 +00:00
Author : Automattic
Author URI : http : / / automattic . com /
2012-01-11 04:04:23 +00:00
Description : Hi . I 'm a starter theme called <code>_s</code>, or <em>underscores</em>, if you like. I' m a theme meant for hacking so don 't use me as a <em>Parent Theme</em>. Instead try turning me into the next, most awesome, WordPress theme out there. That' s what I ' m here for .
2014-12-31 04:34:46 +00:00
Version : 1 . 0 . 0
2013-04-21 23:58:10 +00:00
License : GNU General Public License v2 or later
License URI : http : / / www . gnu . org / licenses / gpl-2 . 0 . html
2013-07-30 18:58:13 +00:00
Text Domain : _s
2012-01-07 03:25:13 +00:00
Tags :
2012-01-13 20:10:17 +00:00
This theme , like WordPress , is licensed under the GPL .
Use it to make something cool , have fun , and share what you ' ve learned with others .
2013-04-04 18:01:38 +00:00
2016-04-14 21:18:18 +00:00
_s is based on Underscores http : / / underscores . me / , ( C ) 2012-2016 Automattic , Inc .
2015-04-25 06:26:52 +00:00
Underscores is distributed under the terms of the GNU GPL v2 or later .
2012-01-13 20:10:17 +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
Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http : / / necolas . github . com / normalize . css /
2012-01-07 03:25:13 +00:00
* /
2014-02-07 12:16:08 +00:00
/ * --------------------------------------------------------------
> > > TABLE OF CONTENTS :
----------------------------------------------------------------
2015-03-21 08:30:00 +00:00
# Normalize
# Typography
# Elements
# Forms
# Navigation
# # Links
# # Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
2015-12-08 16:28:48 +00:00
# # Posts and pages
2015-03-21 08:30:00 +00:00
# # Comments
# Infinite scroll
# Media
# # Captions
# # Galleries
2014-02-07 12:16:08 +00:00
-------------------------------------------------------------- * /
/ * --------------------------------------------------------------
2015-03-21 08:30:00 +00:00
# Normalize
2014-02-07 12:16:08 +00:00
-------------------------------------------------------------- * /
2012-01-13 20:10:17 +00:00
html {
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
font-family : sans-serif ;
-webkit-text-size-adjust : 100 % ;
-ms-text-size-adjust : 100 % ;
2013-11-14 12:36:33 +00:00
}
2014-07-29 20:54:08 +00:00
2012-01-13 20:10:17 +00:00
body {
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
margin : 0 ;
2012-01-13 20:10:17 +00:00
}
2014-07-29 20:54:08 +00:00
2012-01-13 20:10:17 +00:00
article ,
aside ,
details ,
figcaption ,
figure ,
footer ,
header ,
2013-08-06 22:59:28 +00:00
main ,
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
menu ,
2012-01-13 20:10:17 +00:00
nav ,
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
section ,
summary {
2012-01-13 20:10:17 +00:00
display : block ;
}
2014-07-29 20:54:08 +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
audio ,
canvas ,
progress ,
video {
display : inline-block ;
vertical-align : baseline ;
2012-01-13 20:10:17 +00:00
}
2014-07-29 20:54:08 +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
audio : not ( [ controls ] ) {
display : none ;
height : 0 ;
2012-01-13 20:10:17 +00:00
}
2014-07-29 20:54:08 +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
[ hidden ] ,
template {
display : none ;
2012-01-13 20:10:17 +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
a {
background-color : transparent ;
2012-01-13 20:10:17 +00:00
}
2014-07-29 20:54:08 +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
a : active ,
a : hover {
outline : 0 ;
2012-01-13 20:10:17 +00:00
}
2014-07-29 20:54:08 +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
abbr [ title ] {
border-bottom : 1px dotted ;
2012-01-13 20:10:17 +00:00
}
2014-07-29 20:54:08 +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
b ,
strong {
font-weight : bold ;
2012-01-13 20:10:17 +00:00
}
2014-07-29 20:54:08 +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
dfn {
font-style : italic ;
}
h1 {
font-size : 2em ;
margin : 0 . 67em 0 ;
}
mark {
background : # ff0 ;
color : # 000 ;
}
small {
font-size : 80 % ;
}
sub ,
sup {
font-size : 75 % ;
line-height : 0 ;
position : relative ;
vertical-align : baseline ;
}
sup {
top : -0 . 5em ;
}
sub {
bottom : -0 . 25em ;
}
img {
border : 0 ;
}
svg : not ( : root ) {
overflow : hidden ;
}
figure {
margin : 1em 40px ;
}
hr {
box-sizing : content-box ;
height : 0 ;
}
pre {
overflow : auto ;
}
code ,
kbd ,
pre ,
samp {
font-family : monospace , monospace ;
font-size : 1em ;
}
button ,
input ,
optgroup ,
select ,
textarea {
color : inherit ;
font : inherit ;
margin : 0 ;
}
button {
overflow : visible ;
}
button ,
select {
text-transform : none ;
}
button ,
html input [ type = "button" ] ,
input [ type = "reset" ] ,
input [ type = "submit" ] {
-webkit-appearance : button ;
cursor : pointer ;
}
button [ disabled ] ,
html input [ disabled ] {
cursor : default ;
}
button :: -moz-focus-inner ,
input :: -moz-focus-inner {
2012-01-13 20:10:17 +00:00
border : 0 ;
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
padding : 0 ;
}
input {
line-height : normal ;
}
input [ type = "checkbox" ] ,
input [ type = "radio" ] {
box-sizing : border-box ;
padding : 0 ;
}
input [ type = "number" ] :: -webkit-inner-spin-button ,
input [ type = "number" ] :: -webkit-outer-spin-button {
height : auto ;
}
input [ type = "search" ] :: -webkit-search-cancel-button ,
input [ type = "search" ] :: -webkit-search-decoration {
-webkit-appearance : none ;
}
fieldset {
border : 1px solid # c0c0c0 ;
margin : 0 2px ;
padding : 0 . 35em 0 . 625em 0 . 75em ;
}
legend {
border : 0 ;
padding : 0 ;
}
textarea {
overflow : auto ;
}
optgroup {
font-weight : bold ;
}
table {
border-collapse : collapse ;
border-spacing : 0 ;
}
td ,
th {
padding : 0 ;
2012-01-13 20:10:17 +00:00
}
2014-02-07 12:16:08 +00:00
/ * --------------------------------------------------------------
2015-03-21 08:30:00 +00:00
# Typography
2014-02-07 12:16:08 +00:00
-------------------------------------------------------------- * /
2012-01-13 20:10:17 +00:00
body ,
button ,
input ,
select ,
textarea {
color : # 404040 ;
2015-08-05 18:23:28 +00:00
font-family : sans-serif ;
2012-01-13 20:10:17 +00:00
font-size : 16px ;
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
font-size : 1rem ;
2012-01-13 20:10:17 +00:00
line-height : 1 . 5 ;
}
2014-07-29 20:54:08 +00:00
h1 ,
h2 ,
h3 ,
h4 ,
h5 ,
h6 {
2012-01-13 20:10:17 +00:00
clear : both ;
}
2014-07-29 20:54:08 +00:00
2012-01-13 20:10:17 +00:00
p {
margin-bottom : 1 . 5em ;
}
2014-07-29 20:54:08 +00:00
dfn ,
cite ,
em ,
i {
2012-01-13 20:10:17 +00:00
font-style : italic ;
}
2014-07-29 20:54:08 +00:00
2012-01-13 20:10:17 +00:00
blockquote {
margin : 0 1 . 5em ;
}
2014-07-29 20:54:08 +00:00
2012-01-13 20:10:17 +00:00
address {
margin : 0 0 1 . 5em ;
}
2014-07-29 20:54:08 +00:00
2012-01-13 20:10:17 +00:00
pre {
background : # eee ;
font-family : "Courier 10 Pitch" , Courier , monospace ;
2013-05-28 16:39:02 +00:00
font-size : 15px ;
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
font-size : 0 . 9375rem ;
2012-01-13 20:10:17 +00:00
line-height : 1 . 6 ;
margin-bottom : 1 . 6em ;
max-width : 100 % ;
2013-09-12 21:15:25 +00:00
overflow : auto ;
padding : 1 . 6em ;
2012-01-13 20:10:17 +00:00
}
2014-07-29 20:54:08 +00:00
code ,
kbd ,
tt ,
var {
2014-11-06 01:02:58 +00:00
font-family : Monaco , Consolas , "Andale Mono" , "DejaVu Sans Mono" , monospace ;
2014-09-14 17:26:29 +00:00
font-size : 15px ;
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
font-size : 0 . 9375rem ;
2012-01-13 20:10:17 +00:00
}
2014-07-29 20:54:08 +00:00
abbr ,
acronym {
2012-01-13 20:10:17 +00:00
border-bottom : 1px dotted # 666 ;
cursor : help ;
}
2014-07-29 20:54:08 +00:00
mark ,
ins {
2012-01-13 20:10:17 +00:00
background : # fff9c0 ;
text-decoration : none ;
}
2014-07-29 20:54:08 +00:00
2012-01-13 20:10:17 +00:00
big {
font-size : 125 % ;
}
2014-02-07 12:16:08 +00:00
/ * --------------------------------------------------------------
2015-03-21 08:30:00 +00:00
# Elements
2014-02-07 12:16:08 +00:00
-------------------------------------------------------------- * /
2014-12-31 20:27:05 +00:00
html {
box-sizing : border-box ;
}
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
* ,
* : before ,
* : after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
box-sizing : inherit ;
}
body {
background : # fff ; /* Fallback for when there is no custom background color defined. */
}
blockquote : before ,
blockquote : after ,
q : before ,
q : after {
content : "" ;
}
blockquote ,
q {
quotes : "" "" ;
}
2014-02-07 12:16:08 +00:00
hr {
background-color : # ccc ;
border : 0 ;
height : 1px ;
margin-bottom : 1 . 5em ;
}
2014-07-29 20:54:08 +00:00
ul ,
ol {
2014-02-07 12:16:08 +00:00
margin : 0 0 1 . 5em 3em ;
}
2014-07-29 20:54:08 +00:00
2014-02-07 12:16:08 +00:00
ul {
list-style : disc ;
}
2014-07-29 20:54:08 +00:00
2014-02-07 12:16:08 +00:00
ol {
list-style : decimal ;
}
2014-07-29 20:54:08 +00:00
2014-02-07 12:16:08 +00:00
li > ul ,
li > ol {
margin-bottom : 0 ;
margin-left : 1 . 5em ;
}
2014-07-29 20:54:08 +00:00
2014-02-07 12:16:08 +00:00
dt {
font-weight : bold ;
}
2014-07-29 20:54:08 +00:00
2014-02-07 12:16:08 +00:00
dd {
margin : 0 1 . 5em 1 . 5em ;
}
2014-07-29 20:54:08 +00:00
2014-03-06 02:41:56 +00:00
img {
height : auto ; /* Make sure images are scaled correctly. */
max-width : 100 % ; /* Adhere to container width. */
}
2014-07-29 20:54:08 +00:00
2016-02-08 01:57:58 +00:00
figure {
margin : 1em 0 ; /* Extra wide images within figure tags don't overflow the content area. */
}
2012-01-13 20:10:17 +00:00
table {
margin : 0 0 1 . 5em ;
width : 100 % ;
}
2014-07-29 20:54:08 +00:00
2014-02-07 12:16:08 +00:00
/ * --------------------------------------------------------------
2015-03-21 08:30:00 +00:00
# Forms
2014-02-07 12:16:08 +00:00
-------------------------------------------------------------- * /
2012-01-13 20:10:17 +00:00
button ,
2013-10-21 01:05:11 +00:00
input [ type = "button" ] ,
2012-01-13 20:10:17 +00:00
input [ type = "reset" ] ,
input [ type = "submit" ] {
2014-05-26 21:00:23 +00:00
border : 1px solid ;
2014-07-29 20:54:08 +00:00
border-color : # ccc # ccc # bbb ;
2012-01-13 20:10:17 +00:00
border-radius : 3px ;
2012-08-15 20:45:04 +00:00
background : # e6e6e6 ;
2013-03-26 22:39:48 +00:00
box-shadow : inset 0 1px 0 rgba ( 255 , 255 , 255 , 0 . 5 ) , inset 0 15px 17px rgba ( 255 , 255 , 255 , 0 . 5 ) , inset 0 -5px 12px rgba ( 0 , 0 , 0 , 0 . 05 ) ;
2013-03-05 00:41:38 +00:00
color : rgba ( 0 , 0 , 0 , . 8 ) ;
2013-05-28 16:39:02 +00:00
font-size : 12px ;
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
font-size : 0 . 75rem ;
2012-08-15 20:45:04 +00:00
line-height : 1 ;
2013-02-27 17:32:42 +00:00
padding : . 6em 1em . 4em ;
2013-03-05 00:41:38 +00:00
text-shadow : 0 1px 0 rgba ( 255 , 255 , 255 , 0 . 8 ) ;
2012-01-13 20:10:17 +00:00
}
2014-07-29 20:54:08 +00:00
2012-01-13 20:10:17 +00:00
button : hover ,
2013-10-21 01:05:11 +00:00
input [ type = "button" ] : hover ,
2012-01-13 20:10:17 +00:00
input [ type = "reset" ] : hover ,
input [ type = "submit" ] : hover {
2014-05-26 21:00:23 +00:00
border-color : # ccc # bbb # aaa ;
2013-03-26 22:39:48 +00:00
box-shadow : inset 0 1px 0 rgba ( 255 , 255 , 255 , 0 . 8 ) , inset 0 15px 17px rgba ( 255 , 255 , 255 , 0 . 8 ) , inset 0 -5px 12px rgba ( 0 , 0 , 0 , 0 . 02 ) ;
2012-01-13 20:10:17 +00:00
}
2014-07-29 20:54:08 +00:00
2012-01-13 20:10:17 +00:00
button : focus ,
2013-10-21 01:05:11 +00:00
input [ type = "button" ] : focus ,
2012-01-13 20:10:17 +00:00
input [ type = "reset" ] : focus ,
input [ type = "submit" ] : focus ,
button : active ,
2013-10-21 01:05:11 +00:00
input [ type = "button" ] : active ,
2012-01-13 20:10:17 +00:00
input [ type = "reset" ] : active ,
input [ type = "submit" ] : active {
2014-05-26 21:00:23 +00:00
border-color : # aaa # bbb # bbb ;
2013-03-26 22:39:48 +00:00
box-shadow : inset 0 -1px 0 rgba ( 255 , 255 , 255 , 0 . 5 ) , inset 0 2px 5px rgba ( 0 , 0 , 0 , 0 . 15 ) ;
2012-01-13 20:10:17 +00:00
}
2014-07-29 20:54:08 +00:00
2013-02-27 22:47:03 +00:00
input [ type = "text" ] ,
input [ type = "email" ] ,
2013-08-06 22:57:17 +00:00
input [ type = "url" ] ,
2013-02-27 22:47:03 +00:00
input [ type = "password" ] ,
input [ type = "search" ] ,
2015-12-08 16:28:48 +00:00
input [ type = "number" ] ,
input [ type = "tel" ] ,
input [ type = "range" ] ,
input [ type = "date" ] ,
input [ type = "month" ] ,
input [ type = "week" ] ,
input [ type = "time" ] ,
input [ type = "datetime" ] ,
input [ type = "datetime-local" ] ,
input [ type = "color" ] ,
2012-01-13 20:10:17 +00:00
textarea {
color : # 666 ;
border : 1px solid # ccc ;
border-radius : 3px ;
2016-05-01 20:59:34 +00:00
padding : 3px ;
2012-01-13 20:10:17 +00:00
}
2014-07-29 20:54:08 +00:00
2015-12-08 16:28:48 +00:00
select {
border : 1px solid # ccc ;
}
2013-02-27 22:47:03 +00:00
input [ type = "text" ] : focus ,
input [ type = "email" ] : focus ,
2013-08-06 22:57:17 +00:00
input [ type = "url" ] : focus ,
2013-02-27 22:47:03 +00:00
input [ type = "password" ] : focus ,
input [ type = "search" ] : focus ,
2015-12-08 16:28:48 +00:00
input [ type = "number" ] : focus ,
input [ type = "tel" ] : focus ,
input [ type = "range" ] : focus ,
input [ type = "date" ] : focus ,
input [ type = "month" ] : focus ,
input [ type = "week" ] : focus ,
input [ type = "time" ] : focus ,
input [ type = "datetime" ] : focus ,
input [ type = "datetime-local" ] : focus ,
input [ type = "color" ] : focus ,
2012-01-13 20:10:17 +00:00
textarea : focus {
color : # 111 ;
}
2014-07-29 20:54:08 +00:00
2012-01-13 20:10:17 +00:00
textarea {
2014-05-28 05:05:18 +00:00
width : 100 % ;
2012-01-13 20:10:17 +00:00
}
2014-02-07 12:16:08 +00:00
/ * --------------------------------------------------------------
2015-03-21 08:30:00 +00:00
# Navigation
2014-02-07 12:16:08 +00:00
-------------------------------------------------------------- * /
/ * --------------------------------------------------------------
2015-03-21 08:30:00 +00:00
# # Links
2014-02-07 12:16:08 +00:00
-------------------------------------------------------------- * /
2012-01-13 20:10:17 +00:00
a {
color : royalblue ;
}
2014-07-29 20:54:08 +00:00
2012-01-13 20:10:17 +00:00
a : visited {
color : purple ;
}
2014-07-29 20:54:08 +00:00
2012-01-13 20:10:17 +00:00
a : hover ,
a : focus ,
a : active {
color : midnightblue ;
}
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
a : focus {
outline : thin dotted ;
}
a : hover ,
a : active {
outline : 0 ;
}
2014-02-07 12:16:08 +00:00
/ * --------------------------------------------------------------
2015-03-21 08:30:00 +00:00
# # Menus
2014-02-07 12:16:08 +00:00
-------------------------------------------------------------- * /
2013-07-11 20:17:12 +00:00
. main-navigation {
2012-02-03 14:15:28 +00:00
clear : both ;
display : block ;
float : left ;
width : 100 % ;
}
2014-07-29 20:54:08 +00:00
2013-07-11 20:17:12 +00:00
. main-navigation ul {
2014-08-17 15:07:59 +00:00
display : none ;
2012-02-03 14:15:28 +00:00
list-style : none ;
margin : 0 ;
padding-left : 0 ;
}
2014-07-29 20:54:08 +00:00
2013-07-11 20:17:12 +00:00
. main-navigation li {
2012-02-03 14:15:28 +00:00
float : left ;
position : relative ;
}
2014-07-29 20:54:08 +00:00
2013-07-11 20:17:12 +00:00
. main-navigation a {
2012-02-03 14:15:28 +00:00
display : block ;
text-decoration : none ;
}
2014-07-29 20:54:08 +00:00
2013-07-11 20:17:12 +00:00
. main-navigation ul ul {
2013-03-26 22:39:48 +00:00
box-shadow : 0 3px 3px rgba ( 0 , 0 , 0 , 0 . 2 ) ;
2012-02-03 14:15:28 +00:00
float : left ;
position : absolute ;
2013-09-12 21:15:25 +00:00
top : 1 . 5em ;
2014-05-24 17:30:50 +00:00
left : -999em ;
2012-02-03 14:15:28 +00:00
z-index : 99999 ;
}
2014-07-29 20:54:08 +00:00
2013-07-11 20:17:12 +00:00
. main-navigation ul ul ul {
2014-05-15 02:12:26 +00:00
left : -999em ;
2012-02-03 14:15:28 +00:00
top : 0 ;
}
2014-07-29 20:54:08 +00:00
2013-07-11 20:17:12 +00:00
. main-navigation ul ul a {
2012-02-03 14:15:28 +00:00
width : 200px ;
}
2014-07-29 20:54:08 +00:00
2013-07-11 20:17:12 +00:00
. main-navigation ul ul li {
2014-07-29 20:54:08 +00:00
2012-02-03 14:15:28 +00:00
}
2014-07-29 20:54:08 +00:00
2014-06-30 22:19:39 +00:00
. main-navigation li : hover > a ,
. main-navigation li . focus > a {
2012-02-03 14:15:28 +00:00
}
2014-07-29 20:54:08 +00:00
2014-06-30 22:19:39 +00:00
. main-navigation ul ul : hover > a ,
. main-navigation ul ul . focus > a {
2012-02-03 14:15:28 +00:00
}
2014-07-29 20:54:08 +00:00
2014-06-30 22:19:39 +00:00
. main-navigation ul ul a : hover ,
. main-navigation ul ul a . focus {
2012-02-03 14:15:28 +00:00
}
2014-07-29 20:54:08 +00:00
2014-06-30 22:19:39 +00:00
. main-navigation ul li : hover > ul ,
. main-navigation ul li . focus > ul {
2014-05-15 02:12:26 +00:00
left : auto ;
}
2014-07-29 20:54:08 +00:00
2014-06-30 22:19:39 +00:00
. main-navigation ul ul li : hover > ul ,
. main-navigation ul ul li . focus > ul {
2014-05-15 02:12:26 +00:00
left : 100 % ;
2012-02-03 14:15:28 +00:00
}
2014-07-29 20:54:08 +00:00
2014-09-01 11:30:07 +00:00
. main-navigation . current_page_item > a ,
. main-navigation . current-menu-item > a ,
2015-11-11 16:12:57 +00:00
. main-navigation . current_page_ancestor > a ,
. main-navigation . current-menu-ancestor > a {
2012-02-03 14:15:28 +00:00
}
2014-07-29 20:54:08 +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 ;
2012-02-06 16:40:54 +00:00
}
2014-07-29 20:54:08 +00:00
2014-08-17 15:07:59 +00:00
@ media screen and ( min-width : 37 . 5em ) {
. menu-toggle {
display : none ;
2012-09-03 17:45:28 +00:00
}
2013-07-11 20:17:12 +00:00
. main-navigation ul {
2014-08-17 15:07:59 +00:00
display : block ;
2012-09-03 17:45:28 +00:00
}
}
2014-07-29 20:54:08 +00:00
2014-02-10 17:35:23 +00:00
. site-main . comment-navigation ,
2014-12-19 01:34:18 +00:00
. site-main . posts-navigation ,
2014-02-10 17:35:23 +00:00
. site-main . post-navigation {
2014-02-07 12:16:08 +00:00
margin : 0 0 1 . 5em ;
overflow : hidden ;
}
2014-07-29 20:54:08 +00:00
2014-02-10 17:35:23 +00:00
. comment-navigation . nav-previous ,
2014-12-19 01:34:18 +00:00
. posts-navigation . nav-previous ,
2014-02-10 17:35:23 +00:00
. post-navigation . nav-previous {
2014-02-07 12:16:08 +00:00
float : left ;
width : 50 % ;
}
2014-07-29 20:54:08 +00:00
2014-02-10 17:35:23 +00:00
. comment-navigation . nav-next ,
2014-12-19 01:34:18 +00:00
. posts-navigation . nav-next ,
2014-02-10 17:35:23 +00:00
. post-navigation . nav-next {
2014-02-07 12:16:08 +00:00
float : right ;
text-align : right ;
width : 50 % ;
}
/ * --------------------------------------------------------------
2015-03-21 08:30:00 +00:00
# Accessibility
2014-02-07 12:16:08 +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
/* Text meant only for screen readers. */
2014-02-07 12:16:08 +00:00
. screen-reader-text {
clip : rect ( 1px , 1px , 1px , 1px ) ;
position : absolute ! important ;
2014-05-15 01:30:36 +00:00
height : 1px ;
2014-05-18 20:09:20 +00:00
width : 1px ;
2014-05-15 01:30:36 +00:00
overflow : hidden ;
2014-02-07 12:16:08 +00:00
}
. screen-reader-text : focus {
background-color : # f1f1f1 ;
border-radius : 3px ;
box-shadow : 0 0 2px 2px rgba ( 0 , 0 , 0 , 0 . 6 ) ;
clip : auto ! important ;
color : # 21759b ;
display : block ;
font-size : 14px ;
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
font-size : 0 . 875rem ;
2014-02-07 12:16:08 +00:00
font-weight : bold ;
height : auto ;
left : 5px ;
line-height : normal ;
padding : 15px 23px 14px ;
text-decoration : none ;
top : 5px ;
width : auto ;
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
z-index : 100000 ; /* Above WP toolbar. */
2014-02-07 12:16:08 +00:00
}
2015-11-11 19:54:08 +00:00
/* Do not show the outline on the skip link target. */
# content [ tabindex = "-1" ] : focus {
outline : 0 ;
}
2014-02-07 12:16:08 +00:00
/ * --------------------------------------------------------------
2015-03-21 08:30:00 +00:00
# Alignments
2014-02-07 12:16:08 +00:00
-------------------------------------------------------------- * /
. alignleft {
display : inline ;
float : left ;
margin-right : 1 . 5em ;
}
2014-07-29 20:54:08 +00:00
2014-02-07 12:16:08 +00:00
. alignright {
display : inline ;
float : right ;
margin-left : 1 . 5em ;
}
2014-07-29 20:54:08 +00:00
2014-02-07 12:16:08 +00:00
. aligncenter {
clear : both ;
display : block ;
2015-01-11 19:23:26 +00:00
margin-left : auto ;
margin-right : auto ;
2014-02-07 12:16:08 +00:00
}
2012-02-03 14:15:28 +00:00
2014-02-07 12:16:08 +00:00
/ * --------------------------------------------------------------
2015-03-21 08:30:00 +00:00
# Clearings
2014-02-07 12:16:08 +00:00
-------------------------------------------------------------- * /
. clear : before ,
. clear : after ,
. entry-content : before ,
. entry-content : after ,
. comment-content : before ,
. comment-content : after ,
. site-header : before ,
. site-header : after ,
. site-content : before ,
. site-content : after ,
. site-footer : before ,
. site-footer : after {
2014-09-10 02:39:38 +00:00
content : "" ;
2014-02-07 12:16:08 +00:00
display : table ;
2015-01-11 21:50:06 +00:00
table-layout : fixed ;
2014-02-07 12:16:08 +00:00
}
. clear : after ,
. entry-content : after ,
. comment-content : after ,
. site-header : after ,
. site-content : after ,
. site-footer : after {
clear : both ;
}
/ * --------------------------------------------------------------
2015-03-21 08:30:00 +00:00
# Widgets
2014-02-07 12:16:08 +00:00
-------------------------------------------------------------- * /
. widget {
margin : 0 0 1 . 5em ;
}
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
/* Make sure select elements fit in widgets. */
2014-02-07 12:16:08 +00:00
. widget select {
max-width : 100 % ;
}
2013-06-17 03:29:17 +00:00
2014-02-07 12:16:08 +00:00
/ * --------------------------------------------------------------
2015-03-21 08:30:00 +00:00
# Content
2014-02-07 12:16:08 +00:00
-------------------------------------------------------------- * /
/ * --------------------------------------------------------------
2015-03-21 08:30:00 +00:00
# # Posts and pages
2014-02-07 12:16:08 +00:00
-------------------------------------------------------------- * /
2012-02-07 21:15:27 +00:00
. sticky {
2014-07-29 20:54:08 +00:00
display : block ;
2012-02-07 21:15:27 +00:00
}
2014-07-29 20:54:08 +00:00
2012-01-13 20:10:17 +00:00
. hentry {
margin : 0 0 1 . 5em ;
}
2014-07-29 20:54:08 +00:00
2013-06-27 13:54:02 +00:00
. byline ,
2014-06-15 11:20:06 +00:00
. updated : not ( . published ) {
2012-02-07 02:52:04 +00:00
display : none ;
}
2014-07-29 20:54:08 +00:00
2012-02-07 02:57:41 +00:00
. single . byline ,
2012-02-07 02:52:04 +00:00
. group-blog . byline {
display : inline ;
}
2014-07-29 20:54:08 +00:00
2013-07-11 19:18:47 +00:00
. page-content ,
2012-01-13 20:10:17 +00:00
. entry-content ,
. entry-summary {
margin : 1 . 5em 0 0 ;
}
2014-07-29 20:54:08 +00:00
2012-01-13 20:10:17 +00:00
. page-links {
clear : both ;
margin : 0 0 1 . 5em ;
}
2014-02-07 12:16:08 +00:00
/ * --------------------------------------------------------------
2015-03-21 08:30:00 +00:00
# # Comments
2014-02-07 12:16:08 +00:00
-------------------------------------------------------------- * /
. comment-content a {
word-wrap : break-word ;
}
2014-07-29 20:54:08 +00:00
2014-02-07 12:16:08 +00:00
. bypostauthor {
2014-07-29 20:54:08 +00:00
display : block ;
2014-02-07 12:16:08 +00:00
}
2012-02-10 20:49:23 +00:00
2014-02-07 12:16:08 +00:00
/ * --------------------------------------------------------------
2015-03-21 08:30:00 +00:00
# Infinite scroll
2014-02-07 12:16:08 +00:00
-------------------------------------------------------------- * /
/* Globally hidden elements when Infinite Scroll is supported and in use. */
2014-12-19 01:34:18 +00:00
. infinite-scroll . posts-navigation , /* Older / Newer Posts Navigation (always hidden) */
2014-02-07 12:16:08 +00:00
. infinite-scroll . neverending . site-footer { /* Theme Footer (when set to scrolling) */
display : none ;
}
2014-07-29 20:54:08 +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
/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
2014-02-07 12:16:08 +00:00
. infinity-end . neverending . site-footer {
display : block ;
}
2012-01-13 20:10:17 +00:00
2014-02-07 12:16:08 +00:00
/ * --------------------------------------------------------------
2015-03-21 08:30:00 +00:00
# Media
2014-02-07 12:16:08 +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
. page-content . wp-smiley ,
. entry-content . wp-smiley ,
. comment-content . wp-smiley {
2012-01-13 20:10:17 +00:00
border : none ;
margin-bottom : 0 ;
margin-top : 0 ;
padding : 0 ;
}
2014-07-29 20:54:08 +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
/* Make sure embeds and iframes fit their containers. */
2014-04-11 20:24:38 +00:00
embed ,
iframe ,
object {
max-width : 100 % ;
}
/ * --------------------------------------------------------------
2015-03-21 08:30:00 +00:00
# # Captions
2014-04-11 20:24:38 +00:00
-------------------------------------------------------------- * /
2012-01-13 20:10:17 +00:00
. wp-caption {
margin-bottom : 1 . 5em ;
2012-12-29 01:03:31 +00:00
max-width : 100 % ;
2012-01-13 20:10:17 +00:00
}
2014-07-29 20:54:08 +00:00
2012-12-29 01:12:10 +00:00
. wp-caption img [ class * = "wp-image-" ] {
2012-01-13 20:10:17 +00:00
display : block ;
2015-08-05 19:30:03 +00:00
margin-left : auto ;
margin-right : auto ;
2012-01-13 20:10:17 +00:00
}
2014-07-29 20:54:08 +00:00
2012-01-13 20:10:17 +00:00
. wp-caption . wp-caption-text {
margin : 0 . 8075em 0 ;
}
2014-04-11 20:24:38 +00:00
2015-08-05 19:30:03 +00:00
. wp-caption-text {
text-align : center ;
}
2014-03-06 05:41:15 +00:00
/ * --------------------------------------------------------------
2015-03-21 08:30:00 +00:00
# # Galleries
2014-03-06 05:41:15 +00:00
-------------------------------------------------------------- * /
. gallery {
2014-04-11 20:24:38 +00:00
margin-bottom : 1 . 5em ;
2014-03-06 05:41:15 +00:00
}
2014-07-29 20:54:08 +00:00
2014-03-06 05:41:15 +00:00
. gallery-item {
2014-04-11 20:24:38 +00:00
display : inline-block ;
2014-03-06 05:41:15 +00:00
text-align : center ;
2014-04-11 20:24:38 +00:00
vertical-align : top ;
2014-03-06 05:41:15 +00:00
width : 100 % ;
}
2014-07-29 20:54:08 +00:00
2014-03-06 05:41:15 +00:00
. gallery-columns-2 . gallery-item {
2014-03-07 21:22:06 +00:00
max-width : 50 % ;
2014-03-06 05:41:15 +00:00
}
2014-07-29 20:54:08 +00:00
2014-03-06 05:41:15 +00:00
. gallery-columns-3 . gallery-item {
2014-03-07 21:22:06 +00:00
max-width : 33 . 33 % ;
2014-03-06 05:41:15 +00:00
}
2014-07-29 20:54:08 +00:00
2014-03-06 05:41:15 +00:00
. gallery-columns-4 . gallery-item {
2014-03-07 21:22:06 +00:00
max-width : 25 % ;
2014-03-06 05:41:15 +00:00
}
2014-07-29 20:54:08 +00:00
2014-03-06 05:41:15 +00:00
. gallery-columns-5 . gallery-item {
2014-03-07 21:22:06 +00:00
max-width : 20 % ;
2014-03-06 05:41:15 +00:00
}
2014-07-29 20:54:08 +00:00
2014-03-06 05:41:15 +00:00
. gallery-columns-6 . gallery-item {
2014-03-07 21:22:06 +00:00
max-width : 16 . 66 % ;
2014-03-06 05:41:15 +00:00
}
2014-07-29 20:54:08 +00:00
2014-03-06 05:41:15 +00:00
. gallery-columns-7 . gallery-item {
2014-04-11 20:24:38 +00:00
max-width : 14 . 28 % ;
2014-03-06 05:41:15 +00:00
}
2014-07-29 20:54:08 +00:00
2014-03-06 05:41:15 +00:00
. gallery-columns-8 . gallery-item {
2014-03-07 21:22:06 +00:00
max-width : 12 . 5 % ;
2014-03-06 05:41:15 +00:00
}
2014-07-29 20:54:08 +00:00
2014-03-06 05:41:15 +00:00
. gallery-columns-9 . gallery-item {
2014-03-07 21:22:06 +00:00
max-width : 11 . 11 % ;
2012-02-07 21:14:42 +00:00
}
2014-07-29 20:54:08 +00:00
. gallery-caption {
display : block ;
}