Difference between revisions of "Template:IIT-Madras"

Line 267: Line 267:
 
.center{
 
.center{
 
   text-align: center;
 
   text-align: center;
 +
}
 +
 +
[class*="col-"] {
 +
  display: inline-block;
 +
  padding: 10px;
 +
  text-align: center;
 
}
 
}
  
Line 289: Line 295:
 
.col-19 {width: 95%;}
 
.col-19 {width: 95%;}
 
.col-20 {width: 100%;}
 
.col-20 {width: 100%;}
[class*="col-"] {
 
  display: inline-block;
 
padding: 10px;
 
    text-align: center;
 
}
 
  
 
@media only screen and (max-width: 800px) {
 
@media only screen and (max-width: 800px) {
Line 304: Line 305:
 
.menu_bottom_padding {display:none;}
 
.menu_bottom_padding {display:none;}
 
.menu_button.direct_to_page { padding-left: 36px; }
 
.menu_button.direct_to_page { padding-left: 36px; }
+
[class*="col-"] { width: 100%; }
[class*="col-"] {
+
    width: 100%;
+
display: inline-block;
+
padding: 10px;
+
    text-align: center;
+
}
+
 
}
 
}
  

Revision as of 09:35, 4 May 2017