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

Side by Side Diff: skin/updates.css

Issue 29592569: Issue 5943 - Implement Updates Page for Adblock Plus extension (Closed) Base URL: https://hg.adblockplus.org/adblockplusui/
Patch Set: Addressed seventh round of feedback Created Jan. 12, 2018, 11:35 a.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 | « locale/en_US/updates.json ('k') | skin/updates/appstore-bg.svg » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 @font-face
2 {
3 font-family: "Source Sans Pro";
4 font-style: normal;
5 font-weight: 400;
6 font-stretch: normal;
7 src: local ("Ø"),
8 url(fonts/SourceSansPro-Regular.woff) format("woff");
9 }
10
11 @font-face
12 {
13 font-family: "Source Sans Pro";
14 font-style: bold;
15 font-weight: 600;
16 font-stretch: normal;
17 src: local ("Ø"),
18 url(fonts/SourceSansPro-bold.woff) format("woff");
19 }
20
21 html
22 {
23 font-family: "Source Sans Pro", Helvetica, Arial, sans-serif;
24 -webkit-font-smoothing: antialiased;
25 }
26
27 body
28 {
29 margin: 0;
30 padding: 0;
31 }
32
33 #container
34 {
35 display: flex;
36 flex-direction: row;
37 align-items: stretch;
38 }
39
40 .column
41 {
42 height: 100vh;
43 display: flex;
44 align-items: center;
45 justify-content: center;
46 flex: 1;
47 }
48
49 #graphic-column,
50 .graphic-column
51 {
52 background-color: #8DC446;
53 }
54
55 #content
56 {
57 padding: 0 3em;
58 max-width: 760px;
59 }
60
61 #content a
62 {
63 color: #C70D2C;
64 text-decoration: none;
65 }
66
67 #optionsPageLink
68 {
69 color: red;
70 }
71
72 /* Needed in order to achieve standard behavior
73 for links, due to lacking href attribute */
74 #content a:hover
75 {
76 text-decoration: underline;
77 cursor: pointer;
78 }
79
80 #content header
81 {
82 margin: 0 0 2em 5em;
83 }
84
85 html[dir="rtl"] #content header
86 {
87 margin: 0 5em 2em 0;
88 }
89
90 #content header p {
91 margin: 0;
92 opacity: 0.5;
93 font-weight: 400;
94 font-size: 1.2em;
95 }
96
97 #content header h1
98 {
99 margin: 0;
100 }
101
102 .custom-feature-entry
103 {
104 margin-top: 2em;
105 }
106
107 .custom-feature-entry h2
108 {
109 margin: 0 0 0 3.4em;
110 }
111
112 html[dir="rtl"] .custom-feature-entry h2
113 {
114 margin: 0 3.4em 0 0;
115 }
116
117 .update-graphic-container
118 {
119 display: flex;
120 align-items: center;
121 position: relative;
122 width: 560px;
123 height: 460px;
124 background-image: url(./updates/base-graphic.svg);
125 background-repeat: no-repeat;
126 background-size: cover;
127 }
128
129 .update-graphic-container img
130 {
131 display: block;
132 width: 162px;
133 height: 162px;
134 }
135
136 .update-graphic-content
137 {
138 display: flex;
139 align-items: center;
140 position: absolute;
141 top: 65px;
142 left: 100px;
143 }
144
145 .version-details
146 {
147 margin: 0 1em 0 1em;
148 }
149
150 .version-details h2
151 {
152 margin: 0;
153 }
154
155 .feature-entry
156 {
157 display: flex;
158 align-items: center;
159 padding: 0 1em;
160 }
161
162 .feature-entry img
163 {
164 width: 50px;
165 height: 50px;
166 display: block;
167 margin: 0 1em 0 0;
168 }
169
170 html[dir="rtl"] .feature-entry img
171 {
172 margin: 0 0 0 1em;
173 }
174
175 #block-ads-text > strong
176 {
177 text-decoration: line-through;
178 font-weight: normal;
179 }
180
181 .store-buttons
182 {
183 height: 58px;
184 margin: 0 0 0 5em;
185 }
186
187 html[dir="rtl"] .store-buttons
188 {
189 margin: 0 5em 0 0;
190 }
191
192 .store-button
193 {
194 display: block;
195 height: 58px;
196 border-radius: 6px;
197 background-color: #000;
198 float: left;
199 margin-bottom: 1em;
200 }
201
202 html[dir="rtl"] .store-button
203 {
204 float: right;
205 }
206
207 .store-button > img
208 {
209 height: 100%;
210 }
211
212 .applestore-button
213 {
214 margin-right: 1em;
215 }
216
217 html[dir="rtl"] .applestore-button
218 {
219 margin-right: 0;
220 margin-left: 1em;
221 }
222
223 @media(max-width: 960px)
224 {
225 #container
226 {
227 flex-direction: column;
228 }
229 }
230
231 @media(max-width: 480px)
232 {
233 #content header
234 {
235 margin: 2em 0 2em 5em;
236 }
237
238 .column
239 {
240 align-items: flex-start;
241 }
242
243 html[dir="rtl"] .applestore-button
244 {
245 margin: 0 0 1em 0;
246 }
247 }
OLDNEW
« no previous file with comments | « locale/en_US/updates.json ('k') | skin/updates/appstore-bg.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld