Commit 1dc851f6 authored by Jakob Moser's avatar Jakob Moser
Browse files

Correct selector

parent 6a39bb9a
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -238,12 +238,12 @@ article > header h1 {
}

/* ==== Custom styles: Articles on their own page (page.php or single.php) ==== */
article:only-of-type {
article:only-child {
    display: grid;
    grid-template-rows: max-content 1fr max-content;
}

article:only-of-type > header {
article:only-child > header {
    width: 100%;
    height: 200px;
    margin: -2em 0 0 -2em;
@@ -261,7 +261,7 @@ article:only-of-type > header {
    align-items: end;
}

article:only-of-type > footer {
article:only-child > footer {
    margin: 2em -2em -2em -2em;
    padding: 1em;
    background-color: rgba(153, 0, 0, 0.5);
@@ -269,12 +269,12 @@ article:only-of-type > footer {
    color: #fff;
}

article:only-of-type .content {
article:only-child .content {
    position: relative;
    margin-top: 2.5em;
}

article:only-of-type .content::after {
article:only-child .content::after {
    content: "";
    display: block;
    position: absolute;