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