Left: | ||
Right: |
OLD | NEW |
---|---|
1 body | 1 body |
2 { | 2 { |
3 font-family: Arial, Helvetica, sans-serif; | 3 font-family: Arial, Helvetica, sans-serif; |
4 font-size: 20px; | 4 font-size: 20px; |
5 background: repeating-linear-gradient(0deg, #F8F6F5, #F6F4F2 50%, #FCFBF9); | 5 background: repeating-linear-gradient(0deg, #F8F6F5, #F6F4F2 50%, #FCFBF9); |
6 background: -webkit-repeating-linear-gradient(0deg, #F5F4F3, #FAF9F8 50%, #F5F 4F3); | 6 background: -webkit-repeating-linear-gradient(0deg, #F5F4F3, #FAF9F8 50%, #F5F 4F3); |
7 background-size: 5px 5px; | 7 background-size: 5px 5px; |
8 max-width: 800px; | 8 max-width: 800px; |
9 margin: auto; | 9 margin: auto; |
10 line-height: 1.5; | 10 line-height: 1.5; |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
107 .share-facebook | 107 .share-facebook |
108 { | 108 { |
109 background-image: url(/skin/facebook.png); | 109 background-image: url(/skin/facebook.png); |
110 } | 110 } |
111 | 111 |
112 .share-twitter | 112 .share-twitter |
113 { | 113 { |
114 background-image: url(/skin/twitter.png); | 114 background-image: url(/skin/twitter.png); |
115 } | 115 } |
116 | 116 |
117 .share-popup-glass-pane | |
118 { | |
119 position: absolute; | |
120 top: 0; | |
121 left: 0; | |
122 width: 100%; | |
123 height: 100%; | |
Wladimir Palant
2012/10/25 07:12:00
I think that percentage width/height are a bit pro
| |
124 background: rgba(0, 0, 0, 0.5); | |
125 display: none; | |
126 } | |
127 | |
128 .share-popup | |
129 { | |
130 width: 550px; | |
131 height: 550px; | |
Wladimir Palant
2012/10/25 07:12:00
A hardcoded size? Is it guaranteed to match pop-up
Felix Dahlke
2012/10/25 09:58:28
Too bad, seems like I can't use iframe.contentDocu
| |
132 border: none; | |
133 display: none; | |
134 } | |
135 | |
117 /* Adjust font size on smaller screens */ | 136 /* Adjust font size on smaller screens */ |
118 @media (max-height: 800px) | 137 @media (max-height: 800px) |
119 { | 138 { |
120 body | 139 body |
121 { | 140 { |
122 font-size: 19px; | 141 font-size: 19px; |
123 } | 142 } |
124 } | 143 } |
125 | 144 |
126 @media (max-height: 750px) | 145 @media (max-height: 750px) |
127 { | 146 { |
128 body | 147 body |
129 { | 148 { |
130 font-size: 17px; | 149 font-size: 17px; |
131 } | 150 } |
132 } | 151 } |
133 | 152 |
134 @media (max-height: 700px) | 153 @media (max-height: 700px) |
135 { | 154 { |
136 body | 155 body |
137 { | 156 { |
138 font-size: 16px; | 157 font-size: 16px; |
139 } | 158 } |
140 } | 159 } |
OLD | NEW |