clean up of style.css to fix branch mania

This commit is contained in:
Jacob Haddon 2020-11-19 20:34:52 -05:00
parent 669f19560e
commit 9ea8e156a1

View File

@ -16,7 +16,6 @@ Original theme, Dalton Rooney - http://madebyraygun.com
/* @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; } */
/* @end */ /* @end */
/* @group Reset */ /* @group Reset */
/* Based upon 'reset.css' in the Yahoo! User Interface Library: http://developer.yahoo.com/yui */ /* Based upon 'reset.css' in the Yahoo! User Interface Library: http://developer.yahoo.com/yui */
@ -61,20 +60,13 @@ a img { border: none; }
/* Gets rid of IE's blue borders */ /* Gets rid of IE's blue borders */
/* @end */ /* @end */
/* # Width Styles ---------------------------------------------- */ /* # Width Styles ---------------------------------------------- */
div#wrapper, div#header, #menu, div#footer div#wrapper, div#header, #menu, div#footer { max-width: 810px; }
{ img { max-width: 100%; }
max-width: 810px;
}
img { max-width: 100%;}
/* # Typography ---------------------------------------------- */ /* # Typography ---------------------------------------------- */
/* ## Serif */ /* ## Serif */
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; } 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; }
span.dropcap, span.dropcap,
.page #content h2, .page #content h2,
#site-title a, #site-title a,
@ -94,7 +86,6 @@ pre.wp-block-verse,
a#cancel-comment-reply-link { font-family: Jost, 'helvetica neue',helvetica, arial,sans-serif; } a#cancel-comment-reply-link { font-family: Jost, 'helvetica neue',helvetica, arial,sans-serif; }
figcaption, input[type="submit"] { font-family: Jost, Futura; } figcaption, input[type="submit"] { font-family: Jost, Futura; }
/* @group Body ---------------------------------------------- */ /* @group Body ---------------------------------------------- */
body body
{ {
@ -104,11 +95,11 @@ body
text-align: left; text-align: left;
line-height: 1.3em; line-height: 1.3em;
margin: 0; margin: 0;
text-shadow: #fff 0 0 1px; /* text-shadow: #fff 0 0 1px; */
/* for extra long words */ /* for extra long words */
-ms-word-wrap: break-word; -ms-word-wrap: break-word;
word-wrap: break-word; word-wrap: break-word;
/* #f1ede8 */ /* #f1ede8 */
} }
div#wrapper div#wrapper
@ -119,11 +110,14 @@ div#wrapper
margin: 0 auto -40px; margin: 0 auto -40px;
border-right: 1px solid #cccccc; border-right: 1px solid #cccccc;
border-left: 1px solid #cccccc; border-left: 1px solid #cccccc;
/*
-moz-box-shadow: 1px 0 20px #dddddd; -moz-box-shadow: 1px 0 20px #dddddd;
-webkit-box-shadow: 1px 0 20px #dddddd; -webkit-box-shadow: 1px 0 20px #dddddd;
box-shadow: 1px 0 20px #dddddd; box-shadow: 1px 0 20px #dddddd;
/* overflow: hidden; */ */
/* overflow: hidden; */
padding-top: 20px; padding-top: 20px;
word-wrap: break-word;
} }
h1, h2, h3, h4, h5, h6 h1, h2, h3, h4, h5, h6
@ -163,7 +157,6 @@ blockquote
} }
cite { font-style: italic; } cite { font-style: italic; }
hr { margin: 20px 0; } hr { margin: 20px 0; }
#content table #content table
@ -205,12 +198,18 @@ hr { margin: 20px 0; }
{ {
margin: 20px 0; margin: 20px 0;
padding: 10px; padding: 10px;
overflow: hidden;
text-overflow: ellipsis;
/* /*
background-color: #fdfdfd; background-color: #fdfdfd;
border: 1px solid #eeeeee; border: 1px solid #eeeeee;
*/ */
} }
#content pre:hover {
overflow: visible;
}
#content address #content address
{ {
font-style: italic; font-style: italic;
@ -244,7 +243,7 @@ hr { margin: 20px 0; }
div#content div#content
{ {
margin: 0 0 20px 0; margin: 40px 0 20px 0;
padding: 0px 80px 0 80px; padding: 0px 80px 0 80px;
} }
@ -321,11 +320,8 @@ p.wp-caption-text
.page-link a:hover { color: #aaa; } .page-link a:hover { color: #aaa; }
.alignnone { margin: 20px 0; } .alignnone { margin: 20px 0; }
/* fix the height for these alignments */ /* fix the height for these alignments */
.alignleft img, .alignright img, .aligncenter img, .alignwide img, .alignfull img { .alignleft img, .alignright img, .aligncenter img, .alignwide img, .alignfull img { height: auto !important; }
height: auto !important;
}
.aligncenter .aligncenter
{ {
@ -354,22 +350,12 @@ p.wp-caption-text
} }
/* Remove excess padding for the wide/full alignment */ /* Remove excess padding for the wide/full alignment */
.wp-block-cover.alignwide, .wp-block-cover.alignfull { .wp-block-cover.alignwide, .wp-block-cover.alignfull { padding: 0px !important; }
padding: 0px !important;
}
/* To fix inherited width attribute */ /* To fix inherited width attribute */
.wp-block-cover { .wp-block-cover { width: inherit; }
width: inherit; .alignwide figcaption { padding-left: 80px; }
} .alignfull figcaption { text-align: center; }
.alignwide figcaption {
padding-left: 80px;
}
.alignfull figcaption {
text-align: center;
}
.alignfull .alignfull
{ {
@ -382,14 +368,8 @@ p.wp-caption-text
width: 100vw; width: 100vw;
} }
figcaption figcaption { font-size: 0.75em; }
{ .wp-block-columns.alignfull { background: #fff; }
font-size: 0.75em;
}
.wp-block-columns.alignfull {
background: #fff;
}
.wp-caption .wp-caption
{ {
@ -410,11 +390,10 @@ br.clear
/* Use this br class to clear your floated columns */ /* Use this br class to clear your floated columns */
/* @end */ /* @end */
/* @group Header ---------------------------------------------- */ /* @group Header ---------------------------------------------- */
div#header div#header
{ {
margin: 0 0 60px 0; /* margin: 0 0 20px 0; */
padding: 0 0 20px 0; padding: 0 0 20px 0;
color: #777777; color: #777777;
/* border-bottom: 1px solid #bbbbbb; */ /* border-bottom: 1px solid #bbbbbb; */
@ -454,9 +433,11 @@ div#footer
border-top: 1px solid #dddddd; border-top: 1px solid #dddddd;
border-right: 1px solid #cccccc; border-right: 1px solid #cccccc;
border-left: 1px solid #cccccc; border-left: 1px solid #cccccc;
/*
-moz-box-shadow: 1px 4 20px #dddddd; -moz-box-shadow: 1px 4 20px #dddddd;
-webkit-box-shadow: 1px 4 20px #dddddd; -webkit-box-shadow: 1px 4 20px #dddddd;
box-shadow: 1px 4 20px #dddddd; box-shadow: 1px 4 20px #dddddd;
*/
overflow: hidden; overflow: hidden;
} }
@ -561,9 +542,7 @@ input#searchsubmit:hover
margin: 0 auto; margin: 0 auto;
} }
.blocks-gallery-item { .blocks-gallery-item { margin: 0px !important; }
margin: 0px !important;
}
/* @end */ /* @end */
/* @group Comments ---------------------------------------------- */ /* @group Comments ---------------------------------------------- */
@ -722,7 +701,6 @@ h3#reply-title { margin: 18px 0; }
} }
/* @end */ /* @end */
/* @group Menu ---------------------------------------------- */ /* @group Menu ---------------------------------------------- */
/* Header Menu Styles */ /* Header Menu Styles */
#menu #menu
@ -730,9 +708,11 @@ h3#reply-title { margin: 18px 0; }
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;
/*
-moz-box-shadow: 1px 4 20px #dddddd; -moz-box-shadow: 1px 4 20px #dddddd;
-webkit-box-shadow: 1px 4 20px #dddddd; -webkit-box-shadow: 1px 4 20px #dddddd;
box-shadow: 1px 4 20px #dddddd; box-shadow: 1px 4 20px #dddddd;
*/
} }
#menu div.menu, #menu div.melville_footer_menu #menu div.menu, #menu div.melville_footer_menu
@ -778,7 +758,6 @@ h3#reply-title { margin: 18px 0; }
color: #333333; color: #333333;
} }
/* Footer Menu Styles */ /* Footer Menu Styles */
.melville_header_menu ul .melville_header_menu ul
{ {
@ -826,15 +805,13 @@ h3#reply-title { margin: 18px 0; }
} }
/* # Gutenberg Blocks ---------------------------------------------- */ /* # Gutenberg Blocks ---------------------------------------------- */
#content pre.wp-block-verse #content pre.wp-block-verse
{ {
line-height: 1.5em; line-height: 1.5em;
color: #222222; color: #222222;
padding: 50px; padding: 50px;
text-shadow: none; text-shadow: none;
/* Not sure about this idea yet... /* Not sure about this idea yet...
background: #d5b78b94; background: #d5b78b94;
border-radius: 20px 75px; border-radius: 20px 75px;
*/ */
@ -849,9 +826,7 @@ p.has-drop-cap:not(:focus):first-letter
} }
/* @end */ /* @end */
/* # Widget Areas ---------------------------------------------- */ /* # Widget Areas ---------------------------------------------- */
.widget-area { width: 30%; } .widget-area { width: 30%; }
.widget-area ul .widget-area ul
@ -1003,7 +978,6 @@ p.has-drop-cap:not(:focus):first-letter
} }
/* # Possibly Obsolete */ /* # Possibly Obsolete */
.headerLine .headerLine
{ {
border-bottom: 0.5px #bbbbbb; border-bottom: 0.5px #bbbbbb;
@ -1012,8 +986,8 @@ p.has-drop-cap:not(:focus):first-letter
margin-left: auto; margin-left: auto;
} }
.sticky
.sticky { {
background: #c3dce8; background: #c3dce8;
position: relative; position: relative;
width: 100%; width: 100%;
@ -1023,8 +997,6 @@ p.has-drop-cap:not(:focus):first-letter
z-index: 0; z-index: 0;
} }
@media screen and (prefers-color-scheme: dark) @media screen and (prefers-color-scheme: dark)
{ {