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

Delta Between Two Patch Sets: static/css/main.css

Issue 29589609: Issue 5636 - Changed navbar contents (Closed) Base URL: https://bitbucket.org/adblockplus/adblockplus.org
Left Patch Set: Changed order of about and contribute Created Oct. 30, 2017, 12:07 p.m.
Right Patch Set: Rebased, Changed documentation link, added globe icon, removed locale code Created Nov. 27, 2017, 5:30 p.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 | « locales/en/menu.json ('k') | static/img/globe.png » ('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 { 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 line-height: 1.5; 10 line-height: 1.5;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 } 51 }
52 52
53 #adblock-browser-notification a 53 #adblock-browser-notification a
54 { 54 {
55 font-weight: bold; 55 font-weight: bold;
56 } 56 }
57 57
58 #adblock-browser-notification img 58 #adblock-browser-notification img
59 { 59 {
60 vertical-align: bottom; 60 vertical-align: bottom;
61 margin: 0px 4px;
62 width: 25px; 61 width: 25px;
63 height: 25px; 62 height: 25px;
64 } 63 }
65 64
66 #adblock-browser-notification span 65 #adblock-browser-notification span
67 { 66 {
68 white-space: nowrap; 67 white-space: nowrap;
68 margin-left: 1em;
69 }
70
71 [dir="rtl"] #adblock-browser-notification span
72 {
73 margin-left: 0;
74 margin-right: 1em;
69 } 75 }
70 76
71 .toc 77 .toc
72 { 78 {
73 display: inline-block; 79 display: inline-block;
74 border: 1px solid #aaa; 80 border: 1px solid #aaa;
75 background: #fff; 81 background: #fff;
76 padding: 16px 20px; 82 padding: 16px 20px;
77 } 83 }
78 84
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 * .content 152 * .content
147 *****************************************************************************/ 153 *****************************************************************************/
148 154
149 .content h1, 155 .content h1,
150 .content h2, 156 .content h2,
151 .content h3, 157 .content h3,
152 .content h4, 158 .content h4,
153 .content h5 159 .content h5
154 { 160 {
155 font-weight: bold; 161 font-weight: bold;
156 margin: 32px 0px; 162 margin: 32px 0 16px 0;
157 margin: 2rem 0rem; 163 margin: 2rem 0 1rem 0;
158 } 164 }
159 165
160 .content h1 { font-size: 1.8em; } 166 .content h1 { font-size: 1.8em; }
161 .content h2 { font-size: 1.4em; } 167 .content h2 { font-size: 1.4em; }
162 .content h3 { font-size: 1.3em; } 168 .content h3 { font-size: 1.3em; }
163 .content h4 { font-size: 1.2em; } 169 .content h4 { font-size: 1.2em; }
164 .content h5 { font-size: 1.1em; } 170 .content h5 { font-size: 1.1em; }
165 171
166 @media(min-width: 768px) 172 @media(min-width: 768px)
167 { 173 {
168 .content h1 { font-size: 2.4em; } 174 .content h1 { font-size: 2.4em; }
169 .content h2 { font-size: 1.6em; } 175 .content h2 { font-size: 1.6em; }
170 } 176 }
171 177
172 .content a, 178 .content a,
173 .content a:visited 179 .content a:visited
174 { 180 {
175 color: #c70d2c; 181 color: #c70d2c;
176 } 182 }
177 183
178 /******************************************************************************* 184 /*******************************************************************************
179 * #navbar 185 * #navbar
180 ******************************************************************************/ 186 ******************************************************************************/
181 187
182 #navbar 188 #navbar
183 { 189 {
184 min-height: 4em; 190 min-height: 4em;
185 background-color: #c70d2c; 191 background-color: #c70d2c;
186 overflow: auto; 192 }
193
194 @media(max-width: 991px)
195 {
196 #navbar
197 {
198 overflow: auto;
199 }
187 } 200 }
188 201
189 #navbar li 202 #navbar li
190 { 203 {
191 list-style-type: none; 204 list-style-type: none;
192 } 205 }
193 206
194 #navbar .container 207 #navbar .container
195 { 208 {
196 padding-left: 0; 209 padding-left: 0;
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 307
295 #navbar-menu a 308 #navbar-menu a
296 { 309 {
297 display: block; 310 display: block;
298 color: #fff; 311 color: #fff;
299 text-decoration: none; 312 text-decoration: none;
300 } 313 }
301 314
302 /* #navbar #navbar-menu #navbar-locale-menu 315 /* #navbar #navbar-menu #navbar-locale-menu
303 ******************************************************************************/ 316 ******************************************************************************/
317
318 #locale-icon
319 {
320 display: inline-block;
321 height: 1em;
322 width: 1em;
323 vertical-align: text-top;
324 margin-right: 0.1em;
325 }
326
327 [dir="rtl"] #locale-icon
328 {
329 margin-right: 0;
330 margin-left: 0.1em;
331 }
304 332
305 /* caret */ 333 /* caret */
306 #navbar-locale-selected:after 334 #navbar-locale-selected:after
307 { 335 {
308 display: inline-block; 336 display: inline-block;
309 width: 0; 337 width: 0;
310 height: 0; 338 height: 0;
311 margin: 0em 0em 0em 0.255em; 339 margin: 0em 0em 0em 0.255em;
312 vertical-align: .255em; 340 vertical-align: .255em;
313 content: ""; 341 content: "";
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
598 { 626 {
599 display: none; 627 display: none;
600 } 628 }
601 629
602 /* overriding display:none above */ 630 /* overriding display:none above */
603 #footer #social-list 631 #footer #social-list
604 { 632 {
605 display: block; 633 display: block;
606 } 634 }
607 } 635 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld