Difference between revisions of "Template:Freiburg/CSS"

Line 261: Line 261:
  
 
/* responsive desgin: adapt box width s.t. it fits the screen but has a maximum width of 900px */
 
/* responsive desgin: adapt box width s.t. it fits the screen but has a maximum width of 900px */
 +
.page_content{
 +
    margin-top: 20px;
 +
    margin-bottom: 20px;
 +
}
 +
 
@media only screen and (min-width: 1050px){
 
@media only screen and (min-width: 1050px){
 
     /* style for browsers wider thann 1000px */
 
     /* style for browsers wider thann 1000px */
 
     .page_content{
 
     .page_content{
 
         width: 900px;
 
         width: 900px;
         margin: 20px auto;
+
         margin-left: auto;
 +
        margin-right: auto;
 
     }
 
     }
 
}
 
}
Line 274: Line 280:
 
         width: -webkit-fit-content;
 
         width: -webkit-fit-content;
 
         width: fit-content;
 
         width: fit-content;
         margin: 20px 5px;      
+
         margin-left: 5px;
 +
        margin-right: 5px;     
 
     }
 
     }
 
}
 
}

Revision as of 13:16, 27 August 2015