Left: | ||
Right: |
OLD | NEW |
---|---|
(Empty) | |
1 <style> | |
2 | |
3 #media-links | |
4 { | |
5 text-align: center; | |
6 list-style: none; | |
7 padding: 0; | |
8 } | |
9 | |
10 #media-links li | |
11 { | |
12 display: inline-block; | |
13 position: relative; | |
14 margin: 0px 10px 20px; | |
15 } | |
16 | |
17 .publication-logo | |
18 { | |
19 max-height: 25px; | |
20 max-width: 100%; | |
21 } | |
22 | |
23 .external-link-icon | |
24 { | |
25 position: absolute; | |
26 top: 50%; | |
27 left: 50%; | |
28 height: 20px; | |
29 width: 20px; | |
30 margin-left: -10px; | |
31 margin-top: -12px; | |
32 opacity: 0; | |
33 } | |
34 | |
35 #media-links a:hover .external-link-icon, | |
36 #media-links a:focus .external-link-icon | |
37 { | |
38 opacity: 1; | |
39 } | |
40 | |
41 #media-links a:hover .publication-logo, | |
42 #media-links a:focus .publication-logo | |
43 { | |
44 opacity: 0.2; | |
45 } | |
46 | |
47 @media (max-width: 930px) and (min-width: 620px) | |
48 { | |
49 #media-links | |
ire
2017/08/01 10:04:06
This is to force more than just one lone logo to a
juliandoucette
2017/08/02 20:31:13
NIT: Would you mind adding a comment to make this
| |
50 { | |
51 max-width: 600px; | |
52 margin-right: auto; | |
53 margin-left: auto; | |
54 } | |
55 } | |
56 | |
57 </style> | |
OLD | NEW |