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

Side by Side Diff: static/css/index.css

Issue 29709593: Noissue - Lower opacity of media images on hover on abp.org homepage (Closed) Base URL: https://hg.adblockplus.org/web.adblockplus.org
Patch Set: HighPDI icon and solid black background color Created Feb. 26, 2018, 6:45 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #content 1 #content
2 { 2 {
3 padding-top: 5em; 3 padding-top: 5em;
4 margin: 0 auto; 4 margin: 0 auto;
5 } 5 }
6 6
7 #key-facts h1 7 #key-facts h1
8 { 8 {
9 font-size: 16px; 9 font-size: 16px;
10 } 10 }
(...skipping 717 matching lines...) Expand 10 before | Expand all | Expand 10 after
728 } 728 }
729 729
730 #media-list a 730 #media-list a
731 { 731 {
732 position: relative; 732 position: relative;
733 display: block; 733 display: block;
734 } 734 }
735 735
736 #media-list a:hover img 736 #media-list a:hover img
737 { 737 {
738 opacity: 0.5; 738 opacity: 0.2;
739 } 739 }
740 740
741 #media-list a:hover:after 741 #media-list a:hover:after
742 { 742 {
743 content: ""; 743 content: "";
744 position: absolute; 744 position: absolute;
745 top: 0; 745 top: 50%;
746 left: 0; 746 left: 50%;
747 height: 100%; 747 height: 1em;
748 width: 100%; 748 width: 1em;
749 padding: 1em;
juliandoucette 2018/02/27 12:57:04 NIT/Suggest: I think round edges would be nicer th
ire 2018/02/28 08:45:18 Done.
750 margin-left: -1em;
751 margin-top: -1em;
752 background-color: #000;
749 background-image: url(../img/external-icon.png); 753 background-image: url(../img/external-icon.png);
750 background-image: url(../img/external-icon.svg, none); 754 background-image: linear-gradient(transparent, transparent),
755 url(../img/external-icon.svg);
ire 2018/02/26 18:46:08 The SVG image wasn't being served previously, I us
juliandoucette 2018/02/27 12:57:04 Acknowledged.
751 background-repeat: no-repeat; 756 background-repeat: no-repeat;
752 background-position: center; 757 background-position: center;
753 background-size: 1em; 758 background-size: 1em;
754 } 759 }
755 760
756 @media (min-width: 768px) 761 @media (min-width: 768px)
757 { 762 {
758 #media-header small 763 #media-header small
759 { 764 {
760 display: none; 765 display: none;
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
805 { 810 {
806 #media-list 811 #media-list
807 { 812 {
808 display: flex; 813 display: flex;
809 justify-content: space-between; 814 justify-content: space-between;
810 align-items: center; 815 align-items: center;
811 } 816 }
812 } 817 }
813 818
814 } 819 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld