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

Unified Diff: includes/index/style.html

Issue 29499714: Issue 4912 - Update media coverage links on eyeo.com (Closed) Base URL: https://hg.adblockplus.org/web.eyeo.com
Patch Set: Refactor alternative text and title for media coverage links Created Aug. 2, 2017, 10:33 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: includes/index/style.html
===================================================================
new file mode 100644
--- /dev/null
+++ b/includes/index/style.html
@@ -0,0 +1,76 @@
+<style>
+
+#media
+{
+ text-align: center;
+}
+
+#media-links
+{
+ list-style: none;
+ padding: 0;
+ margin-bottom: 0;
+}
+
+#media-links li
+{
+ display: inline-block;
+ position: relative;
+ margin: 0px 10px 20px;
+}
+
+.publisher-logo
+{
+ max-height: 25px;
+ max-width: 100%;
+}
+
+.external-link-icon
juliandoucette 2017/08/02 20:31:13 NIT: I think you could center this icon by positio
+{
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ height: 20px;
+ width: 20px;
+ margin-left: -10px;
+ margin-top: -12px;
+ opacity: 0;
+}
+
+#media-links a:hover .external-link-icon,
+#media-links a:focus .external-link-icon
+{
+ opacity: 1;
+}
+
+#media-links a:hover .publisher-logo,
+#media-links a:focus .publisher-logo
+{
+ opacity: 0.2;
juliandoucette 2017/08/02 20:31:13 NIT: It may be hard to see the external link icon
+}
+
+#media small
+{
+ display: block;
+ margin-bottom: 1em;
+}
+
+@media (min-width: 620px) and (max-width: 930px)
+{
+ #media-links
+ {
+ max-width: 600px;
+ margin-right: auto;
+ margin-left: auto;
+ }
+}
+
+@media (min-width: 930px)
+{
+ #media small
+ {
+ display: none;
+ }
+}
+
+</style>
« includes/index/media.tmpl ('K') | « includes/index/media.tmpl ('k') | pages/index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld