/*
Theme Name: pushcx
Theme URI: https://push.cx/
Author: Peter Bhat Harkins
Author URI: https://push.cx/
Description: Theme based on Tufte-CSS
Version: 104
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, right-sidebar

Theme based on Twenty_Seventeen

Uses Tufte-CSS for styling;
the below is push.cx-specific
 */

/* font */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local("Lato Regular"), local("Lato-Regular"), font-url("fonts/Lato-Regular.ttf") format("truetype");
}

@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local("Lato Italic"), local("Lato-Italic"), font-url("fonts/Lato-Italic.ttf") format("truetype");
}

html {
  font-size: 12px;
}

body {
  background: #ffffee ;
}

@media (min-width: 760px) {
  body {
    background: #ffffee url('images/cubes-right.png') top right repeat-y;
  }
}

header, h1, h2, h3 {
  color: #422335;
  font-style: normal;
}
h1 a, h2 a, h1 a:link, h2 a:link, h1 a:visited, h2 a:visited {
  background: none;
  color: #422335;
  text-decoration: none;
  text-shadow: none;
}
h2 > .under-headline {
  margin-top: 3.5rem;
}

/* make link clickable even if floated so next article would cover it */
#masthead {
  z-index: 1;
}
@media (max-width: 760px) {
  #masthead .marginnote {
    margin: 0 0 1rem 0;
    text-align: center;
  }
}

#title-toggle { position: relative; }
#title-toggle-cb { display: none; }
#title-toggle-cb:checked + #title-toggle:after {
  content: '\25f4';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffee;
}

h1.entry-title {
  margin-top: 1rem;
}

header.p {
  margin: 0;
}

header a:link {
  background: none;
  text-shadow: none;
}

header nav ol {
  margin: 0;
  padding: 0.5rem 0 0 1px;
}

header nav ol li {
  display: inline;
  margin-right: 1rem;
}

header .promo {
  margin-top: 0.2rem;
}


body > footer {
  margin-top: 3rem;
}


.center {
  margin: 0 auto;
}


.clearfix {
  clear: both;
}

dl { padding: 0; }
dt { margin-top: 1em; }


input, textarea {
  font-size: 1.4rem;
  margin: 0.5rem 0;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.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;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000; /* Above WP toolbar. */
}

/* wp-geshi defaults are kinda hideous */
.wp-geshi-highlight {
  background-color: transparent;
  border: 0;
  margin: 0 0 0 2rem;
  padding: 0;
  max-width: 90%;
}

.comment-content p {
  width: 55%;
}

/*
Nice css hack: I want only want a single span holding a * in my book review
markup (so it's easily copied) but I want to display an empty absolute span
wrapping a relative div with a unicode star (so it's hanging into the left
margin).
*/
.recommended {
  position: absolute;
  color: #ffeeee; /* hide the * by making it the same color as the bg */
  z-index: -1; /* and behind the text */
}
.recommended::after {
  color: #000;
  content: "\2605"; /* display a nice unicode star */
  position: relative;
  left: -2.5em;
}

#footer {
  /* background-color: #d3b56f;*/
  background-color: #a79364;
padding: 0 45% 0 15%;
margin-left: -15%;
  text-align: left;
}
#footer a:link {
 background: linear-gradient(#a79364, #a79364), linear-gradient(#a79364, #a79364), linear-gradient(#333, #333);
 background-size: 0.05em 1px, 0.05em 1px, 1px 1px;
 background-repeat: no-repeat, no-repeat, repeat-x;
 text-shadow: 0.03em 0 #a79364, -0.03em 0 #a79364, 0 0.03em #a79364, 0 -0.03em #a79364, 0.06em 0 #a79364, -0.06em 0 #a79364, 0.09em 0 #a79364, -0.09em 0 #a79364, 0.12em 0 #a79364, -0.12em 0 #a79364, 0.15em 0 #a79364, -0.15em 0 #a79364;
 background-position: 0% 93%, 100% 93%, 0% 93%;
}
