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

Merge branch '2-landing-page-breaks-in-mobile-mode' into 'master'

Resolve "Landing page breaks in mobile mode"

Closes #2

See merge request fachschaft/wp-theme!3
parents 35912f11 63f26672
Loading
Loading
Loading
Loading
+13 −1
Changes for style.css: 13 added lines, 1 removed line.
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.0.0
 * Version: 1.0.1
 *
 * License: GNU General Public License v3.0
 * License URI: https://www.gnu.org/licenses/gpl-3.0.html
@@ -512,6 +512,18 @@ main.landing section.varia {
    text-align: center;
}

@media(max-width: 515px) {
    main.landing > header {
        padding: 0;
        text-align: center;
        grid-template-columns: 1fr;
    }

    main.landing > header h2 {
        text-align: inherit;
    }
}

/* Responsiveness for news section: Place sidebar below article if screen is to small */
@media (max-width: 570px) {
    main.landing section.news {