Left: | ||
Right: |
OLD | NEW |
---|---|
(Empty) | |
1 // This file is part of website-defaults | |
2 // Copyright (C) 2016-present eyeo GmbH | |
3 // | |
4 // website-defaults is free software: you can redistribute it and/or | |
5 // modify it under the terms of the GNU General Public License as published by | |
6 // the Free Software Foundation, either version 3 of the License, or | |
7 // (at your option) any later version. | |
8 // | |
9 // website-defaults is distributed in the hope that it will be useful, | |
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 // GNU General Public License for more details. | |
13 // | |
14 // You should have received a copy of the GNU General Public License | |
15 // along with website-defaults. If not, see <http://www.gnu.org/licenses/>. | |
16 | |
17 /** | |
ire
2017/11/13 08:33:38
NIT: Change the comment style?
juliandoucette
2017/11/13 12:32:59
This is a JSDoc comment. It's meant to describe wh
ire
2017/11/14 07:14:51
Ack.
NIT: I think we typically start the comment
juliandoucette
2017/11/17 14:52:12
Not doc comments. e.g. https://hg.adblockplus.org/
| |
18 * Stretch content (e.g. images) full-width | |
19 */ | |
20 .full-width | |
21 { | |
22 display: block; | |
23 width: 100%; | |
24 } | |
25 | |
26 /** | |
27 * Center content within a (responsive) fixed width | |
28 */ | |
29 .container | |
ire
2017/11/13 08:33:38
NIT: Is the .container class a "responsive width"?
juliandoucette
2017/11/13 12:33:00
It was when it had responsive fixed widths. Now...
ire
2017/11/14 07:14:50
One the one hand the phrasing "full-width-responsi
| |
30 { | |
31 width: $container-width; | |
32 max-width: 100%; | |
33 margin-right: auto; | |
34 margin-left: auto; | |
35 padding-right: $small-space; | |
36 padding-left: $small-space; | |
37 } | |
OLD | NEW |