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:14 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, .graphic-column
Thomas Greiner 2018/01/12 11:31:44 Coding style: "Always start a new line for each se
50 {
51 background-color: #8DC446;
52 }
53
54 #content
55 {
56 padding: 0 3em;
57 max-width: 760px;
58 }
59
60 #content a
61 {
62 color: #C70D2C;
63 text-decoration: none;
64 }
65
66 #optionsPageLink
67 {
68 color: red;
69 }
70
71 /* Needed in order to achieve standard behavior
72 for links, due to lacking href attribute */
73 #content a:hover
74 {
75 text-decoration: underline;
76 cursor: pointer;
77 }
78
79 #content header
80 {
81 margin: 0 0 2em 5em;
82 }
83
84 html[dir="rtl"] #content header
85 {
86 margin: 0 5em 2em 0;
87 }
88
89 #content header p {
90 margin: 0;
91 opacity: 0.5;
92 font-weight: 400;
93 font-size: 1.2em;
94 }
95
96 #content header h1
97 {
98 margin: 0;
99 }
100
101 .custom-feature-entry
102 {
103 margin-top: 2em;
104 }
105
106 .custom-feature-entry h2
107 {
108 margin: 0 0 0 3.4em;
109 }
110
111 html[dir="rtl"] .custom-feature-entry h2
112 {
113 margin: 0 3.4em 0 0;
114 }
115
116 .update-graphic-container
117 {
118 display: flex;
119 align-items: center;
120 position: relative;
121 width: 560px;
122 height: 460px;
123 background-image: url(./updates/base-graphic.svg);
124 background-repeat: no-repeat;
125 background-size: cover;
126 }
127
128 .update-graphic-container img
129 {
130 display: block;
131 width: 162px;
132 height: 162px;
133 }
134
135 .update-graphic-content
136 {
137 display: flex;
138 align-items: center;
139 position: absolute;
140 top: 65px;
141 left: 100px;
142 }
143
144 .version-details
145 {
146 margin: 0 1em 0 1em;
147 }
148
149 .version-details h2
150 {
151 margin: 0;
152 }
153
154 .feature-entry
155 {
156 display: flex;
157 align-items: center;
158 padding: 0 1em;
159 }
160
161 .feature-entry img
162 {
163 width: 50px;
164 height: 50px;
165 display: block;
166 margin: 0 1em 0 0;
167 }
168
169 html[dir="rtl"] .feature-entry img
170 {
171 margin: 0 0 0 1em;
172 }
173
174 #block-ads-text > strong
175 {
176 text-decoration: line-through;
177 font-weight: normal;
178 }
179
180 .store-buttons
181 {
182 height: 58px;
183 margin: 0 0 0 5em;
184 }
185
186 html[dir="rtl"] .store-buttons
187 {
188 margin: 0 5em 0 0;
189 }
190
191 .store-button
192 {
193 display: block;
194 height: 58px;
195 border-radius: 6px;
196 background-color: #000;
197 float: left;
198 margin-bottom: 1em;
199 }
200
201 html[dir="rtl"] .store-button
202 {
203 float: right;
204 }
205
206 .store-button > img
207 {
208 height: 100%;
209 }
210
211 .applestore-button
212 {
213 margin-right: 1em;
214 }
215
216 html[dir="rtl"] .applestore-button
217 {
218 margin-right: 0;
219 margin-left: 1em;
220 }
221
222 @media(max-width: 960px)
223 {
224 #container
225 {
226 flex-direction: column;
227 }
228 }
229
230 @media(max-width: 480px)
231 {
232 #content header
233 {
234 margin: 2em 0 2em 5em;
235 }
236
237 .column
238 {
239 align-items: flex-start;
240 }
241
242 html[dir="rtl"] .applestore-button
243 {
244 margin: 0 0 1em 0;
245 }
246 }
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