/*
 * vim: set et ts=2 sts=2 :
 *
 * CSS for exherbo.org
 *
 * Copyright 2008 Alexander Færøy <ahf@exherbo.org>
 * Copyright 2015 Kylie McClain <somasis@exherbo.org>
 *
 */

@import url("/css/bootstrap.min.css");
@import url("/css/font-awesome.min.css");

/* Font faces that we use */
@font-face {
    font-family: 'Source Code Pro';
    font-style: normal;
    font-weight: 400;
    src:    url('/fonts/source-code-pro-v6-latin-regular.eot'); /* IE9 Compat Modes */
    src:    local('Source Code Pro'), local('SourceCodePro-Regular'),
            url('/fonts/source-code-pro-v6-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
            url('/fonts/source-code-pro-v6-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
            url('/fonts/source-code-pro-v6-latin-regular.woff') format('woff'), /* Modern Browsers */
            url('/fonts/source-code-pro-v6-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
            url('/fonts/source-code-pro-v6-latin-regular.svg#SourceCodePro') format('svg'); /* Legacy iOS */
}

@font-face {
    font-family: 'Source Code Pro';
    font-style: normal;
    font-weight: 700;
    src:    url('/fonts/source-code-pro-v6-latin-700.eot'); /* IE9 Compat Modes */
    src:    local('Source Code Pro Bold'), local('SourceCodePro-Bold'),
            url('/fonts/source-code-pro-v6-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
            url('/fonts/source-code-pro-v6-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
            url('/fonts/source-code-pro-v6-latin-700.woff') format('woff'), /* Modern Browsers */
            url('/fonts/source-code-pro-v6-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
            url('/fonts/source-code-pro-v6-latin-700.svg#SourceCodePro') format('svg'); /* Legacy iOS */
}

@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 400;
    src:    url('/fonts/source-sans-pro-v9-latin-regular.eot'); /* IE9 Compat Modes */
    src:    local('Source Sans Pro'), local('SourceSansPro-Regular'),
            url('/fonts/source-sans-pro-v9-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
            url('/fonts/source-sans-pro-v9-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
            url('/fonts/source-sans-pro-v9-latin-regular.woff') format('woff'), /* Modern Browsers */
            url('/fonts/source-sans-pro-v9-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
            url('/fonts/source-sans-pro-v9-latin-regular.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}

@font-face {
    font-family: 'Source Sans Pro';
    font-style: italic;
    font-weight: 400;
    src:    url('/fonts/source-sans-pro-v9-latin-italic.eot'); /* IE9 Compat Modes */
    src:    local('Source Sans Pro Italic'), local('SourceSansPro-It'),
            url('/fonts/source-sans-pro-v9-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
            url('/fonts/source-sans-pro-v9-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
            url('/fonts/source-sans-pro-v9-latin-italic.woff') format('woff'), /* Modern Browsers */
            url('/fonts/source-sans-pro-v9-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
            url('/fonts/source-sans-pro-v9-latin-italic.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}

@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 700;
    src:    url('/fonts/source-sans-pro-v9-latin-700.eot'); /* IE9 Compat Modes */
    src:    local('Source Sans Pro Bold'), local('SourceSansPro-Bold'),
            url('/fonts/source-sans-pro-v9-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
            url('/fonts/source-sans-pro-v9-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
            url('/fonts/source-sans-pro-v9-latin-700.woff') format('woff'), /* Modern Browsers */
            url('/fonts/source-sans-pro-v9-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
            url('/fonts/source-sans-pro-v9-latin-700.svg#SourceSansPro') format('svg'); /* Legacy iOS */
}

@font-face {
    font-family: "Distro";
    font-weight: normal;
    font-style: normal;
    src:    url("/fonts/distro_bold-webfont.eot");
    src:    url("/fonts/distro_bold-webfont.eot?#iefix") format("embedded-opentype"),
            url("/fonts/distro_bold-webfont.woff2") format("woff2"),
            url("/fonts/distro_bold-webfont.woff") format("woff"),
            url("/fonts/distro_bold-webfont.ttf") format("truetype"),
            url("/fonts/distro_bold-webfont.svg#distrobold") format("svg");
}

/* Main CSS */
* {
    font-family: "Source Sans Pro", "Trebuchet MS", "Verdana", sans-serif;
}

body {
    background-color: #fbfbfb;
    background-image: url("/img/zebrapig-translucent.png");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: bottom right;
    padding-bottom: 16px;
}

#head {
    background-repeat: no-repeat, no-repeat, repeat-x;
    background-position: top left, top right, top left;
    padding-top: 1.7em;
    padding-left: 3em;
}

#head li {
    display: inline;
    margin-left: 1em;
}

a:link {
    text-decoration: underline;
    color: #006600;
}

a:hover {
    color: #009900 !important;
}

a:active, a:focus {
    color: #003300;
}

a:visited {
    color: #006600;
}

.navbar-collapse {
    border: 0
}

.navbar-toggle {
    width: 48px;
}

th {
    text-align:left;
}

.navbar a {
    text-decoration: none;
}

.navbar-brand {
    font-size: 16pt;
    font-weight: bold;
}

.distro {
    font-family: "Distro", sans-serif;
    text-transform: lowercase;
}

.navbar-brand { margin-top: -4px; }

.navbar-brand>img {
    vertical-align: middle;
    display: inline-table;
}

.navbar-default {
    background-color: #dcf1d5;
    border-color: #a1da91;
}

.navbar-default .navbar-brand {
    color: #4d7142;
}

.navbar-default .navbar-nav>li>a {
    color: #195405;
}

.navbar-default .navbar-toggle {
    border-color: #a1da91;
}

.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
    background-color: #a1da91;
}

.icon-bar {
    color: #195405 !important;
}

.zebrapig {
    max-height: 32px;
    width: auto;
}

.navbar a:hover {
    color: #009900 !important
}

h1, #h1 {
    font-weight: bold;
    border-bottom: 1px solid #ddd;
    padding-bottom: 8px;
}

h2, #h2 {
    border-bottom: 1px solid #ccc;
    padding-bottom: 8px;
}

/* this makes sure the navbar doesn't overlap on headings
h1,h2,h3,h4,h5,h6,
#h1,#h2,#h3,#h4,#h5,#h6 {
    border-top: 62px solid transparent;
    margin-top: -62px;
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
}*/

.panel-title {
    border-top: 0px;
}

small {
    color: #999;
}

.navbar-static-top .navbar-collapse, .navbar-static-bottom .navbar-collapse {
    max-height: none
}

@media (max-width:375px) {
    h1 {
        font-size: 20px;
    }
}

@media (max-width:1200px) {
    body {
        background-attachment: scroll;
    }
}

hr {
    border-style: dashed;
    border-color: #e7e7e7;
}

pre, code {
    font-family: "Source Code Pro", Menlo, Monaco, Consolas, "Courier New", monospace;
}

code {
    color: #2a6516;
    background-color: rgba(240,240,240,0.25);
    font-weight: bold;
}

pre {
    color: #ececec;
    background-color: rgba(40,40,40,0.875);
    border-color: #3d3d3d;
}

pre code {
    font-weight: normal;
}

.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.active>a:focus,
.navbar-default .navbar-nav>.active>a:active {
    background-color: #a1da91;
    color: #fff;
}

.form-control[type='search']:focus {
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(164, 229, 142, 1);
    border-color: #FFFFFF;
}

table.links-list * td {
    white-space: normal !important;
}

/* fix awkward padding with static navbar */
h1, .h1, h2, .h2, h3, .h3 {
    margin-top: 10px;
}

.navbar {
    margin-bottom: 0px;
}
