Commits

Panayiotis Lipiridis committed f9c72b5

Better handling of the responsive base style classes

Comments (0)

Files changed (2)

main/static/src/less/base.less

   margin-top: 32px;
 }
 
+.img-error {
+  .img-polaroid;
+  .size(270px, 485px);
+  margin: auto;
+  display: block;
+}
+
+/* Responsive
+-------------------------------------------------- */
+
+/* Desktop
+------------------------- */
+@media (max-width: 980px) {
+  body {
+    padding-top: 0;
+  }
+}
+
+/* Tablet
+------------------------- */
 @media (max-width: 767px) {
  .footer {
     margin-left: -20px;
   }
 }
 
+/* Landscape phones
+------------------------- */
 @media (max-width: 480px) {
   .footer .pull-right {
     float: none;
   }
 }
-
-.img-error {
-  .img-polaroid;
-  .size(270px, 485px);
-  margin: 0 auto;
-  display: block;
-}

main/static/src/less/style.less

 // Bootstrap
 @import "../../lib/bootstrap/less/bootstrap";
-@import "base";
 @import "../../lib/bootstrap/less/responsive";
 
 // Custom
+@import "base";
 @import "variables";