Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: static/scss/utilities/_responsive-widths.scss

Issue 29603821: Noissue - Separated website-default utilities (Closed) Base URL: https://hg.adblockplus.org/website-defaults
Patch Set: Rebased and re-separated Created Dec. 6, 2017, 3:55 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
(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 /**
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld