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