Created
August 28, 2018 00:33
-
-
Save ericdodds/655c1b1cb9f67e9f8d8ce52b89aa3c15 to your computer and use it in GitHub Desktop.
ericdodds.com WordPress - extra CSS in Hardy theme
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Welcome to Custom CSS! | |
CSS (Cascading Style Sheets) is a kind of code that tells the browser how | |
to render a web page. You may delete these comments and get started with | |
your customizations. | |
By default, your stylesheet will be loaded after the theme stylesheets, | |
which means that your rules can take precedence and override the theme CSS | |
rules. Just write here what you want to change, you don't need to copy all | |
your theme's stylesheet content. | |
*/ | |
img { | |
border-radius: 3px; | |
} | |
sup, sub { | |
vertical-align: baseline; | |
position: relative; | |
top: -.4em; | |
} | |
sub { | |
top: .4em; | |
} | |
textarea:focus, input:focus { | |
outline: 0; | |
} | |
.textwidget input[type="email"] { | |
width: 85%; | |
} | |
.citepro { | |
color: #4da7ca; | |
} | |
p.citepro-block { | |
clear: both; | |
padding: 15px 7px 7px 0; | |
border-top: 2px solid #ccc; | |
border-bottom: none; | |
} | |
.citepro-text p { | |
padding-bottom: 14px; | |
} | |
.citepro-text:after { | |
content: " ↩"; | |
cursor: pointer; | |
} | |
.footnotes { | |
font-size: 100%; | |
line-height: 1.5em; | |
padding: 10px 0; | |
} | |
.footnotes .footnotedivider { | |
width: 100%; | |
border-bottom: 2px solid #ccc; | |
margin-bottom: 15px; | |
} | |
.footnotes li { | |
margin: 0 0 5px; | |
} | |
/* | |
sup.footnote a { | |
text-decoration: none; | |
font-size: 80%; | |
} | |
sup.footnote { | |
line-height: 0; | |
} | |
*/ | |
.footnotereverse a { | |
padding: 0 0 0 5px; | |
text-decoration: none; | |
} | |
input[type="email"], textarea { | |
background-color: #fafafa; | |
padding: 15px; | |
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | |
-webkit-border-radius: 5px; | |
-moz-border-radius: 5px; | |
border-radius: 5px; | |
color: #6a6a6a; | |
border: 1px solid rgba(0,0,0,.05); | |
border-bottom: 2px solid rgba(0,0,0,.1); | |
background: #f7f7f7; | |
font-size: .9em; | |
-webkit-appearance: none; | |
} | |
input[type="email"]:focus { | |
outline: none; | |
background-color: #f7f7f7; | |
} | |
.button, #searchsubmit, input[type="submit"] { | |
margin-top: 15px; | |
} | |
textarea:focus { | |
outline: none; | |
background-color: #f7f7f7; | |
} | |
hr { | |
border: 0; | |
height: 0; | |
border-top: 1px solid rgba(0,0,0,0.1); | |
border-bottom: 1px solid rgba(255,255,255,0.3); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment