Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
fscoli-next
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Fachschaft
fscoli-next
Commits
5457c2d2
Commit
5457c2d2
authored
3 years ago
by
Jakob Moser
Browse files
Options
Downloads
Patches
Plain Diff
Add responsiveness for news section back in
parent
a61b52d9
No related branches found
No related tags found
1 merge request
!2
Resolve "Rewrite theme"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
style.css
+22
-1
22 additions, 1 deletion
style.css
with
22 additions
and
1 deletion
style.css
+
22
−
1
View file @
5457c2d2
...
...
@@ -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-3
7
* Version: 1.00-snapshot-3
8
*
* 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
:
1
fr
;
}
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%
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment