combined font and size declarations into one place. Drop cap updated to match previous design.
This commit is contained in:
parent
7ee0633b8c
commit
cda9ac5e6d
83
style.css
83
style.css
@ -11,6 +11,9 @@ Based on TwentyTen, the default WordPress theme
|
|||||||
Original theme, Dalton Rooney - http://madebyraygun.com
|
Original theme, Dalton Rooney - http://madebyraygun.com
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
@import url(https://fonts.googleapis.com/css2?family=Sorts+Mill+Goudy:ital@0);
|
||||||
|
|
||||||
/* @group Google Font Loader */
|
/* @group Google Font Loader */
|
||||||
#site-title a, #content h1.entry-title, #content h1.page-title, #content h2.entry-title, span.cap { visibility: hidden; }
|
#site-title a, #content h1.entry-title, #content h1.page-title, #content h2.entry-title, span.cap { visibility: hidden; }
|
||||||
.wf-active #site-title a, .wf-active #site-title a, .wf-active #content h1.entry-title, .wf-active #content h1.page-title, .wf-active #content h2.entry-title, .wf-active span.cap, .wf-inactive #site-title a, .wf-inactive #site-title a, .wf-inactive #content h1.entry-title, .wf-inactive #content h1.page-title, .wf-inactive #content h2.entry-title, .wf-inactive span.cap { visibility: visible; }
|
.wf-active #site-title a, .wf-active #site-title a, .wf-active #content h1.entry-title, .wf-active #content h1.page-title, .wf-active #content h2.entry-title, .wf-active span.cap, .wf-inactive #site-title a, .wf-inactive #site-title a, .wf-inactive #content h1.entry-title, .wf-inactive #content h1.page-title, .wf-inactive #content h2.entry-title, .wf-inactive span.cap { visibility: visible; }
|
||||||
@ -57,11 +60,54 @@ a img { border: none; }
|
|||||||
|
|
||||||
/* Gets rid of IE's blue borders */
|
/* Gets rid of IE's blue borders */
|
||||||
/* @end */
|
/* @end */
|
||||||
/* @group Body */
|
|
||||||
|
|
||||||
|
/* Typography */
|
||||||
|
|
||||||
|
/* Serif */
|
||||||
|
|
||||||
body
|
body
|
||||||
{
|
{
|
||||||
font-family: "Palatino Linotype", Palatino, Palladio, "URW Palladio L", "Book Antiqua", Baskerville, "Bookman Old Style", "Bitstream Charter", "Nimbus Roman No9 L", Garamond, "Apple Garamond", "ITC Garamond Narrow", "New Century Schoolbook", "Century Schoolbook", "Century Schoolbook L", Georgia, serif;
|
font-family: "Palatino Linotype", Palatino, Palladio, "URW Palladio L", "Book Antiqua", Baskerville, "Bookman Old Style", "Bitstream Charter", "Nimbus Roman No9 L", Garamond, "Apple Garamond", "ITC Garamond Narrow", "New Century Schoolbook", "Century Schoolbook", "Century Schoolbook L", Georgia, serif;
|
||||||
font-size: 1rem;
|
}
|
||||||
|
|
||||||
|
|
||||||
|
span.dropcap,
|
||||||
|
.page #content h2,
|
||||||
|
#site-title a,
|
||||||
|
h3#reply-title, h3#comments-title,
|
||||||
|
#menu div.menu li a, #menu div.menu-footer li a,
|
||||||
|
pre.wp-block-verse
|
||||||
|
{
|
||||||
|
font-family: 'Sorts Mill Goudy', Georgia, serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* San-Serif */
|
||||||
|
|
||||||
|
a#cancel-comment-reply-link
|
||||||
|
{
|
||||||
|
font-family: 'helvetica neue',helvetica, arial,sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Width Styles */
|
||||||
|
|
||||||
|
div#wrapper, div#header
|
||||||
|
{
|
||||||
|
/* width: 600px; */
|
||||||
|
width: 650px;
|
||||||
|
}
|
||||||
|
#menu, div#footer
|
||||||
|
{
|
||||||
|
width: 810px; /* div#wrapper + 160 px */
|
||||||
|
/* width: 760px; */
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/* @group Body */
|
||||||
|
|
||||||
|
body
|
||||||
|
{
|
||||||
|
font-size: 1.1rem;
|
||||||
color: #555555;
|
color: #555555;
|
||||||
background: #eeeeee url(images/bg.png);
|
background: #eeeeee url(images/bg.png);
|
||||||
text-align: left;
|
text-align: left;
|
||||||
@ -72,7 +118,6 @@ body
|
|||||||
|
|
||||||
div#wrapper
|
div#wrapper
|
||||||
{
|
{
|
||||||
width: 650px;
|
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
height: auto !important;
|
height: auto !important;
|
||||||
@ -88,7 +133,6 @@ div#wrapper
|
|||||||
|
|
||||||
h1, h2, h3, h4, h5, h6
|
h1, h2, h3, h4, h5, h6
|
||||||
{
|
{
|
||||||
font-weight: normal;
|
|
||||||
margin: 15px 0;
|
margin: 15px 0;
|
||||||
clear: both;
|
clear: both;
|
||||||
}
|
}
|
||||||
@ -152,18 +196,6 @@ hr { margin: 20px 0; }
|
|||||||
|
|
||||||
#content tr.odd td { background: #fafafa; }
|
#content tr.odd td { background: #fafafa; }
|
||||||
#content div.post { margin: 0 0 70px 0; }
|
#content div.post { margin: 0 0 70px 0; }
|
||||||
|
|
||||||
span.dropcap
|
|
||||||
{
|
|
||||||
font-weight: bold;
|
|
||||||
font-family: 'OFLSortsMillGoudyRegular', Georgia, serif;
|
|
||||||
float: left;
|
|
||||||
font-size: 3em;
|
|
||||||
line-height: 1em;
|
|
||||||
margin: 8px 2px -10px 0;
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
|
|
||||||
#content ul, #content ol { margin: 5px 0; }
|
#content ul, #content ol { margin: 5px 0; }
|
||||||
#content li { margin: 0 0 0 20px; }
|
#content li { margin: 0 0 0 20px; }
|
||||||
|
|
||||||
@ -197,7 +229,7 @@ span.dropcap
|
|||||||
text-align: center;
|
text-align: center;
|
||||||
margin: 0 0 30px 0;
|
margin: 0 0 30px 0;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-family: 'OFLSortsMillGoudyRegular', Georgia, serif;
|
/* font-family: 'OFLSortsMillGoudyRegular', Georgia, serif; */
|
||||||
font-size: 1.8em;
|
font-size: 1.8em;
|
||||||
line-height: 1.2em;
|
line-height: 1.2em;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
@ -236,7 +268,7 @@ div#content { margin: 0 0 20px 0; }
|
|||||||
|
|
||||||
.page #content h2
|
.page #content h2
|
||||||
{
|
{
|
||||||
font-family: 'OFLSortsMillGoudyRegular', Georgia, serif;
|
/* font-family: 'OFLSortsMillGoudyRegular', Georgia, serif; */
|
||||||
margin: 35px 0 10px;
|
margin: 35px 0 10px;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
color: #555555;
|
color: #555555;
|
||||||
@ -264,7 +296,6 @@ label.screen-reader-text { display: none; }
|
|||||||
|
|
||||||
a#cancel-comment-reply-link
|
a#cancel-comment-reply-link
|
||||||
{
|
{
|
||||||
font-family: 'helvetica neue',helvetica, arial,sans-serif;
|
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
margin: 0 10px;
|
margin: 0 10px;
|
||||||
}
|
}
|
||||||
@ -333,7 +364,6 @@ div#header
|
|||||||
{
|
{
|
||||||
margin: 0 0 60px 0;
|
margin: 0 0 60px 0;
|
||||||
padding: 0 0 20px 0;
|
padding: 0 0 20px 0;
|
||||||
width: 650px;
|
|
||||||
color: #777777;
|
color: #777777;
|
||||||
border-bottom: 1px solid #bbbbbb;
|
border-bottom: 1px solid #bbbbbb;
|
||||||
}
|
}
|
||||||
@ -346,7 +376,6 @@ div#header
|
|||||||
|
|
||||||
#site-title a
|
#site-title a
|
||||||
{
|
{
|
||||||
font-family: 'OFLSortsMillGoudyItalic', Georgia, sans;
|
|
||||||
font-size: 60px;
|
font-size: 60px;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
@ -450,7 +479,6 @@ form#commentform { width: 80%; }
|
|||||||
|
|
||||||
h3#reply-title, h3#comments-title
|
h3#reply-title, h3#comments-title
|
||||||
{
|
{
|
||||||
font-family: 'OFLSortsMillGoudyRegular', Georgia, serif;
|
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
color: #555555;
|
color: #555555;
|
||||||
margin: 20px 0 10px 0;
|
margin: 20px 0 10px 0;
|
||||||
@ -605,7 +633,6 @@ h3#reply-title { margin: 18px 0; }
|
|||||||
/* @group Menu */
|
/* @group Menu */
|
||||||
#menu
|
#menu
|
||||||
{
|
{
|
||||||
width: 810px;
|
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
border-right: 1px solid #cccccc;
|
border-right: 1px solid #cccccc;
|
||||||
border-left: 1px solid #cccccc;
|
border-left: 1px solid #cccccc;
|
||||||
@ -641,7 +668,7 @@ h3#reply-title { margin: 18px 0; }
|
|||||||
|
|
||||||
#menu div.menu li a, #menu div.menu-footer li a
|
#menu div.menu li a, #menu div.menu-footer li a
|
||||||
{
|
{
|
||||||
font-family: 'OFLSortsMillGoudyRegular', Georgia, serif;
|
/* font-family: 'OFLSortsMillGoudyRegular', Georgia, serif; */
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
@ -666,7 +693,6 @@ h3#reply-title { margin: 18px 0; }
|
|||||||
|
|
||||||
div#footer
|
div#footer
|
||||||
{
|
{
|
||||||
width: 810px;
|
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 20px 0 0 0;
|
padding: 20px 0 0 0;
|
||||||
background-color: #fafafa;
|
background-color: #fafafa;
|
||||||
@ -736,11 +762,16 @@ span.older-posts a, span.newer-posts a
|
|||||||
/* ## Gutenberg Blocks ## */
|
/* ## Gutenberg Blocks ## */
|
||||||
pre.wp-block-verse
|
pre.wp-block-verse
|
||||||
{
|
{
|
||||||
font-family: 'OFLSortsMillGoudyRegular', Georgia, serif;
|
|
||||||
line-height: 1.5em;
|
line-height: 1.5em;
|
||||||
color: #555555;
|
color: #555555;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wp-block-pullquote blockquote { font-style: normal; }
|
.wp-block-pullquote blockquote { font-style: normal; }
|
||||||
|
|
||||||
|
p.has-drop-cap:not(:focus):first-letter
|
||||||
|
{
|
||||||
|
font-size: 3em;
|
||||||
|
margin: 8px 3px -10px 0;
|
||||||
|
}
|
||||||
|
|
||||||
/* @end */
|
/* @end */
|
Loading…
x
Reference in New Issue
Block a user