Verified Commit fea03488 authored by Jakob Moser's avatar Jakob Moser
Browse files

Only add margin-top to content if there is a header

parent 000b97d3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@ The "fscoli next" WordPress theme is distributed under the terms of the [**GNU G

"fscoli next" is based on the ["Fachschaft Computerlinguistik WordPress Theme"][original], Copyright 2015 personads, which is also distributed under the terms of the GNU General Public License v3.0.

It contains modifications made by Jakob Moser in 2020–2024, namely added responsiveness, a few bug fixes and a rewrite of the underlying HTML, PHP and CSS. Jakob also modified the `screenshot.png` image to include the name of the new theme. The original design work by personads was left more or less intact, so there is little visual difference between the two themes.
It contains modifications made by Jakob Moser in 2020–2025, namely added responsiveness, a few bug fixes and a rewrite of the underlying HTML, PHP and CSS. Jakob also modified the `screenshot.png` image to include the name of the new theme. The original design work by personads was left more or less intact, so there is little visual difference between the two themes.

GitLab provides [a list of the differences between "fscoli next" and "Fachschaft Computerlinguistik WordPress Theme"][diff].

+3 −0
Original line number Diff line number Diff line
@@ -416,6 +416,9 @@ article:only-child > footer {

article:only-child .content {
    position: relative;
}

article:only-child header + .content {
    margin-top: 3.5em;
}