/** Fifty shades of Tux
 * A black, white and yellow css for linuxkernal.org based on normalize.css
 * MIT License
 * Benoît Monin [benoit.monin gmx.fr]
 */

@import "normalize.css";

/**
 * To use Google-hosted versions, use the following instead of @font-face
 * definitions below.
 *
 * @import "https://fonts.googleapis.com/css?family=Oxygen";
 * @import "https://fonts.googleapis.com/css?family=Oswald:400";
 *
 * We use locally-stored copies to avoid slowdowns in places like mainland
 * China, where all access to Google is really slow.
 */
@font-face {
  font-family: "oswald";
  src: url("../fonts/oswald-regular-webfont.eot");
  src: url("../fonts/oswald-regular-webfont%EF%B9%96.eot#iefix")
      format("embedded-opentype"),
    url("../fonts/oswald-regular-webfont.woff2") format("woff2"),
    url("../fonts/oswald-regular-webfont.woff") format("woff"),
    url("../fonts/oswald-regular-webfont.ttf") format("truetype"),
    url("../fonts/oswald-regular-webfont.svg#oswaldregular") format("svg");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "oxygen";
  src: url("../fonts/oxygen-regular-webfont.eot");
  src: url("../fonts/oxygen-regular-webfont%EF%B9%96.eot#iefix")
      format("embedded-opentype"),
    url("../fonts/oxygen-regular-webfont.woff2") format("woff2"),
    url("../fonts/oxygen-regular-webfont.woff") format("woff"),
    url("../fonts/oxygen-regular-webfont.ttf") format("truetype"),
    url("../fonts/oxygen-regular-webfont.svg#oxygenregular") format("svg");
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: oxygen, sans-serif;
  background: #f0ede3;
  color: #33290a;
}

#banner {
  text-align: center;
  background: #ffffff;
  margin: 0em auto;
  padding: 1em;
  width: 50em;
  border: thin solid;
  border-color: #dddacf #ccc8b8 #bbb59f;
  box-shadow: 0 0.1em 0.3em #ccc8b8;
  border-bottom-right-radius: 0.5em;
  border-bottom-left-radius: 0.5em;
}
#tux-gear {
  width: 6.5em;
  height: 7.5em;
  background-image: url("../images/logos/tux.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  float: right;
}
#banner h1 {
  margin: 28px 0 47px 0.05em;
  text-shadow: 3px 3px 0 #f8f4ee;
  font-size: 3em;
}
#banner h1 > a {
  color: #2c1d00;
  transition: none;
}
#banner ul {
  padding: 0;
  margin: 0;
  font-size: 1.1em;
  font-weight: bold;
  list-style: none;
}
#banner li {
  display: inline;
  padding: 0 1em;
}
#banner li > a {
  color: #b39223;
  white-space: nowrap;
  font-size: 90%;
}
#banner li > a:hover,
#banner li > a:active {
  color: #4c3d00;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: oswald, helvetica, sans-serif;
}

a {
  color: #3357d6;
  text-decoration: none;
  transition: color 0.25s;
}

a:visited {
  color: #865796;
  text-decoration: none;
}

a:hover,
a:active {
  color: #b39223;
  text-decoration: none;
}

abbr[title] {
  border: none;
}

hr {
  border: none;
}

#protocols {
  float: left;
  width: 25em;
  margin: 1.3em 0 4em 2em;
}
#protocols th {
  text-align: left;
}

#latest {
  float: right;
  background: #ffd133;
  box-shadow: -0.1em -0.3em 0.5em #b39223 inset;
  color: #4c3d00;
  border-radius: 0.5em;
  margin: 1em 2.2em 4em 0;
}
#latest td {
  text-align: right;
  vertical-align: top;
}
#latest_label {
  font-size: 1.25em;
  padding: 0.75em 1.25em 0.3em 0;
}
#latest_button {
  padding: 0 0 0.75em 0;
}
#latest_button > a {
  display: block;
}
#latest_button img {
  vertical-align: middle;
  padding-right: 1.25em;
  opacity: 0.7;
  filter: alpha(opacity=70);
}
#latest_link {
  font-size: 2.75em;
  font-weight: bold;
  padding: 0.35em 0.25em 0 0.5em;
  min-width: 2em;
}
#latest_link > a {
  color: #4c3d00;
  display: block;
  text-align: right;
}

#releases {
  clear: both;
  width: 100%;
  margin-bottom: 0.25em;
}
#releases tr:nth-child(2n + 1) {
  background-color: #f7f6f1;
}

.post-info {
  float: right;
  text-align: center;
  background: #f0ede3;
  color: #827a5e;
  border: thin solid #ccc8b8;
  box-shadow: 0 0.1em 0.2em #ccc8b8 inset;
  border-radius: 0.5em;
  padding: 0.5em 1em;
  margin: 0 0 1em 1em;
  font-size: 80%;
}
.post-info p {
  margin: 0.25em 0 0;
}
#featured .post-info {
  margin-top: 1.25em;
}

.literal-block {
  background: #f3f3f3;
  border: thin solid #ccc;
  border-radius: 0.3em;
  padding: 0.5em;
  font-size: 90%;
}

#featured,
#content {
  background: #ffffff;
  margin: 1.5em auto;
  padding: 1.85em 1em;
  width: 50em;
  border: thin solid;
  border-color: #dddacf #ccc8b8 #bbb59f;
  box-shadow: 0 0.1em 0.3em #ccc8b8;
  border-radius: 0.5em;
}

article h1 {
  color: #33290a;
  margin: 0 0 0.9em 0;
}
article h1 > a {
  color: #33290a !important;
  transition: none;
}

table.docutils {
  margin: 0 auto;
  width: 80%;
}
table.docutils > caption {
  margin: 0.5em 0;
  text-align: left;
  font-weight: bold;
}

a.readmore {
  font-style: italic;
  color: #6a84e0;
}
a.readmore:hover,
a.readmore:active {
  color: #b39f5c;
}

#content > h1 {
  text-align: center;
  margin: 0 0 1em;
}

.paginator {
  text-align: center;
  color: #9e9678;
  margin: 0;
}

#posts-list {
  list-style: none;
  padding: 0;
}
#posts-list > li {
  border-bottom: medium dotted #f0ede3;
  padding-bottom: 1em;
  margin-top: 1em;
}
#posts-list > li:last-child {
  border: none;
}

#extras {
  margin: 1.5em auto;
  width: 52em;
}
#extras > div {
  background: #ffffff;
  border: thin solid;
  border-color: #dddacf #ccc8b8 #bbb59f;
  box-shadow: 0 0.1em 0.3em #ccc8b8;
  border-radius: 0.5em;
  height: 8.5em;
}
#extras > .blogroll {
  float: left;
  width: 34em;
  padding: 0.5em 1em 0 1em;
}
#extras > .blogroll li {
  width: 33%;
  float: left;
}
#extras > .social {
  float: right;
  width: 12em;
  padding: 0.5em 1em 0 1em;
}
#extras h2 {
  margin: 0.5em 0 1em 0;
}
#extras ul {
  list-style: none;
  padding: 0;
}

#contentinfo {
  clear: both;
  text-align: center;
  color: #827a5e;
  margin: 2em auto;
  padding-top: 3.5em;
  width: 53em;
}
#about {
  font-size: 80%;
}
#donors {
  margin-top: 1.5em;
}
#donors img {
  vertical-align: middle;
  margin: 0 0.5em;
}
img.align-left {
  float: left;
  padding: 0 1em 0 0;
}
dt {
  font-weight: bold;
}

#logo-akamai {
  padding-bottom: 22px;
}
