Commit 7d8fd049789a55f18b635411fc39a63fc09a4529
Move link styles from Typography to Common structures section
Underlines, borders and colours aren't really typography.Greg K Nicholson committed on 2/14/2018, 1:16:06 PM
Parent: 44a2c00361fbd11737043ccfed956a9525e4f612
Files changed
themes/ran/static/style/ran.css | changed |
themes/ran/static/style/ran.css | ||
---|---|---|
@@ -43,26 +43,9 @@ | ||
43 | 43 … | /* Better match surrounding HK Grotesk. */ |
44 | 44 … | font-size: 0.9rem; |
45 | 45 … | } |
46 | 46 … | |
47 | -:link, :visited { | |
48 | - color: var(--link-color); | |
49 | - font-weight: 400; | |
50 | - opacity: 0.8; | |
51 | - box-shadow: var(--box-shadow-style) transparent; | |
52 | -} | |
53 | - | |
54 | - :link:focus, | |
55 | - :link:hover, | |
56 | - :visited:focus, | |
57 | - :visited:hover { | |
58 | - opacity: 1; | |
59 | - filter: none; | |
60 | - box-shadow: var(--box-shadow-style) currentcolor; | |
61 | - outline: 0; | |
62 | - } | |
63 | 47 … | |
64 | - | |
65 | 48 … | /* Layout */ |
66 | 49 … | |
67 | 50 … | html, body { |
68 | 51 … | margin: 0; |
@@ -407,8 +390,24 @@ | ||
407 | 390 … | |
408 | 391 … | a { |
409 | 392 … | text-decoration: none; |
410 | 393 … | } |
394 … | + :link, :visited { | |
395 … | + color: var(--link-color); | |
396 … | + font-weight: 400; | |
397 … | + opacity: 0.8; | |
398 … | + box-shadow: var(--box-shadow-style) transparent; | |
399 … | + } | |
400 … | + | |
401 … | + :link:focus, | |
402 … | + :link:hover, | |
403 … | + :visited:focus, | |
404 … | + :visited:hover { | |
405 … | + opacity: 1; | |
406 … | + filter: none; | |
407 … | + box-shadow: var(--box-shadow-style) currentcolor; | |
408 … | + outline: 0; | |
409 … | + } | |
411 | 410 … | |
412 | 411 … | address { |
413 | 412 … | font-style: inherit; |
414 | 413 … | } |
Built with git-ssb-web