diff options
Diffstat (limited to 'plugins/CoreHome/stylesheets/zen-mode.less')
-rw-r--r-- | plugins/CoreHome/stylesheets/zen-mode.less | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/plugins/CoreHome/stylesheets/zen-mode.less b/plugins/CoreHome/stylesheets/zen-mode.less index 124c3395ff..112c6b2da6 100644 --- a/plugins/CoreHome/stylesheets/zen-mode.less +++ b/plugins/CoreHome/stylesheets/zen-mode.less @@ -77,13 +77,25 @@ #content:not(.admin), .widget { - h2:nth-of-type(n+2) { - margin-top: 40px; + .reporting-page { + .smallTopMargin:not(.graphEvolution) { + margin-top: 20px; + } } h2 { + margin-top: 40px; padding-left: 10px; font-size: 24px; + + &.noTopMargin { + margin-top: 0px; + } + } + + .widget [piwik-widget-container] [piwik-widget]:first-child h2 { + // eg Visits Overview with Graph should not have a margin-top + margin-top: 0px; } } |