chiark / gitweb /
css: compress the code a bit, finish the doc comment.
authorVladimír Vondruš <mosra@centrum.cz>
Sun, 10 Sep 2017 16:50:16 +0000 (18:50 +0200)
committerVladimír Vondruš <mosra@centrum.cz>
Tue, 12 Sep 2017 10:06:26 +0000 (12:06 +0200)
css/m-grid.css

index 661feeee1d6ddbb527127ec85ef05da940608ffa..64cfdb25d259c8af313d4f3e17331c5a82d562e4 100644 (file)
@@ -10,6 +10,7 @@ body {
 /* 12-column layout. Inspired by Bootstrap and
    https://www.w3schools.com/css/css_rwd_grid.asp */
 .m-container {
+  width: 100%;
   margin: auto;
   padding: 1rem;
 }
@@ -17,10 +18,7 @@ body {
   margin-left: -1rem;
   margin-right: -1rem;
 }
-.m-container {
-  width: 100%;
-}
-.m-row:after { /*  */
+.m-row:after { /* avoid rows floating around each other */
   content: ' ';
   clear: both;
   display: table;