| Left: | ||
| Right: |
| OLD | NEW |
|---|---|
| 1 #content h1, #content h2 | 1 #content h1, #content h2 |
| 2 { | 2 { |
| 3 font-size: 16px; | 3 font-size: 16px; |
| 4 } | 4 } |
| 5 | 5 |
| 6 #content .sprite | 6 #content .sprite |
| 7 { | 7 { |
| 8 background-image: url(../img/sprite-index.png); | 8 background-image: url(../img/sprite-index.png); |
| 9 } | 9 } |
| 10 | 10 |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 57 { | 57 { |
| 58 display: block; | 58 display: block; |
| 59 } | 59 } |
| 60 | 60 |
| 61 #content.ua-android #adblock-browser-notification, | 61 #content.ua-android #adblock-browser-notification, |
| 62 #content.ua-ios #adblock-browser-notification | 62 #content.ua-ios #adblock-browser-notification |
| 63 { | 63 { |
| 64 display: none; | 64 display: none; |
| 65 } | 65 } |
| 66 | 66 |
| 67 #main, #video | 67 #main, #video-container |
| 68 { | 68 { |
| 69 display: inline-block; | 69 display: inline-block; |
| 70 vertical-align: top; /* Fix for https://bugzil.la/1320660 */ | 70 vertical-align: top; /* Fix for https://bugzil.la/1320660 */ |
| 71 } | 71 } |
| 72 | 72 |
| 73 #video, #maxthon-instruction, #edge-teaser | 73 #video-container, #maxthon-instruction, #edge-teaser |
| 74 { | 74 { |
| 75 background: #ffffff; | 75 background: #ffffff; |
| 76 padding: 10px; | 76 padding: 10px; |
| 77 border: 1px solid #c9c9c9; | 77 border: 1px solid #c9c9c9; |
| 78 box-shadow: 1px 1px 0 0 #dbdbdb; | 78 box-shadow: 1px 1px 0 0 #dbdbdb; |
| 79 } | 79 } |
| 80 | 80 |
| 81 #maxthon-instruction, | 81 #maxthon-instruction, |
| 82 html[lang^="zh_"] #content.maxthon #video, | 82 html[lang^="zh_"] #content.maxthon #video, |
| 83 #content.maxthon #feature-free, | 83 #content.maxthon #feature-free, |
| 84 #content.maxthon #terms-message, | 84 #content.maxthon #terms-message, |
| 85 #feature-maxthon | 85 #feature-maxthon |
| 86 { | 86 { |
| 87 display: none; | 87 display: none; |
| 88 } | 88 } |
| 89 | 89 |
| 90 #video-container | |
| 91 { | |
| 92 position: relative; | |
| 93 box-sizing: border-box; | |
| 94 width: 100%; | |
| 95 max-width: 520px; | |
| 96 } | |
| 97 | |
| 98 #video | |
| 99 { | |
| 100 display: block; | |
| 101 position: relative; | |
|
juliandoucette
2017/10/13 12:20:11
NIT: I don't think that this does anything?
ire
2017/10/16 08:28:01
The #video-play icon is positioned absolutely in t
juliandoucette
2017/10/16 12:22:01
Acknowledged.
| |
| 102 width: 100%; | |
|
juliandoucette
2017/10/13 12:20:11
NIT: I don't think that this does anything?
ire
2017/10/16 08:28:00
It keeps the <iframe id="video"> from extending ou
juliandoucette
2017/10/16 12:22:01
Acknowledged.
| |
| 103 } | |
| 104 | |
| 105 #video-thumbnail | |
| 106 { | |
| 107 width: 100%; | |
| 108 transition: opacity 0.8s; | |
| 109 } | |
| 110 | |
| 111 .no-js #video-thumbnail, | |
| 112 .show-disclaimer #video-thumbnail | |
| 113 { | |
| 114 opacity: 0.2; | |
| 115 } | |
| 116 | |
| 117 #video-disclaimer | |
| 118 { | |
| 119 visibility: hidden; | |
| 120 opacity: 0; | |
| 121 position: absolute; | |
| 122 bottom: 0; | |
| 123 left: 0; | |
| 124 box-sizing: border-box; | |
|
juliandoucette
2017/10/13 12:20:11
NIT: I don't think that this does anything?
ire
2017/10/16 08:28:00
Done.
| |
| 125 margin: 20px; | |
| 126 background-color: #fff; | |
| 127 font-size: 0.9em; | |
| 128 text-align: center; | |
| 129 transition: opacity 0.8s; | |
| 130 } | |
| 131 | |
| 132 .no-js #video-disclaimer, | |
| 133 .show-disclaimer #video-disclaimer | |
| 134 { | |
| 135 visibility: visible; | |
| 136 opacity: 1; | |
| 137 } | |
| 138 | |
| 139 #video-play | |
|
juliandoucette
2017/10/13 12:20:11
NIT/Suggest: Move this up a little bit on desktop
ire
2017/10/16 08:28:00
Done.
| |
| 140 { | |
| 141 position: absolute; | |
| 142 top: 50%; | |
| 143 left: 50%; | |
| 144 width: 100px; | |
|
juliandoucette
2017/10/13 12:20:11
NIT: I think that this is too big?
ire
2017/10/16 08:28:00
I'll change it to 80px so it'll be the same on mob
ire
2017/10/16 08:28:00
Done.
| |
| 145 margin-top: -50px; | |
| 146 margin-left: -50px; | |
| 147 } | |
| 148 | |
| 90 html[lang^="zh_"] #content.maxthon #maxthon-instruction | 149 html[lang^="zh_"] #content.maxthon #maxthon-instruction |
| 91 { | 150 { |
| 92 display: inline-block; | 151 display: inline-block; |
| 93 padding: 0px; | 152 padding: 0px; |
| 94 } | 153 } |
| 95 | 154 |
| 96 #content.maxthon #feature-maxthon | 155 #content.maxthon #feature-maxthon |
| 97 { | 156 { |
| 98 display: inline-block; | 157 display: inline-block; |
| 99 } | 158 } |
| (...skipping 598 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 698 line-height: 1.4; | 757 line-height: 1.4; |
| 699 color: #000; | 758 color: #000; |
| 700 background-color: #fff; | 759 background-color: #fff; |
| 701 border: 2px solid #a1a1a1; | 760 border: 2px solid #a1a1a1; |
| 702 } | 761 } |
| 703 | 762 |
| 704 #ready-for-windows-notice | 763 #ready-for-windows-notice |
| 705 { | 764 { |
| 706 margin-bottom: 30px; | 765 margin-bottom: 30px; |
| 707 } | 766 } |
| OLD | NEW |