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

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

Issue 29760667: Noissue - Adjustments to video component for blog (Closed) Base URL: https://hg.adblockplus.org/web.adblockplus.org
Patch Set: Created April 24, 2018, 3:52 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 | static/css/textpattern.css » ('j') | static/css/textpattern.css » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 body 1 body
2 { 2 {
3 font-family: "Source Sans Pro", Arial, sans-serif; 3 font-family: "Source Sans Pro", Arial, sans-serif;
4 margin: 0; 4 margin: 0;
5 /* Start below fixed navbar */ 5 /* Start below fixed navbar */
6 padding-top: 4em; 6 padding-top: 4em;
7 line-height: 1.5; 7 line-height: 1.5;
8 } 8 }
9 9
10 #content, 10 #content,
(...skipping 730 matching lines...) Expand 10 before | Expand all | Expand 10 after
741 } 741 }
742 742
743 .video-link 743 .video-link
744 { 744 {
745 display: block; 745 display: block;
746 position: relative; 746 position: relative;
747 } 747 }
748 748
749 .video-thumbnail 749 .video-thumbnail
750 { 750 {
751 display: block;
juliandoucette 2018/04/24 15:56:05 Images are displayed inline by default. This can r
ire 2018/04/25 08:34:32 Acknowledged.
751 width: 100%; 752 width: 100%;
752 transition: opacity 0.8s; 753 transition: opacity 0.8s;
753 opacity: 0.2; 754 opacity: 0.2;
754 } 755 }
755 756
756 .hide-disclaimer .video-thumbnail 757 .hide-disclaimer .video-thumbnail
757 { 758 {
758 opacity: 1; 759 opacity: 1;
759 } 760 }
760 761
761 .video-disclaimer 762 .video-disclaimer
762 { 763 {
763 visibility: visible; 764 visibility: visible;
764 opacity: 1; 765 opacity: 1;
765 position: absolute; 766 position: absolute;
766 bottom: 0; 767 bottom: 0;
767 left: 0; 768 left: 0;
768 padding: 1em; 769 padding: 1em;
769 background-color: #fff; 770 background-color: #fff;
770 font-size: 0.9em; 771 font-size: 0.9em;
771 text-align: center; 772 text-align: center;
772 transition: opacity 0.8s; 773 transition: opacity 0.8s;
773 } 774 }
774 775
776 .content .video-disclaimer
777 {
778 margin: 0;
juliandoucette 2018/04/24 15:56:05 This prevents an unintended space above and below
ire 2018/04/25 08:34:33 Acknowledged. Yes it is :/
779 }
780
775 .hide-disclaimer .video-disclaimer 781 .hide-disclaimer .video-disclaimer
776 { 782 {
777 visibility: hidden; 783 visibility: hidden;
778 opacity: 0; 784 opacity: 0;
779 } 785 }
780 786
781 .video-play 787 .video-play
782 { 788 {
783 position: absolute; 789 position: absolute;
784 top: 50%; 790 top: 50%;
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
891 .content .horizontal-list 897 .content .horizontal-list
892 { 898 {
893 padding: 0; 899 padding: 0;
894 } 900 }
895 901
896 .horizontal-list li 902 .horizontal-list li
897 { 903 {
898 display: inline; 904 display: inline;
899 list-style: none; 905 list-style: none;
900 } 906 }
OLDNEW
« no previous file with comments | « no previous file | static/css/textpattern.css » ('j') | static/css/textpattern.css » ('J')

Powered by Google App Engine
This is Rietveld