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

Side by Side Diff: static/scss/_base.scss

Issue 29587655: Noissue - Added device widths & refactored website-default utilities (Closed) Base URL: https://hg.adblockplus.org/website-defaults
Patch Set: Created Oct. 24, 2017, 2:07 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
« no previous file with comments | « no previous file | static/scss/_utilities.scss » ('j') | static/scss/_utilities.scss » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // This file is part of website-defaults 1 // This file is part of website-defaults
2 // Copyright (C) 2016-present eyeo GmbH 2 // Copyright (C) 2016-present eyeo GmbH
3 // 3 //
4 // website-defaults is free software: you can redistribute it and/or 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 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 6 // the Free Software Foundation, either version 3 of the License, or
7 // (at your option) any later version. 7 // (at your option) any later version.
8 // 8 //
9 // website-defaults is distributed in the hope that it will be useful, 9 // website-defaults is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of 10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details. 12 // GNU General Public License for more details.
13 // 13 //
14 // You should have received a copy of the GNU General Public License 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/>. 15 // along with website-defaults. If not, see <http://www.gnu.org/licenses/>.
16 16
17 /******************************************************************************* 17 /*******************************************************************************
18 * Base styles 18 * Base styles
19 ******************************************************************************/ 19 ******************************************************************************/
20 20
21 html 21 html
22 { 22 {
23 color: $primary; 23 color: $primary;
24 background-color: $primary-light; 24 background-color: $primary-light;
25 font-family: $primary-font; 25 font-family: $primary-font;
26 line-height: 1.5; 26 line-height: 1.5;
27 } 27 }
28
29 /**
30 * Center content within a (responsive) fixed width
31 */
32 .container
33 {
34 width: $container-width;
35 max-width: 100%;
36 margin-right: auto;
37 margin-left: auto;
38 padding-right: $small-space;
39 padding-left: $small-space;
40 }
OLDNEW
« no previous file with comments | « no previous file | static/scss/_utilities.scss » ('j') | static/scss/_utilities.scss » ('J')

Powered by Google App Engine
This is Rietveld