@font-face {
    font-family: llibertine;
    src: url("img/LinLibertine-r.otf");
}
@font-face {
    font-family: llibertine;
    font-weight: bold;
    src: url("img/LinLibertine-b.otf");
}
@font-face {
    font-family: llibertine;
    font-style: italic;
    src: url("img/LinLibertine-i.otf");
}
@font-face {
    font-family: Inconsolata;
    src: url("img/Inconsolata.otf");
}

body {
    font-family: Inconsolata, monospace;
}

a:hover {
    text-decoration: none;
}

dt {
    font-weight: bold;
}
dt:after {
    font-weight: bold;
    content: " :";
}

figure {
    text-align: center;
}

kbd {
    border-width: 1px;
    border-style: solid;
}

#breadcrumb, .header, #content,
#sidebar, #footer, .status {
    width: 968px;
    margin: 1em auto;
}

#content img {
    max-width: 100%;
}

#content pre {
    overflow-x: auto;
}

/**
 * Preamble
 */

#prelude.skip-links {
    font-size: x-small;
    text-align: right;
}

#preamble nav ul,
.header nav ul,
#breadcrumb,
#footer .syndicate ul,
.post-tags {
    list-style: none;
    padding-left: 0;
}
#preamble li,
.header nav li,
#breadcrumb li,
#footer .syndicate li,
.post-tags li {
    display: inline;
}
.header nav li::before,
#preamble li::before,
#footer .syndicate li::before,
.post-tags li::before {
    content: " – ";
}
#breadcrumb li::before {
    content: " ▸ ";
}
.header nav li:first-child::before,
#preamble li:first-child::before,
#breadcrumb li:first-child::before,
#footer .syndicate li:first-child::before,
.post-tags li:first-child::before {
    content: "";
}

.header div.banner {
    display: none;
}

.home-greeting-pic {
    border-radius: 40px;
    float: left;
    margin: 1.5em 1.5em 2em 0;
    width: 80px;
}

.home-trombine:hover {
    width: 400px;
    border-radius: 0;
    margin: 0 2em 0 0;
    padding-bottom: 1em;
}


/**
 * Home list
 */
.home-list {
    padding-left: 0;
    list-style: none;
}
.home-list li {
    display: inline;
    line-height: 2.5em;
}
.home-list a {
    padding: 5px;
    text-decoration: none;
    border-radius: 5px;
}
.home-list a, .home-list a:visited {
    border-width: 1px;
    border-style: solid;
}
.home-list a.deprecated,
.home-list a.deprecated:visited {
    border-style: dashed;
}

.home-list a[rel~="met"]:after {content: " 🤝";}
.home-list a[rel~="co-worker"]:after {content: " 👔";}
.home-list a[rel~="friend"]:after {content: " 🍻";}
.home-list a[rel~="co-worker"][rel~="friend"]:after {content: " 🍻👔";}

/**
 * Content
 */

#content {
    padding: 1em;
    line-height: 1.5em;
    border-style: solid;
    border-top-width: 1px;
    border-left-width: 1px;
    border-right-width: 2px;
    border-bottom-width: 2px;
}

#content h2.post-title {
    margin: 0;
    line-height: 1.5em;
}

.post-meta {
    font-size: small;
    margin: 2em 0 0;
    padding: .2em 1em;
    border-left-width: 3px;
    border-left-style: solid;
}
.post-meta p,
.post-meta ul {
    margin: .3em 0;
}
.ublog-post .post-meta {
    padding: .2em 1em;
    margin: 0;
    border-left: 0px;
    text-align:right;
    font-style:italic;
}
.ublog-post .post-meta p {
    margin: 0;
}
.ublog-post .post-info::before {
    content: "—";
}

/* Diaspora Share */
a:link.share-on-diaspora,
a:visited.share-on-diaspora {
    padding: 2px 4px;
    background: #fafafa;
    border: 1px solid #ddd;
    font-size: 13px;
    color: #222;
    text-decoration: none;
}
a.share-on-diaspora > img {
    border: 0px solid;
    display: inline-block;
    vertical-align: middle;
    margin:-2px 4px 0 0;
}

/* Posts content */
.src {
    font-family:monospace;
    font-size: 1em;
    display:block;
    padding-left:.5em;
    margin:1em 1.5em;
    line-height:1.5em;
    border-left-width: 3px;
    border-left-style: solid;
    overflow-x: auto;
}

blockquote  {
    display: block;
    padding: 0 1.5em;
    font-style: italic;
    margin: 1em 0;
}
blockquote>*:first-child::before {
    content: "« ";
    font-size: 3em;
}
blockquote>*:last-child::after {
    content: " »";
    font-size: 2em;
}

.comment-info {
    margin-bottom: 0px;
}
.comment-content {
    padding-left: 1em;
    border-left-width: 3px;
    border-left-style: solid;
}
.comment-content *:first-child {
    margin-top: 0px;
}

h2.footnotes {
    font-size: 1em;
}

div.footnotes > h4 {
    display: none;
}

div.footnotes,
.footdef {
    font-size: small;
}
div.footnotes::before,
.footdef::before {
    content: "---";
    display: block;
}
div.footnotes,
.footdef sup {
    font-size: smaller;
}
blockquote::after {
    display: table;
    content: "";
    clear: both;
}

#content .post::after,
#content .ublog-post::after,
#isso-thread::before {
    content: "❦";
    font-size: xx-large;
    display: block;
    text-align: center;
}

.comments-list {
    list-style: none;
}

.post-content p a[hreflang]:not([href^="/"]):not([href^="#"]):not([href*="etienne.depar.is"]):not([hreflang="fr"]):hover::after {
    content: " ["attr(hreflang)"]";
    color: #888888;
}

.post-content p a:not([href^="/"]):not([href^="#"]):not([href*="etienne.depar.is"])::after {
    content: " ➹";
}

/**
 * Sidebar
 */
#sidebar .widget {
    clear: both;
}

#search h3 {
    float: left;
    margin: 0 1em 0 0;
    padding: 3px 0 0;
}
#search fieldset {
    border: 0;
    padding: 0;
}
#search fieldset > p {
    margin: 0;
}

.post-tags-list::before {
    content: "☞";
}

.post-tags-list,
.widget.tags ul {
    list-style: none;
    padding-left: 0;
}
.post-tags-list li,
.widget.tags li {
    display: inline;
}
.post-tags-list li::after,
.widget.tags li::after {
    content: " · ";
}
.post-tags-list li:last-child::after,
.widget.tags li:last-child::after {
    content: "";
}


/**
 * Footer
 */
#gotop {
    position: fixed;
    bottom: 0px;
    right: 1em;
    font-size: small;
}

#footer,
#postamble {
    clear: both;
    padding-top: 0;
    font-size: small;
}
#footer,
#postamble footer {
    margin-bottom: .5em;
}
#postamble ul, #postamble nav {
    display: inline;
    padding-left: 0;
}

/**
 * Responsive...
 */
@media screen and (max-width: 968px) {
    #breadcrumb, .header, #content,
    #sidebar, #footer, .status {
        width: 90%;
    }
}
