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

Delta Between Two Patch Sets: scss/_content.scss

Issue 29538612: Issue 5607 - Namespace content styles in website-defaults (Closed) Base URL: https://hg.adblockplus.org/website-defaults
Left Patch Set: Created Sept. 7, 2017, 12:04 p.m.
Right Patch Set: Addressed NITs Created Sept. 12, 2017, 7:46 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | scss/_reset.scss » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 /*! 1 /*!
2 * This file is part of website-defaults 2 * This file is part of website-defaults
3 * Copyright (C) 2016-present eyeo GmbH 3 * Copyright (C) 2016-present eyeo GmbH
4 * 4 *
5 * website-defaults is free software: you can redistribute it and/or 5 * website-defaults is free software: you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as published by 6 * modify it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or 7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version. 8 * (at your option) any later version.
9 * 9 *
10 * website-defaults is distributed in the hope that it will be useful, 10 * website-defaults is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details. 13 * GNU General Public License for more details.
14 * 14 *
15 * You should have received a copy of the GNU General Public License 15 * You should have received a copy of the GNU General Public License
16 * along with website-defaults. If not, see <http://www.gnu.org/licenses/>. 16 * along with website-defaults. If not, see <http://www.gnu.org/licenses/>.
17 */ 17 */
18 18
19 /******************************************************************************* 19 /*******************************************************************************
20 * Content styles 20 * Content styles
21 ******************************************************************************* 21 *******************************************************************************
22 * 1. Document 22 * 1. Document
23 * 2. Headings 23 * 2. Headings
24 * 3. Body content 24 * 3. Body content
25 ******************************************************************************/ 25 ******************************************************************************/
26 26
27 .content 27 .content
ire 2017/09/07 12:08:23 I added this to all the styles here. There are a c
juliandoucette 2017/09/08 15:43:53 Acknowledged.
28 { 28 {
29 29
30 /* Document 30 /* Document
31 ****************************************************************************** / 31 ****************************************************************************/
32 32
33 p, 33 p,
34 ol, 34 ol,
35 ul, 35 ul,
36 dl, 36 dl,
37 pre, 37 pre,
38 blockquote 38 blockquote
39 { 39 {
40 /* Set consistent margins (opinionated) */ 40 /* Set consistent margins (opinionated) */
41 margin: 1em 0em; 41 margin: 1em 0em;
42 } 42 }
43 43
44 /* Headings 44 /* Headings
45 ****************************************************************************** / 45 ****************************************************************************/
46 46
47 h1, 47 h1,
48 h2, 48 h2,
49 h3, 49 h3,
50 h4, 50 h4,
51 h5, 51 h5,
52 h6 52 h6
53 { 53 {
54 /* Margin on top **only** (opinionated) */ 54 /* Margin on top **only** (opinionated) */
55 margin: 2em 0em 0.5em 0em; 55 margin: 2em 0em 0.5em 0em;
(...skipping 23 matching lines...) Expand all
79 { 79 {
80 font-size: 0.8em; 80 font-size: 0.8em;
81 } 81 }
82 82
83 h6 83 h6
84 { 84 {
85 font-size: 0.7em; 85 font-size: 0.7em;
86 } 86 }
87 87
88 /* Body content 88 /* Body content
89 ****************************************************************************** / 89 ****************************************************************************/
90
91 abbr
92 {
93 text-decoration: underline;
94 cursor: help;
95 }
96
97 b,
98 strong
ire 2017/09/07 12:08:23 Should this be global?
juliandoucette 2017/09/08 15:43:53 Yes, and... NIT: I think that we should consider
ire 2017/09/11 11:12:02 Acknowledged.
ire 2017/09/11 11:29:16 See https://issues.adblockplus.org/ticket/5651
juliandoucette 2017/09/11 15:54:34 Acknowledged.
99 {
100 font-weight: $bold-weight;
101 }
102
103 small
104 {
105 font-size: $small-font;
juliandoucette 2017/09/08 15:43:53 NIT: I think that we should consider a relative va
ire 2017/09/11 11:12:02 Acknowledged.
106 }
107
108 sup
109 {
110 position: relative;
111 font-size: 75%;
112 vertical-align: super;
113 }
114 90
115 a, 91 a,
116 a:visited 92 a:visited
ire 2017/09/07 12:08:23 This should probably be global
juliandoucette 2017/09/08 15:43:53 Regarding what should and should not be global. Pe
ire 2017/09/11 11:12:02 This is a good rule. I can't think of any exceptio
117 { 93 {
118 color: $accent; 94 color: $accent;
119 /* Remove the gray background on active links in IE 10. */
120 background-color: transparent;
121 text-decoration: none;
122 /* Set default pointer regardless of href (opinionated) */
123 cursor: pointer;
124 }
125
126 a:hover,
127 a:active,
128 a:focus
129 {
130 text-decoration: underline;
131 }
132
133 img
ire 2017/09/07 12:08:23 This should probably be global
juliandoucette 2017/09/08 15:43:53 Acknowledged.
134 {
135 /* Make fixed width images responsive */
136 max-width: 100%;
137 /* Remove the border on images inside links in IE 10-. */
138 border-style: none;
139 } 95 }
140 96
141 hr 97 hr
142 { 98 {
143 border: 1px solid $secondary-light; 99 border: 1px solid $secondary-light;
144 } 100 }
145 101
146 blockquote 102 blockquote
147 { 103 {
148 padding-left: 1em; 104 padding-left: 1em;
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 dt 158 dt
203 { 159 {
204 /* undo browser default (opinionated)*/ 160 /* undo browser default (opinionated)*/
205 font-weight: $bold-weight; 161 font-weight: $bold-weight;
206 } 162 }
207 163
208 dd 164 dd
209 { 165 {
210 margin: 0.25em 0em 1em 0em; 166 margin: 0.25em 0em 1em 0em;
211 } 167 }
212
213 } 168 }
LEFTRIGHT
« no previous file | scss/_reset.scss » ('j') | Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Toggle Comments ('s')

Powered by Google App Engine
This is Rietveld