Left: | ||
Right: |
OLD | NEW |
---|---|
(Empty) | |
1 @font-face | |
2 { | |
3 font-family: "Source Sans Pro"; | |
Thomas Greiner
2017/11/03 17:40:01
Coding style: "Indentation: Two spaces per logic l
martin
2017/11/06 16:05:45
Done.
| |
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 } | |
25 | |
26 body | |
27 { | |
28 margin: 0; | |
29 padding: 0; | |
30 } | |
31 | |
32 #container | |
33 { | |
34 display: flex; | |
35 flex-direction: row; | |
36 align-items: stretch; | |
37 } | |
38 | |
39 @media(max-width: 960px) | |
Thomas Greiner
2017/11/03 17:40:00
I'd be curious to hear what Julian's opinion is on
martin
2017/11/06 16:05:43
Moved the query to the bottom of the file.
| |
40 { | |
41 #container | |
42 { | |
43 flex-direction: column; | |
44 } | |
45 } | |
46 | |
47 .column | |
48 { | |
49 height: 100vh; | |
50 display: flex; | |
51 align-items: center; | |
52 justify-content: center; | |
53 flex: 1; | |
54 } | |
55 | |
56 #graphic-column | |
57 { | |
58 background: #8DC446; | |
Thomas Greiner
2017/11/03 17:40:00
Detail: I'd recommend avoiding shorthand propertie
martin
2017/11/06 16:05:45
Done.
| |
59 | |
60 } | |
61 | |
62 .graphic-column | |
63 { | |
64 background: #8DC446; | |
65 } | |
66 | |
67 #content | |
68 { | |
69 padding: 0 3em; | |
70 max-width: 760px; | |
71 } | |
72 | |
73 #content a { | |
74 color: #C70D2C; | |
75 text-decoration: none; | |
76 } | |
77 | |
78 #content a:hover { | |
79 text-decoration: underline; | |
80 } | |
81 | |
82 #content header | |
83 { | |
84 margin: 0 0 2em 5em; | |
Thomas Greiner
2017/11/03 17:40:00
Detail: This may produce unexpected results for ri
martin
2017/11/06 16:05:45
Done.
| |
85 } | |
86 | |
87 #content header p { | |
88 margin: 0; | |
89 opacity: .5; | |
Thomas Greiner
2017/11/03 17:40:01
Coding style: "Don't omit the optional leading 0 f
martin
2017/11/06 16:05:44
Done.
martin
2017/11/06 16:05:45
Done.
| |
90 font-weight: normal; | |
Thomas Greiner
2017/11/03 17:40:00
Detail: For consistency, we use numeric values for
martin
2017/11/06 16:05:44
Done.
| |
91 font-size: 1.2em; | |
92 } | |
93 | |
94 #content header h1 | |
95 { | |
96 margin: 0; | |
97 } | |
98 | |
99 .custom-feature-entry | |
100 { | |
101 margin-top: 2em; | |
102 } | |
103 | |
104 .custom-feature-entry h2 { | |
105 margin: 0 0 0 3.4em; | |
106 } | |
107 | |
108 .update-graphic-container | |
109 { | |
110 width: 560px; | |
111 height: 460px; | |
112 background: url('/skin/updates-page/base-graphic.svg'); | |
Thomas Greiner
2017/11/03 17:40:00
Detail: Note that we've been using relative paths
Thomas Greiner
2017/11/03 17:40:00
Suggestion: Mind using the same name for the direc
Thomas Greiner
2017/11/03 17:40:01
Coding style: "Do not use quotation marks in URI v
martin
2017/11/06 16:05:43
Done.
martin
2017/11/06 16:05:44
Done.
martin
2017/11/06 16:05:44
Done.
| |
113 position: relative; | |
114 display: flex; | |
115 align-items: center; | |
116 background-repeat: no-repeat; | |
117 background-size: cover; | |
118 } | |
119 | |
120 .update-graphic-container img | |
121 { | |
122 display: block; | |
123 width: 162px; | |
124 height: 162px; | |
125 } | |
126 | |
127 .update-graphic-content | |
128 { | |
129 position: absolute; | |
130 top: 65px; | |
131 left: 100px; | |
Thomas Greiner
2017/11/03 17:40:00
Detail: This may produce unexpected results for ri
martin
2017/11/06 16:05:45
Done.
Thomas Greiner
2017/11/14 12:25:38
How did you address this?
martin
2017/11/20 11:47:28
I checked it out and I guess it looks all right in
Thomas Greiner
2017/11/20 17:06:03
I looked at the page now and see that this is not
| |
132 display: flex; | |
133 align-items: center; | |
134 } | |
135 | |
136 .version-details | |
137 { | |
138 margin: 0 0 0 1em; | |
139 } | |
140 | |
141 .version-details h2 | |
142 { | |
143 margin: 0; | |
144 } | |
145 | |
146 .version-details span | |
147 { | |
148 color: #bebebe; | |
149 } | |
150 | |
151 .feature-entry | |
152 { | |
153 display: flex; | |
154 align-items: center; | |
155 padding: 0 1em; | |
156 } | |
157 | |
158 .feature-entry img | |
159 { | |
160 width: 50px; | |
161 height: 50px; | |
162 display: block; | |
163 margin: 0 1em 0 0; | |
Thomas Greiner
2017/11/03 17:40:00
Detail: This may produce unexpected results for ri
martin
2017/11/20 11:47:28
Done.
| |
164 } | |
165 | |
166 .store-buttons | |
167 { | |
168 width: 100%; | |
169 hegiht: 58px; | |
Thomas Greiner
2017/11/03 17:40:01
Typo: Replace "hegiht" with "height"
martin
2017/11/06 16:05:43
Done.
| |
170 margin-left: 5em; | |
Thomas Greiner
2017/11/03 17:40:00
Detail: This may produce unexpected results for ri
martin
2017/11/06 16:05:44
Done.
| |
171 } | |
172 | |
173 .store-button | |
174 { | |
175 display: block; | |
176 width: 180px; | |
177 height: 58px; | |
178 border-radius: 6px; | |
179 background: #000; | |
180 float: left; | |
Thomas Greiner
2017/11/03 17:40:01
Detail: This may produce unexpected results for ri
martin
2017/11/06 16:05:45
Done.
| |
181 margin-bottom: 1em; | |
182 } | |
183 | |
184 .store-button > img | |
185 { | |
186 height: 54px; | |
187 } | |
188 | |
189 .applestore-button | |
190 { | |
191 margin-right: 1em; | |
192 } | |
193 | |
194 [dir="rtl"] .appstore-button | |
195 { | |
196 margin-right: 0; | |
197 margin-left: 1em; | |
198 } | |
OLD | NEW |