chiark
/
gitweb
/
~cjwatson
/
blog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ec5cb4
)
css: compress the code a bit, finish the doc comment.
author
Vladimír Vondruš
<mosra@centrum.cz>
Sun, 10 Sep 2017 16:50:16 +0000
(18:50 +0200)
committer
Vladimír Vondruš
<mosra@centrum.cz>
Tue, 12 Sep 2017 10:06:26 +0000
(12:06 +0200)
css/m-grid.css
patch
|
blob
|
history
diff --git
a/css/m-grid.css
b/css/m-grid.css
index 661feeee1d6ddbb527127ec85ef05da940608ffa..64cfdb25d259c8af313d4f3e17331c5a82d562e4 100644
(file)
--- a/
css/m-grid.css
+++ b/
css/m-grid.css
@@
-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;