Left: | ||
Right: |
OLD | NEW |
---|---|
(Empty) | |
1 <style> | |
2 | |
3 #media | |
4 { | |
5 text-align: center; | |
6 } | |
7 | |
8 #media-links | |
9 { | |
10 list-style: none; | |
11 padding: 0; | |
12 margin-bottom: 0; | |
13 } | |
14 | |
15 #media-links li | |
16 { | |
17 display: inline-block; | |
18 position: relative; | |
19 margin: 0px 10px 20px; | |
20 } | |
21 | |
22 .publisher-logo | |
23 { | |
24 max-height: 25px; | |
25 max-width: 100%; | |
26 } | |
27 | |
28 .external-link-icon | |
juliandoucette
2017/08/02 20:31:13
NIT: I think you could center this icon by positio
| |
29 { | |
30 position: absolute; | |
31 top: 50%; | |
32 left: 50%; | |
33 height: 20px; | |
34 width: 20px; | |
35 margin-left: -10px; | |
36 margin-top: -12px; | |
37 opacity: 0; | |
38 } | |
39 | |
40 #media-links a:hover .external-link-icon, | |
41 #media-links a:focus .external-link-icon | |
42 { | |
43 opacity: 1; | |
44 } | |
45 | |
46 #media-links a:hover .publisher-logo, | |
47 #media-links a:focus .publisher-logo | |
48 { | |
49 opacity: 0.2; | |
juliandoucette
2017/08/02 20:31:13
NIT: It may be hard to see the external link icon
| |
50 } | |
51 | |
52 #media small | |
53 { | |
54 display: block; | |
55 margin-bottom: 1em; | |
56 } | |
57 | |
58 @media (min-width: 620px) and (max-width: 930px) | |
59 { | |
60 #media-links | |
61 { | |
62 max-width: 600px; | |
63 margin-right: auto; | |
64 margin-left: auto; | |
65 } | |
66 } | |
67 | |
68 @media (min-width: 930px) | |
69 { | |
70 #media small | |
71 { | |
72 display: none; | |
73 } | |
74 } | |
75 | |
76 </style> | |
OLD | NEW |