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: Changed non-space to word-spacing Created June 14, 2017, 12:02 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 | « includes/sidebar.tmpl ('k') | static/scss/layout/_navbar.scss » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1211 matching lines...) Expand 10 before | Expand all | Expand 10 after
1222 #navbar img { 1222 #navbar img {
1223 height: 16px; 1223 height: 16px;
1224 margin: 0; } 1224 margin: 0; }
1225 1225
1226 .js #navbar { 1226 .js #navbar {
1227 position: fixed; 1227 position: fixed;
1228 z-index: 1; 1228 z-index: 1;
1229 top: 0; 1229 top: 0;
1230 left: 0; } 1230 left: 0; }
1231 1231
1232 .site-title {
1233 margin: 0;
1234 font-size: 17px;
1235 line-height: 64px;
1236 word-spacing: 1px; }
saroyanm 2017/06/14 13:20:52 I assume you forgot to generate latest version, as
1237
1238 .site-title a {
1239 color: #161616;
1240 text-decoration: none;
1241 font-weight: 300; }
1242
1243 .site-title .non-space {
1244 display: inline-block;
1245 width: 1px; }
1246
1247 .site-title a strong {
1248 font-weight: 400; }
1249
1232 @media (min-width: 1200px) { 1250 @media (min-width: 1200px) {
1233 html[dir="rtl"] #navbar-logo { 1251 html[dir="rtl"] .site-title {
1234 margin-right: 208px; } 1252 margin-right: 208px; }
1235 html[dir="ltr"] #navbar-logo { 1253 html[dir="ltr"] .site-title {
1236 margin-left: 208px; } } 1254 margin-left: 208px; } }
1237 1255
1238 @media (max-width: 1199px) { 1256 @media (max-width: 1199px) {
1239 .js #navbar { 1257 .js #navbar {
1240 display: none; } } 1258 display: none; } }
1241 1259
1242 #sidebar { 1260 #sidebar {
1243 text-transform: uppercase; 1261 text-transform: uppercase;
1244 color: #FFFFFF; 1262 color: #FFFFFF;
1245 background-color: #161616; 1263 background-color: #161616;
1246 font-size: 16px; 1264 font-size: 16px;
1247 font-weight: 400; 1265 font-weight: 400;
1248 line-height: 100%; } 1266 line-height: 100%; }
1249 #sidebar ul, 1267 #sidebar ul,
1250 #sidebar li { 1268 #sidebar li {
1251 margin: 0; 1269 margin: 0;
1252 padding: 0; 1270 padding: 0;
1253 text-align: inherit; } 1271 text-align: inherit; }
1254 #sidebar a,
1255 #sidebar a:hover,
1256 #sidebar a:active {
1257 display: block;
1258 text-decoration: none;
1259 color: inherit; }
1260 #sidebar #sidebar-brand { 1272 #sidebar #sidebar-brand {
1261 height: 64px; 1273 height: 64px;
1262 line-height: 64px; } 1274 line-height: 64px; }
1263 #sidebar #sidebar-logo { 1275 #sidebar #sidebar-logo {
1264 display: block; 1276 display: block;
1265 padding: 0 32px; 1277 padding: 0 32px;
1266 text-align: inherit; 1278 text-align: inherit;
1267 background-color: #8CC63E; } 1279 background-color: #8CC63E; }
1268 #sidebar #sidebar-logo img { 1280 #sidebar #sidebar-logo img {
1269 width: 32px; 1281 width: 32px;
1270 height: 32px; 1282 height: 32px;
1271 vertical-align: middle; } 1283 vertical-align: middle; }
1272 #sidebar #sidebar-open, 1284 #sidebar #sidebar-open,
1273 #sidebar #sidebar-close, 1285 #sidebar #sidebar-close,
1274 #sidebar #sidebar-title { 1286 #sidebar .site-title {
1275 display: none; } 1287 display: none; }
1276 #sidebar #sidebar-close img { 1288 #sidebar #sidebar-close img {
1277 width: 20px; 1289 width: 20px;
1278 height: 20px; } 1290 height: 20px; }
1279 #sidebar #sidebar-open img { 1291 #sidebar #sidebar-open img {
1280 width: 36px; 1292 width: 36px;
1281 height: 18px; } 1293 height: 18px; }
1282 1294
1295 #sidebar-menus a,
1296 #sidebar-menus a:hover,
1297 #sidebar-menus a:active {
1298 display: block;
1299 text-decoration: none;
1300 color: inherit; }
1301
1283 @media (min-width: 1200px) { 1302 @media (min-width: 1200px) {
1284 #sidebar { 1303 #sidebar {
1285 position: absolute; 1304 position: absolute;
1286 top: 0; 1305 top: 0;
1287 width: 208px; } 1306 width: 208px; }
1288 .js #sidebar { 1307 .js #sidebar {
1289 position: fixed; 1308 position: fixed;
1290 z-index: 2; 1309 z-index: 2;
1291 height: 100%; } 1310 height: 100%; }
1292 html[dir="ltr"] #sidebar { 1311 html[dir="ltr"] #sidebar {
(...skipping 11 matching lines...) Expand all
1304 left: 0; 1323 left: 0;
1305 overflow: hidden; 1324 overflow: hidden;
1306 width: 100%; 1325 width: 100%;
1307 height: 64px; } 1326 height: 64px; }
1308 .js #sidebar.open { 1327 .js #sidebar.open {
1309 height: 100%; } 1328 height: 100%; }
1310 html[dir="ltr"].js #sidebar { 1329 html[dir="ltr"].js #sidebar {
1311 text-align: left; } 1330 text-align: left; }
1312 html[dir="rtl"].js #sidebar { 1331 html[dir="rtl"].js #sidebar {
1313 text-align: right; } 1332 text-align: right; }
1314 #sidebar #sidebar-title, 1333 #sidebar .site-title,
1315 #sidebar #sidebar-open { 1334 #sidebar #sidebar-open {
1316 display: block; } 1335 display: block; }
1317 #sidebar.open #sidebar-open { 1336 #sidebar.open #sidebar-open {
1318 display: none; } 1337 display: none; }
1319 #sidebar.open #sidebar-close { 1338 #sidebar.open #sidebar-close {
1320 display: block; } 1339 display: block; }
1321 #sidebar #sidebar-brand { 1340 #sidebar #sidebar-brand {
1322 background-color: #FFFFFF; } 1341 background-color: #FFFFFF; }
1323 #sidebar #sidebar-open, 1342 #sidebar #sidebar-open,
1324 #sidebar #sidebar-close, 1343 #sidebar #sidebar-close,
1325 #sidebar #sidebar-logo, 1344 #sidebar #sidebar-logo,
1326 #sidebar #sidebar-title { 1345 #sidebar .site-title {
1327 padding: 0 16px; } 1346 padding: 0 16px; }
1328 #sidebar #sidebar-open, 1347 #sidebar #sidebar-open,
1329 #sidebar #sidebar-close, 1348 #sidebar #sidebar-close,
1330 #sidebar #sidebar-title { 1349 #sidebar .site-title {
1331 height: 64px; 1350 height: 64px;
1332 line-height: 64px; } 1351 line-height: 64px; }
1333 #sidebar #sidebar-open, 1352 #sidebar #sidebar-open,
1334 #sidebar #sidebar-close { 1353 #sidebar #sidebar-close {
1335 width: 64px; 1354 width: 64px;
1336 min-width: 64px; 1355 min-width: 64px;
1337 margin: 0; 1356 margin: 0;
1338 color: #FFFFFF; 1357 color: #FFFFFF;
1339 border: none; 1358 border: none;
1340 background-color: #161616; 1359 background-color: #161616;
1341 font-size: 32px; } 1360 font-size: 32px; }
1342 #sidebar #sidebar-title img {
1343 display: inline-block;
1344 height: 16px;
1345 vertical-align: middle; }
1346 html[dir="ltr"] #sidebar-open, 1361 html[dir="ltr"] #sidebar-open,
1347 html[dir="ltr"] #sidebar-close, 1362 html[dir="ltr"] #sidebar-close,
1348 html[dir="ltr"] #sidebar-logo, 1363 html[dir="ltr"] #sidebar-logo,
1349 html[dir="ltr"] #sidebar-title { 1364 html[dir="ltr"] #sidebar .site-title {
1350 float: left; } 1365 float: left; }
1351 html[dir="rtl"] #sidebar-open, 1366 html[dir="rtl"] #sidebar-open,
1352 html[dir="rtl"] #sidebar-close, 1367 html[dir="rtl"] #sidebar-close,
1353 html[dir="rtl"] #sidebar-logo, 1368 html[dir="rtl"] #sidebar-logo,
1354 html[dir="rtl"] #sidebar-title { 1369 html[dir="rtl"] #sidebar .site-title {
1355 float: right; } } 1370 float: right; } }
1356 1371
1357 #primary-navigation li { 1372 #primary-navigation li {
1358 position: relative; } 1373 position: relative; }
1359 1374
1360 #primary-navigation ul ul li { 1375 #primary-navigation ul ul li {
1361 color: #8CC63E; 1376 color: #8CC63E;
1362 font-size: 14px; } 1377 font-size: 14px; }
1363 1378
1364 #primary-navigation .active > a { 1379 #primary-navigation .active > a {
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
1550 height: 0; 1565 height: 0;
1551 content: " "; 1566 content: " ";
1552 border-top: 2px solid #FFFFFF; } 1567 border-top: 2px solid #FFFFFF; }
1553 #footer a { 1568 #footer a {
1554 color: #FFFFFF; } 1569 color: #FFFFFF; }
1555 #footer a:hover { 1570 #footer a:hover {
1556 text-decoration: underline; 1571 text-decoration: underline;
1557 color: #8CC63E !important; } 1572 color: #8CC63E !important; }
1558 #footer p { 1573 #footer p {
1559 color: #E1E1E1; } 1574 color: #E1E1E1; }
OLDNEW
« no previous file with comments | « includes/sidebar.tmpl ('k') | static/scss/layout/_navbar.scss » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld