Skip to content
Snippets Groups Projects
Commit 5457c2d2 authored by Jakob Moser's avatar Jakob Moser
Browse files

Add responsiveness for news section back in

parent a61b52d9
No related branches found
No related tags found
1 merge request!2Resolve "Rewrite theme"
......@@ -7,7 +7,7 @@
* Author: personads :: Maximilian Müller-Eberstein (ursprüngliche Version & Design); Jakob Moser (Code-Anpassungen und Responsiveness)
* Author URI: https://personads.me/
*
* Version: 1.00-snapshot-37
* Version: 1.00-snapshot-38
*
* License: GNU General Public License v3.0
* License URI: https://www.gnu.org/licenses/gpl-3.0.html
......@@ -422,6 +422,27 @@ main.landing section.varia {
text-align: center;
}
/* Responsiveness for news section: Place sidebar below article if screen is to small */
@media (max-width: 570px) {
main.landing section.news {
grid-template-columns: 1fr;
}
main.landing section.news aside {
border: none;
margin-top: 2em;
}
main.landing section.news aside ul {
margin-left: 0;
}
main.landing section.news aside .more {
line-height: 30px;
text-align: left;
}
}
/* ==== Custom styles: Post listing (e.g. blog) page ==== */
main.list {
padding: 0 8%;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment