| Index: skin/updates.css |
| =================================================================== |
| new file mode 100644 |
| --- /dev/null |
| +++ b/skin/updates.css |
| @@ -0,0 +1,198 @@ |
| +@font-face |
| +{ |
| + 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.
|
| + font-style: normal; |
| + font-weight: 400; |
| + font-stretch: normal; |
| + src: local ("Ø"), |
| + url(fonts/SourceSansPro-Regular.woff) format("woff"); |
| +} |
| + |
| +@font-face |
| +{ |
| + font-family: "Source Sans Pro"; |
| + font-style: bold; |
| + font-weight: 600; |
| + font-stretch: normal; |
| + src: local ("Ø"), |
| + url(fonts/SourceSansPro-bold.woff) format("woff"); |
| +} |
| + |
| +html |
| +{ |
| + font-family: "Source Sans Pro", Helvetica, Arial, sans-serif; |
| +} |
| + |
| +body |
| +{ |
| + margin: 0; |
| + padding: 0; |
| +} |
| + |
| +#container |
| +{ |
| + display: flex; |
| + flex-direction: row; |
| + align-items: stretch; |
| +} |
| + |
| +@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.
|
| +{ |
| + #container |
| + { |
| + flex-direction: column; |
| + } |
| +} |
| + |
| +.column |
| +{ |
| + height: 100vh; |
| + display: flex; |
| + align-items: center; |
| + justify-content: center; |
| + flex: 1; |
| +} |
| + |
| +#graphic-column |
| +{ |
| + 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.
|
| + |
| +} |
| + |
| +.graphic-column |
| +{ |
| + background: #8DC446; |
| +} |
| + |
| +#content |
| +{ |
| + padding: 0 3em; |
| + max-width: 760px; |
| +} |
| + |
| +#content a { |
| + color: #C70D2C; |
| + text-decoration: none; |
| +} |
| + |
| +#content a:hover { |
| + text-decoration: underline; |
| +} |
| + |
| +#content header |
| +{ |
| + 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.
|
| +} |
| + |
| +#content header p { |
| + margin: 0; |
| + 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.
|
| + 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.
|
| + font-size: 1.2em; |
| +} |
| + |
| +#content header h1 |
| +{ |
| + margin: 0; |
| +} |
| + |
| +.custom-feature-entry |
| +{ |
| + margin-top: 2em; |
| +} |
| + |
| +.custom-feature-entry h2 { |
| + margin: 0 0 0 3.4em; |
| +} |
| + |
| +.update-graphic-container |
| +{ |
| + width: 560px; |
| + height: 460px; |
| + 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.
|
| + position: relative; |
| + display: flex; |
| + align-items: center; |
| + background-repeat: no-repeat; |
| + background-size: cover; |
| +} |
| + |
| +.update-graphic-container img |
| +{ |
| + display: block; |
| + width: 162px; |
| + height: 162px; |
| +} |
| + |
| +.update-graphic-content |
| +{ |
| + position: absolute; |
| + top: 65px; |
| + 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
|
| + display: flex; |
| + align-items: center; |
| +} |
| + |
| +.version-details |
| +{ |
| + margin: 0 0 0 1em; |
| +} |
| + |
| +.version-details h2 |
| +{ |
| + margin: 0; |
| +} |
| + |
| +.version-details span |
| +{ |
| + color: #bebebe; |
| +} |
| + |
| +.feature-entry |
| +{ |
| + display: flex; |
| + align-items: center; |
| + padding: 0 1em; |
| +} |
| + |
| +.feature-entry img |
| +{ |
| + width: 50px; |
| + height: 50px; |
| + display: block; |
| + 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.
|
| +} |
| + |
| +.store-buttons |
| +{ |
| + width: 100%; |
| + hegiht: 58px; |
|
Thomas Greiner
2017/11/03 17:40:01
Typo: Replace "hegiht" with "height"
martin
2017/11/06 16:05:43
Done.
|
| + 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.
|
| +} |
| + |
| +.store-button |
| +{ |
| + display: block; |
| + width: 180px; |
| + height: 58px; |
| + border-radius: 6px; |
| + background: #000; |
| + 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.
|
| + margin-bottom: 1em; |
| +} |
| + |
| +.store-button > img |
| +{ |
| + height: 54px; |
| +} |
| + |
| +.applestore-button |
| +{ |
| + margin-right: 1em; |
| +} |
| + |
| +[dir="rtl"] .appstore-button |
| +{ |
| + margin-right: 0; |
| + margin-left: 1em; |
| +} |