@charset 'UTF-8';

img, canvas, iframe, video, svg {
    max-width: 100%;
}

body {
    font-family: -apple-system, avenir, 'avenir next', roboto, 'helvetica neue', helvetica, ubuntu, arial, sans-serif;
    font-size: 18px;
    line-height: 1.7em;
    display: block;
    max-width: 28em;
    margin: 0 auto;
    padding: 1em;
    color: #464646;
    background-color: #fffceb;
    background-image: url('https://web-archive.nli.org.il/National_Library/20170827070107oe_/https://eli.li/images/bg.png');
    background-attachment: scroll;
}


h1, h2, h3, h4, h5, h6 {
    line-height: 1.2em;
    margin-top: 1em;
}

h1, h2, h3, h4, h5, h6, blockquote {
    font-family: Athelas, Georgia, serif;
}

blockquote {
    margin: 0;
    padding-left: 12px;
    border-left: 8px solid #eeeeee; 
}

img {
    display: block;
    max-width: 100%;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: #a463f2;
}

a:hover {
    color: #ffb700;
}

a[data-url] {
    position: relative;
    display: inline;
    padding-top: 0.1em;
}

a[data-url]:after {
    font-size: 0.7em;
    position: absolute;
    top: -1.3em;
    left: 4px;
    content: '☟ ' attr(data-url);
    white-space: nowrap;
    letter-spacing: 1px;
    opacity: 0.7;
}

article {
    margin: 1em 0;
    padding: 0.25em 1em;
    background-color: #ffffff;
    border-radius: 4px;
    border: 1px solid rgba( 0, 0, 0, 0.09 );
}

pre {
    padding: 1em;
    max-width: 100%;
    overflow: scroll;
    font-size: 80%;
    line-height: 1.25em;
    background-color: #eeeeee;
    color: black;
}

.reply {
    display: block;
    // overflow: hidden;
    padding: 0 1em 0.5em 0;
    // white-space: nowrap;
    // text-overflow: ellipsis;
}

.meta-data {
    line-height: 1.5em;
}

ul.meta-data {
    display: -webkit-box;
    display:    -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display:         flex;
    padding: 1em 0 0 0;
    -webkit-flex-flow: row wrap;
    justify-content: space-between;
}

.meta-data li {
    display: inline-flex;
    list-style: none;
}

.meta-data li:first-of-type {
    text-align: left;
}

.meta-data li:last-of-type {
    text-align: right;
}

.meta-data.reply {
    margin-bottom: -1.5em;
}

.meta-data, .colophon {
    font-size: 14px;
}

article.colophon {
    box-shadow: none;
}

.colophon {
    line-height: 1em;
    padding: 5em 0 0 0;
    text-align: center;
    background-color: rgba(0, 0, 0, 0);
    border: none;
}

.colophon ul li {
    display: none;
}

.colophon:before {
    content: 'Dedicated to an open, collaborative web';
}

.media-object {
    display: flex;
    margin: 0 0 1rem 0;
    padding: 1rem;
    background-color: rgba(221, 221, 221, 0.5);
    align-items: flex-start;
}

.media-object > .flag {
    width: 75px;
    height: auto;
    margin: auto 1rem;
}

.media-object > .flag > img {
    border-radius: 5px;
}

.media-object > div {
    flex: 1;
}

.media-object h2 {
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
}

details {
  padding: 0 1em;
}

details:hover {
  cursor: pointer;
}
