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

Side by Side Diff: static/css/main.css

Issue 29722659: Fixes #36 - Adjusted heading font-sizes and line-heights (Closed) Base URL: https://hg.adblockplus.org/web.adblockplus.org
Patch Set: Created March 14, 2018, 1:33 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 | « static/css/index-mobile.css ('k') | static/img/abb-logo.png » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 * 1 *
2 { 2 {
3 font-family: Arial, sans; 3 font-family: Arial, sans;
4 font-size: 16px; 4 font-size: 16px;
5 } 5 }
6 6
7 body 7 body
8 { 8 {
9 margin: 0; 9 margin: 0;
10 /* Start below fixed navbar */ 10 /* Start below fixed navbar */
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 } 46 }
47 47
48 .sprite 48 .sprite
49 { 49 {
50 display: inline-block; 50 display: inline-block;
51 font-size: 0px; /* fix for IE6 height bug */ 51 font-size: 0px; /* fix for IE6 height bug */
52 background-image: url(../img/sprite-main.png); 52 background-image: url(../img/sprite-main.png);
53 background-repeat: no-repeat; 53 background-repeat: no-repeat;
54 } 54 }
55 55
56 #adblock-browser-notification
57 {
58 text-align: center;
59 }
60
61 #adblock-browser-notification a
62 {
63 font-weight: bold;
64 }
65
66 #adblock-browser-notification img
67 {
68 vertical-align: bottom;
69 width: 25px;
70 height: 25px;
71 }
72
73 #adblock-browser-notification span
74 {
75 white-space: nowrap;
76 margin-left: 1em;
77 }
78
79 [dir="rtl"] #adblock-browser-notification span
80 {
81 margin-left: 0;
82 margin-right: 1em;
83 }
84
85 .toc 56 .toc
86 { 57 {
87 display: inline-block; 58 display: inline-block;
88 border: 1px solid #aaa; 59 border: 1px solid #aaa;
89 background: #fff; 60 background: #fff;
90 padding: 16px 20px; 61 padding: 16px 20px;
91 } 62 }
92 63
93 .toc ul 64 .toc ul
94 { 65 {
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 .section 140 .section
170 { 141 {
171 padding: 2em 0; 142 padding: 2em 0;
172 } 143 }
173 144
174 /****************************************************************************** 145 /******************************************************************************
175 * .content 146 * .content
176 *****************************************************************************/ 147 *****************************************************************************/
177 148
178 .content h1, 149 .content h1,
150 .content .h1,
179 .content h2, 151 .content h2,
180 .content h3, 152 .content h3,
181 .content h4, 153 .content h4,
182 .content h5 154 .content h5
183 { 155 {
184 font-weight: bold; 156 font-weight: bold;
185 margin: 32px 0 16px 0; 157 margin: 32px 0 16px 0;
186 margin: 2rem 0 1rem 0; 158 margin: 2rem 0 1rem 0;
159 line-height: 1.4;
187 } 160 }
188 161
189 .content h1 { font-size: 1.8em; } 162 .content h1,
190 .content h2 { font-size: 1.4em; } 163 .content .h1 { font-size: 1.4em; }
191 .content h3 { font-size: 1.3em; } 164 .content h2 { font-size: 1.3em; }
192 .content h4 { font-size: 1.2em; } 165 .content h3 { font-size: 1.2em; }
193 .content h5 { font-size: 1.1em; } 166 .content h4 { font-size: 1.1em; }
167 .content h5 { font-size: 1em; }
168
169 @media(min-width: 576px)
170 {
171 .content h1,
172 .content .h1 { font-size: 1.6em; }
173 .content h2 { font-size: 1.4em; }
174 .content h3 { font-size: 1.3em; }
175 .content h4 { font-size: 1.2em; }
176 .content h5 { font-size: 1.1em; }
177 }
194 178
195 @media(min-width: 768px) 179 @media(min-width: 768px)
196 { 180 {
197 .content h1 { font-size: 2.4em; } 181 .content h1,
182 .content .h1
183 {
184 font-size: 2.4em;
185 line-height: 1.3;
186 }
187
198 .content h2 { font-size: 1.6em; } 188 .content h2 { font-size: 1.6em; }
199 } 189 }
200 190
201 .content a, 191 .content a,
202 .content a:visited 192 .content a:visited
203 { 193 {
204 color: #c70d2c; 194 color: #c70d2c;
205 } 195 }
206 196
207 /* Buttons 197 /* Buttons
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
265 255
266 /******************************************************************************* 256 /*******************************************************************************
267 * .fg-* utilities 257 * .fg-* utilities
268 ******************************************************************************/ 258 ******************************************************************************/
269 259
270 .fg-accent 260 .fg-accent
271 { 261 {
272 color: #077CA6; 262 color: #077CA6;
273 } 263 }
274 264
265 .bg-secondary
266 {
267 color: #000;
268 background-color: #F4F4F4;
269 }
270
275 /******************************************************************************* 271 /*******************************************************************************
276 * #navbar 272 * #navbar
277 ******************************************************************************/ 273 ******************************************************************************/
278 274
279 #navbar 275 #navbar
280 { 276 {
281 min-height: 4em; 277 min-height: 4em;
282 background-color: #c70d2c; 278 background-color: #c70d2c;
283 position: fixed; 279 position: fixed;
284 z-index: 2; 280 z-index: 2;
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after
710 display: none; 706 display: none;
711 } 707 }
712 708
713 /* overriding display:none above */ 709 /* overriding display:none above */
714 #footer #social-list 710 #footer #social-list
715 { 711 {
716 display: block; 712 display: block;
717 } 713 }
718 } 714 }
719 715
716 /* Items
717 *****************************************************************************/
718
719 .item-group,
720 .item-body
721 {
722 margin-top: 1em;
723 margin-bottom: 1em;
724 }
725
726 .item
727 {
728 padding-top: 2em;
729 padding-bottom: 2em;
730 }
731
732 .item-heading
733 {
734 text-transform: uppercase;
735 }
736
720 /* Video 737 /* Video
721 ****************************************************************************/ 738 ****************************************************************************/
722 739
723 .video-parent 740 .video-parent
724 { 741 {
725 position: relative; 742 position: relative;
726 display: block; 743 display: block;
727 width: 100%; 744 width: 100%;
728 padding: 0; 745 padding: 0;
729 border: 1px solid #c9c9c9; 746 border: 1px solid #c9c9c9;
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
794 left: 50%; 811 left: 50%;
795 width: 80px; 812 width: 80px;
796 margin-top: -60px; 813 margin-top: -60px;
797 margin-left: -40px; 814 margin-left: -40px;
798 } 815 }
799 816
800 .hide-disclaimer .video-play 817 .hide-disclaimer .video-play
801 { 818 {
802 margin-top: -40px; 819 margin-top: -40px;
803 } 820 }
OLDNEW
« no previous file with comments | « static/css/index-mobile.css ('k') | static/img/abb-logo.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld