Fixed margins in page footer
authorMarcel Werk <burntime@woltlab.com>
Thu, 10 Mar 2016 23:54:37 +0000 (00:54 +0100)
committerMarcel Werk <burntime@woltlab.com>
Thu, 10 Mar 2016 23:54:37 +0000 (00:54 +0100)
wcfsetup/install/files/acp/templates/pageFooter.tpl
wcfsetup/install/files/style/layout/pageFooter.scss

index 1ab6362e1990eaecd698c334372aad063d292f42..a577548f4565bcba4039aa99d5ca5c2705f1a41d 100644 (file)
@@ -5,7 +5,7 @@
                        
                        {if ENABLE_BENCHMARK}{include file='benchmark'}{/if}
                        
-                       <address class="copyright"><a href="http://www.woltlab.com">Copyright &copy; 2001-2016 WoltLab&reg; GmbH</a>{event name='copyright'}</address>
+                       <div class="copyright"><a href="http://www.woltlab.com">Copyright &copy; 2001-2016 WoltLab&reg; GmbH</a>{event name='copyright'}</div>
                </div>
        </div>
 </footer>
index 889b04beab9cfa4a17e763970b98e178972ebbbe..c93e740ca17dcdca0ad8ebcdb77924f9dffc6712 100644 (file)
                }
        }
        
-       // copyright and benchmark link styling
-       // benchmark link styling
-       .benchmark,
-       .copyright {
-               &:not(:first-child) {
-                       margin-top: 20px;
+       .footerContent {
+               > div {
+                       &:not(:first-child) {
+                               margin-top: 20px;
+                       }
+                       
+                       // copyright and benchmark link styling
+                       a {
+                               // use text color instead
+                               color: $wcfFooterText;
+                       }
                }
                
-               a {
-                       // use text color instead
-                       color: $wcfFooterText;
+               &:not(:first-child) > div:first-child {
+                       margin-top: 40px;
                }
        }
-       
-       .footerContent:first-child > div:first-child {
-               margin-top: 0;
-       }
 }