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

Delta Between Two Patch Sets: static/css/main.css

Issue 29722640: Fixes #22 - Add download page (Closed) Base URL: https://hg.adblockplus.org/web.adblockplus.org
Left Patch Set: Created March 14, 2018, 1:31 p.m.
Right Patch Set: Addressed comments #17 Created April 3, 2018, 3:19 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « pages/download.tmpl ('k') | static/img/abb-icon.png » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 *
2 {
3 font-family: Arial, sans;
4 font-size: 16px;
5 }
6
7 body 1 body
8 { 2 {
3 font-family: "Source Sans Pro", Arial, sans-serif;
9 margin: 0; 4 margin: 0;
10 /* Start below fixed navbar */ 5 /* Start below fixed navbar */
11 padding-top: 4em; 6 padding-top: 4em;
12 line-height: 1.5; 7 line-height: 1.5;
13 } 8 }
14 9
15 #content, 10 #content,
16 #blog 11 #blog
17 { 12 {
18 padding-bottom: 2em; 13 padding-bottom: 2em;
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 .section 135 .section
141 { 136 {
142 padding: 2em 0; 137 padding: 2em 0;
143 } 138 }
144 139
145 /****************************************************************************** 140 /******************************************************************************
146 * .content 141 * .content
147 *****************************************************************************/ 142 *****************************************************************************/
148 143
149 .content h1, 144 .content h1,
145 .content .h1,
150 .content h2, 146 .content h2,
151 .content h3, 147 .content h3,
152 .content h4, 148 .content h4,
153 .content h5 149 .content h5
154 { 150 {
155 font-weight: bold; 151 font-weight: bold;
156 margin: 32px 0 16px 0; 152 margin: 32px 0 16px 0;
157 margin: 2rem 0 1rem 0; 153 margin: 2rem 0 1rem 0;
154 line-height: 1.4;
158 } 155 }
159 156
160 .content h1, 157 .content h1,
161 .content .h1 { font-size: 1.8em; } 158 .content .h1 { font-size: 1.4em; }
162 159 .content h2 { font-size: 1.3em; }
163 .content h2 { font-size: 1.4em; } 160 .content h3 { font-size: 1.2em; }
164 .content h3 { font-size: 1.3em; } 161 .content h4 { font-size: 1.1em; }
165 .content h4 { font-size: 1.2em; } 162 .content h5 { font-size: 1em; }
166 .content h5 { font-size: 1.1em; } 163
164 @media(min-width: 576px)
165 {
166 .content h1,
167 .content .h1 { font-size: 1.6em; }
168 .content h2 { font-size: 1.4em; }
169 .content h3 { font-size: 1.3em; }
170 .content h4 { font-size: 1.2em; }
171 .content h5 { font-size: 1.1em; }
172 }
167 173
168 @media(min-width: 768px) 174 @media(min-width: 768px)
169 { 175 {
170 .content h1 { font-size: 2.4em; } 176 .content h1,
177 .content .h1
178 {
179 font-size: 2.4em;
180 line-height: 1.3;
181 }
182
171 .content h2 { font-size: 1.6em; } 183 .content h2 { font-size: 1.6em; }
172 } 184 }
173 185
174 .content a, 186 .content a,
175 .content a:visited 187 .content a:visited
176 { 188 {
177 color: #c70d2c; 189 color: #c70d2c;
178 } 190 }
179 191
180 /* Buttons 192 /* Buttons
(...skipping 17 matching lines...) Expand all
198 { 210 {
199 .button 211 .button
200 { 212 {
201 display: block; 213 display: block;
202 width: 100%; 214 width: 100%;
203 } 215 }
204 } 216 }
205 217
206 .button.primary 218 .button.primary
207 { 219 {
208 color: #fff; 220 color: #fff !important;
209 background-color: #c70d2c; 221 background-color: #c70d2c !important;
210 box-shadow: 0px 2px 5px #95989A; 222 box-shadow: 0px 2px 5px #95989A;
211 } 223 }
212 224
213 .button.primary:hover 225 .button.primary:hover
214 { 226 {
215 background-color: #E00F32; 227 background-color: #E00F32 !important;
216 } 228 }
217 229
218 .button.primary:active 230 .button.primary:active
219 { 231 {
220 background-color: #AD102A; 232 background-color: #AD102A !important;
221 } 233 }
222 234
223 .button.accent, 235 .button.accent,
224 .button.accent:visited 236 .button.accent:visited
225 { 237 {
226 background: #077CA6; 238 background: #077CA6 !important;
227 color: #fff; 239 color: #fff !important;
228 margin-left: 2px; 240 margin-left: 2px;
229 margin-right: 2px; 241 margin-right: 2px;
230 } 242 }
231 243
232 .button.accent:hover, 244 .button.accent:hover,
233 .button.accent:active, 245 .button.accent:active,
234 .button.accent:focus 246 .button.accent:focus
235 { 247 {
236 box-shadow: inset 0 0 0 3px #005D80; 248 box-shadow: inset 0 0 0 3px #005D80;
237 } 249 }
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after
687 #footer .column 699 #footer .column
688 { 700 {
689 display: none; 701 display: none;
690 } 702 }
691 703
692 /* overriding display:none above */ 704 /* overriding display:none above */
693 #footer #social-list 705 #footer #social-list
694 { 706 {
695 display: block; 707 display: block;
696 } 708 }
697 }
698
699 /* Items
700 *****************************************************************************/
701
702 .item-group,
703 .item-body
704 {
705 margin-top: 1em;
706 margin-bottom: 1em;
707 }
708
709 .item
710 {
711 padding-top: 2em;
712 padding-bottom: 2em;
713 }
714
715 .item-heading
716 {
717 text-transform: uppercase;
718 } 709 }
719 710
720 /* Video 711 /* Video
721 ****************************************************************************/ 712 ****************************************************************************/
722 713
723 .video-parent 714 .video-parent
724 { 715 {
725 position: relative; 716 position: relative;
726 display: block; 717 display: block;
727 width: 100%; 718 width: 100%;
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
795 width: 80px; 786 width: 80px;
796 margin-top: -60px; 787 margin-top: -60px;
797 margin-left: -40px; 788 margin-left: -40px;
798 } 789 }
799 790
800 .hide-disclaimer .video-play 791 .hide-disclaimer .video-play
801 { 792 {
802 margin-top: -40px; 793 margin-top: -40px;
803 } 794 }
804 795
796 /******************************************************************************
797 * .item-group
798 *****************************************************************************/
799
800 .item-group
801 {
802 text-align: center;
803 padding-top: 3em;
804 padding-bottom: 3em;
805 }
806
807 .item-group img
808 {
809 height: 5em;
810 width: auto;
811 }
812
813 .item-group h2
814 {
815 text-transform: uppercase;
816 }
817
818 @media (max-width: 575px)
819 {
820 .item-group .column
821 {
822 margin-bottom: 3em;
823 }
824
825 .item-group .column:last-of-type
826 {
827 margin-bottom: 0;
828 }
829 }
830
831 @media (min-width: 576px) and (max-width: 1023px)
832 {
833 .item-group
834 {
835 text-align: left;
836 }
837
838 [dir="rtl"] .item-group
839 {
840 text-align: right;
841 }
842
843 .item-group .column
844 {
845 position: relative;
846 width: auto;
847 padding: 0 3em 2em 10.5em;
848 min-height: 7em; /* Height of image plus 2em bottom padding */
849 }
850
851 [dir="rtl"] .item-group .column
852 {
853 padding: 0 10.5em 2em 3em;
854 }
855
856 .item-group .column:last-of-type
857 {
858 padding-bottom: 0;
859 min-height: 6em; /* Height of image */
860 }
861
862 .item-group img
863 {
864 position: absolute;
865 left: 3em;
866 top: 0.5em;
867 }
868
869 [dir="rtl"] .item-group img
870 {
871 left: auto;
872 right: 3em;
873 }
874
875 .item-group h2
876 {
877 margin: 0;
878 }
879 }
880
805 /* Horizontal List 881 /* Horizontal List
ire 2018/03/14 13:34:37 Taken from help.eyeo.com. I'm thinking we should a
juliandoucette 2018/03/14 17:54:53 Agreed.
ire 2018/03/15 09:38:12 https://issues.adblockplus.org/ticket/6484
806 ******************************************************************************/ 882 ******************************************************************************/
807 883
808 .horizontal-list 884 .horizontal-list
809 { 885 {
810 display: inline; 886 display: inline;
811 list-style: none; 887 list-style: none;
812 } 888 }
813 889
814 .horizontal-list li 890 .horizontal-list,
815 { 891 .content .horizontal-list
816 display: inline; 892 {
817 list-style: none; 893 padding: 0;
818 } 894 }
819 895
820 [dir="rtl"] .horizontal-list 896 .horizontal-list li
821 { 897 {
822 padding: 0; 898 display: inline;
823 } 899 list-style: none;
900 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld