h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 40px 0 30px 0 !important;
}

table {
    width: 100%;
}

table td {
    padding: 5px;
    border: 1px solid black;
}

table th {
    padding: 5px;
    border: 1px solid black;
    border-width: 0 0 2px 0;
}

article a {
    text-decoration: underline;
}

article img {
    width: 100%;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 4px;
}

article video {
    width: 100%;
}

.youtube,
.center-div {
    padding: auto;
    text-align: center;
}

pre code, .hljs {
    white-space: pre;
    overflow-x: scroll;
}

.meta {
    background-image: url('/img/pascal-landau-100x100.jpg');
    background-repeat: no-repeat;
    background-size: 100px 100px;
    padding-left: 115px;
    padding-top: 5px;
    height: 100px;
    margin-top: 50px;
    /* @see https://stackoverflow.com/a/40777362/413531 */
    display:flex;
    flex-direction: column; 
    justify-content: space-between;
}

.meta a {
    text-decoration: none;
}


/** Styling external links: @see https://christianoliff.com/blog/styling-external-links-with-an-icon-in-css/ */

article a[href^="http"]::after,
article a[href^="https://"]::after {
    content: "";
    width: 11px;
    height: 11px;
    margin-left: 4px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8.636 3.5a.5.5 0 0 0-.5-.5H1.5A1.5 1.5 0 0 0 0 4.5v10A1.5 1.5 0 0 0 1.5 16h10a1.5 1.5 0 0 0 1.5-1.5V7.864a.5.5 0 0 0-1 0V14.5a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h6.636a.5.5 0 0 0 .5-.5z'/%3E%3Cpath fill-rule='evenodd' d='M16 .5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h3.793L6.146 9.146a.5.5 0 1 0 .708.708L15 1.707V5.5a.5.5 0 0 0 1 0v-5z'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

article a[href^="https://www.pascallandau.com"]::after,
article a[href^="http://localhost"]::after,
article a[href^="http://127.0.0.1"]::after {
    display: none !important;
}

li > p  {
    line-height: 1.5;
    margin: 0;
}

.navbar-custom .navbar-brand {
    padding: 10px;
}

.navbar-custom .navbar-brand img{
    margin-right: 10px;
    display: inline-block;
}

