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

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

Issue 29401619: Issue 4963 - Wrong size used for text logo on acceptableads.com (Closed) Base URL: https://hg.adblockplus.org/web.acceptableads.com
Patch Set: Addressed comments Created May 22, 2017, 7:08 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
1 .m-a-na { 1 .m-a-na {
2 margin: 0 0 !important; } 2 margin: 0 0 !important; }
3 3
4 .m-t-na { 4 .m-t-na {
5 margin-top: 0 !important; } 5 margin-top: 0 !important; }
6 6
7 .m-b-na { 7 .m-b-na {
8 margin-bottom: 0 !important; } 8 margin-bottom: 0 !important; }
9 9
10 .m-x-na { 10 .m-x-na {
(...skipping 1203 matching lines...) Expand 10 before | Expand all | Expand 10 after
1214 #navbar img { 1214 #navbar img {
1215 height: 16px; 1215 height: 16px;
1216 margin: 0; } 1216 margin: 0; }
1217 1217
1218 .js #navbar { 1218 .js #navbar {
1219 position: fixed; 1219 position: fixed;
1220 z-index: 1; 1220 z-index: 1;
1221 top: 0; 1221 top: 0;
1222 left: 0; } 1222 left: 0; }
1223 1223
1224 .site-title {
1225 margin: 0;
1226 font-size: 17px;
1227 line-height: 64px; }
1228
1229 .site-title a {
1230 color: #161616;
1231 text-decoration: none;
1232 font-weight: 300; }
1233
1234 .site-title .non-space {
1235 display: inline-block;
1236 width: 1px; }
1237
1238 .site-title a strong {
1239 font-weight: 400; }
1240
1224 @media (min-width: 1200px) { 1241 @media (min-width: 1200px) {
1225 html[dir="rtl"] #navbar-logo { 1242 html[dir="rtl"] #navbar-logo {
1226 margin-right: 208px; } 1243 margin-right: 208px; }
1227 html[dir="ltr"] #navbar-logo { 1244 html[dir="ltr"] #navbar-logo {
1228 margin-left: 208px; } } 1245 margin-left: 208px; } }
1229 1246
1230 @media (max-width: 1199px) { 1247 @media (max-width: 1199px) {
1231 .js #navbar { 1248 .js #navbar {
1232 display: none; } } 1249 display: none; } }
1233 1250
1234 #sidebar { 1251 #sidebar {
1235 text-transform: uppercase; 1252 text-transform: uppercase;
1236 color: #FFFFFF; 1253 color: #FFFFFF;
1237 background-color: #161616; 1254 background-color: #161616;
1238 font-size: 16px; 1255 font-size: 16px;
1239 font-weight: 400; 1256 font-weight: 400;
1240 line-height: 100%; } 1257 line-height: 100%; }
1241 #sidebar ul, 1258 #sidebar ul,
1242 #sidebar li { 1259 #sidebar li {
1243 margin: 0; 1260 margin: 0;
1244 padding: 0; 1261 padding: 0;
1245 text-align: inherit; } 1262 text-align: inherit; }
1246 #sidebar a,
1247 #sidebar a:hover,
1248 #sidebar a:active {
1249 display: block;
1250 text-decoration: none;
1251 color: inherit; }
1252 #sidebar #sidebar-brand { 1263 #sidebar #sidebar-brand {
1253 height: 64px; 1264 height: 64px;
1254 line-height: 64px; } 1265 line-height: 64px; }
1255 #sidebar #sidebar-logo { 1266 #sidebar #sidebar-logo {
1256 display: block; 1267 display: block;
1257 padding: 0 32px; 1268 padding: 0 32px;
1258 text-align: inherit; 1269 text-align: inherit;
1259 background-color: #8CC63E; } 1270 background-color: #8CC63E; }
1260 #sidebar #sidebar-logo img { 1271 #sidebar #sidebar-logo img {
1261 width: 32px; 1272 width: 32px;
1262 height: 32px; 1273 height: 32px;
1263 vertical-align: middle; } 1274 vertical-align: middle; }
1264 #sidebar #sidebar-open, 1275 #sidebar #sidebar-open,
1265 #sidebar #sidebar-close, 1276 #sidebar #sidebar-close,
1266 #sidebar #sidebar-title { 1277 #sidebar .site-title {
1267 display: none; } 1278 display: none; }
1268 #sidebar #sidebar-close img { 1279 #sidebar #sidebar-close img {
1269 width: 20px; 1280 width: 20px;
1270 height: 20px; } 1281 height: 20px; }
1271 #sidebar #sidebar-open img { 1282 #sidebar #sidebar-open img {
1272 width: 36px; 1283 width: 36px;
1273 height: 18px; } 1284 height: 18px; }
1274 1285
1286 #sidebar-menus a,
1287 #sidebar-menus a:hover,
1288 #sidebar-menus a:active {
1289 display: block;
1290 text-decoration: none;
1291 color: inherit; }
1292
1275 @media (min-width: 1200px) { 1293 @media (min-width: 1200px) {
1276 #sidebar { 1294 #sidebar {
1277 position: absolute; 1295 position: absolute;
1278 top: 0; 1296 top: 0;
1279 width: 208px; } 1297 width: 208px; }
1280 .js #sidebar { 1298 .js #sidebar {
1281 position: fixed; 1299 position: fixed;
1282 z-index: 2; 1300 z-index: 2;
1283 height: 100%; } 1301 height: 100%; }
1284 html[dir="ltr"] #sidebar { 1302 html[dir="ltr"] #sidebar {
(...skipping 11 matching lines...) Expand all
1296 left: 0; 1314 left: 0;
1297 overflow: hidden; 1315 overflow: hidden;
1298 width: 100%; 1316 width: 100%;
1299 height: 64px; } 1317 height: 64px; }
1300 .js #sidebar.open { 1318 .js #sidebar.open {
1301 height: 100%; } 1319 height: 100%; }
1302 html[dir="ltr"].js #sidebar { 1320 html[dir="ltr"].js #sidebar {
1303 text-align: left; } 1321 text-align: left; }
1304 html[dir="rtl"].js #sidebar { 1322 html[dir="rtl"].js #sidebar {
1305 text-align: right; } 1323 text-align: right; }
1306 #sidebar #sidebar-title, 1324 #sidebar .site-title,
1307 #sidebar #sidebar-open { 1325 #sidebar #sidebar-open {
1308 display: block; } 1326 display: block; }
1309 #sidebar.open #sidebar-open { 1327 #sidebar.open #sidebar-open {
1310 display: none; } 1328 display: none; }
1311 #sidebar.open #sidebar-close { 1329 #sidebar.open #sidebar-close {
1312 display: block; } 1330 display: block; }
1313 #sidebar #sidebar-brand { 1331 #sidebar #sidebar-brand {
1314 background-color: #FFFFFF; } 1332 background-color: #FFFFFF; }
1315 #sidebar #sidebar-open, 1333 #sidebar #sidebar-open,
1316 #sidebar #sidebar-close, 1334 #sidebar #sidebar-close,
1317 #sidebar #sidebar-logo, 1335 #sidebar #sidebar-logo,
1318 #sidebar #sidebar-title { 1336 #sidebar .site-title {
1319 padding: 0 16px; } 1337 padding: 0 16px; }
1320 #sidebar #sidebar-open, 1338 #sidebar #sidebar-open,
1321 #sidebar #sidebar-close, 1339 #sidebar #sidebar-close,
1322 #sidebar #sidebar-title { 1340 #sidebar .site-title {
1323 height: 64px; 1341 height: 64px;
1324 line-height: 64px; } 1342 line-height: 64px; }
1325 #sidebar #sidebar-open, 1343 #sidebar #sidebar-open,
1326 #sidebar #sidebar-close { 1344 #sidebar #sidebar-close {
1327 width: 64px; 1345 width: 64px;
1328 min-width: 64px; 1346 min-width: 64px;
1329 margin: 0; 1347 margin: 0;
1330 color: #FFFFFF; 1348 color: #FFFFFF;
1331 border: none; 1349 border: none;
1332 background-color: #161616; 1350 background-color: #161616;
1333 font-size: 32px; } 1351 font-size: 32px; }
1334 #sidebar #sidebar-title img {
1335 display: inline-block;
1336 height: 16px;
1337 vertical-align: middle; }
1338 html[dir="ltr"] #sidebar-open, 1352 html[dir="ltr"] #sidebar-open,
1339 html[dir="ltr"] #sidebar-close, 1353 html[dir="ltr"] #sidebar-close,
1340 html[dir="ltr"] #sidebar-logo, 1354 html[dir="ltr"] #sidebar-logo,
1341 html[dir="ltr"] #sidebar-title { 1355 html[dir="ltr"] #sidebar .site-title {
1342 float: left; } 1356 float: left; }
1343 html[dir="rtl"] #sidebar-open, 1357 html[dir="rtl"] #sidebar-open,
1344 html[dir="rtl"] #sidebar-close, 1358 html[dir="rtl"] #sidebar-close,
1345 html[dir="rtl"] #sidebar-logo, 1359 html[dir="rtl"] #sidebar-logo,
1346 html[dir="rtl"] #sidebar-title { 1360 html[dir="rtl"] #sidebar .site-title {
1347 float: right; } } 1361 float: right; } }
1348 1362
1349 #primary-navigation li { 1363 #primary-navigation li {
1350 position: relative; } 1364 position: relative; }
1351 1365
1352 #primary-navigation ul ul li { 1366 #primary-navigation ul ul li {
1353 color: #8CC63E; 1367 color: #8CC63E;
1354 font-size: 14px; } 1368 font-size: 14px; }
1355 1369
1356 #primary-navigation .active > a { 1370 #primary-navigation .active > a {
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
1542 height: 0; 1556 height: 0;
1543 content: " "; 1557 content: " ";
1544 border-top: 2px solid #FFFFFF; } 1558 border-top: 2px solid #FFFFFF; }
1545 #footer a { 1559 #footer a {
1546 color: #FFFFFF; } 1560 color: #FFFFFF; }
1547 #footer a:hover { 1561 #footer a:hover {
1548 text-decoration: underline; 1562 text-decoration: underline;
1549 color: #8CC63E !important; } 1563 color: #8CC63E !important; }
1550 #footer p { 1564 #footer p {
1551 color: #E1E1E1; } 1565 color: #E1E1E1; }
OLDNEW

Powered by Google App Engine
This is Rietveld