Commit c0b7445d authored by Jakob Moser's avatar Jakob Moser
Browse files

Merge branch 'make-content-layout-consistent' into 'master'

Make content layout consistent

Closes #5

See merge request fachschaft/wp-theme!6
parents 2e0f4c68 8279b352
Loading
Loading
Loading
Loading
+18 −3
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@
 * Author: personads :: Maximilian Müller-Eberstein (ursprüngliche Version und Design); Jakob Moser (Code-Rewrite)
 * Author URI: https://personads.me/
 *
 * Version: 1.1.0
 * Version: 1.1.1
 *
 * License: GNU General Public License v3.0
 * License URI: https://www.gnu.org/licenses/gpl-3.0.html
@@ -315,6 +315,11 @@ article .content p, article .content blockquote {
    margin: 1em 0;
}

article .content ul, article .content ol {
    margin-top: 1em;
    margin-bottom: 1em;
}

article .content img {
    max-width: 100%;
    height: auto;
@@ -385,7 +390,11 @@ article:only-child > footer {

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

article:only-child .content :first-child {
    margin-top: 0;
}

article:only-child .content::after {
@@ -807,7 +816,7 @@ h3 {
    margin-bottom: 10px;
}

hr {
hr, hr.wp-block-separator {
    border: none;
    height: 1px;
    margin: 1em 0 1em 0;
@@ -819,6 +828,11 @@ hr {
    );
}

figure.aligncenter {
    display: grid !important;
    justify-content: center;
}

img.aligncenter {
    display: block;
    margin-left: auto;
@@ -836,6 +850,7 @@ img.alignright {
figcaption {
    text-align: center;
    width: 100%;
    margin-bottom: 0 !important;
}

/* -- Tables -- */