]> git.0d.be Git - panikweb.git/commitdiff
style: uniform top alignment of main content
authorFrédéric Péters <fpeters@0d.be>
Sat, 28 Sep 2013 11:06:17 +0000 (13:06 +0200)
committerFrédéric Péters <fpeters@0d.be>
Sat, 28 Sep 2013 11:06:17 +0000 (13:06 +0200)
panikweb_templates/static/css/specifics.css
panikweb_templates/templates/tpl-default.html

index 7e880c4a587bacdc8107f3620fb3fb359849e358..8925f4a7e4649c52d9cb65b76996cfb282e94b1b 100644 (file)
@@ -310,7 +310,7 @@ body{
        #About div.mainSub,
        #Emissions div.mainSub {
                position: absolute;
-               top: 20px;
+               top: 50px;
                left: 290px;
        }
 
@@ -333,6 +333,31 @@ body{
                margin-left: 0;
                padding-left: 0;
        }
+
+       #Nav header.marged,
+       #Main > .marged {
+               margin: 0;
+       }
+
+       #Main > .wrapper,
+       #Nav > .wrapper {
+               padding-left: 0;
+       }
+
+       #All #Nav nav ul {
+               margin-top: 0;
+       }
+
+       div.program.padded {
+               padding-top: 0;
+               padding-left: 0;
+       }
+
+       #fiber-content h2.title {
+               margin-top: 0;
+               padding-top: 0;
+       }
+
 }
 
 #backgroundBox {
@@ -355,7 +380,6 @@ body{
        color: #ff6600 !important;
 }
 
-
 #All h1.top#frequence {
        margin-top: 40px;
        padding-bottom: 0;
@@ -404,6 +428,8 @@ h1.top#frequence {
 #Nav nav{
        margin:0;
 }
+
+#specialHome h2,
 #Nav h2{
        margin:0;
        padding:0;
index 1b025770df87751b8bcdc7d8a2868cc9f257ea65..3518e224c8b6f48da5027c74af1fd05f0e5e5ad2 100644 (file)
@@ -18,8 +18,8 @@
 {% block main %}
 
 <div class="wrapper navigation">
-       <div id="fiber-content" class="leftPart marged">
-               <h2>{{ fiber_page.title }}</h2>
+       <div id="fiber-content" class="leftPart">
+               <h2 class="title">{{ fiber_page.title }}</h2>
 
                <div class="text  userContent">{% show_page_content "main" %}</div>
        </div>