Commit eb53ac4204d3bc4af25528c5d3a3c0985b45a010

Authored by Melissa Wen
1 parent 6961604a

Fix categories cloud alignments

Showing 1 changed file with 19 additions and 19 deletions   Show diff stats
css/software-pages.css
@@ -175,11 +175,12 @@ @@ -175,11 +175,12 @@
175 175
176 /*** Categories and Tags block ***/ 176 /*** Categories and Tags block ***/
177 177
178 -#content .box-1 .categories-and-tags-block { 178 +#content .box-1 .categories-and-tags-block{
179 border-top: 4px solid #2C4B6B; 179 border-top: 4px solid #2C4B6B;
180 } 180 }
181 181
182 -#content .box-1 .categories-and-tags-block .block-title { 182 +#content .box-1 .categories-and-tags-block .block-title{
  183 + display: inline-flex;
183 margin: 13px 10px 10px 0; 184 margin: 13px 10px 10px 0;
184 padding: 3px 0px; 185 padding: 3px 0px;
185 background: none; 186 background: none;
@@ -187,19 +188,18 @@ @@ -187,19 +188,18 @@
187 font-family: Arial; 188 font-family: Arial;
188 font-size: 12px; 189 font-size: 12px;
189 font-weight: 300; 190 font-weight: 300;
190 - float: left;  
191 } 191 }
192 192
193 -#content .box-1 .categories-and-tags-block .category_cloud { 193 +#content .box-1 .categories-and-tags-block .category_cloud{
  194 + display: inline-flex;
194 margin: 13px 0 10px 0; 195 margin: 13px 0 10px 0;
195 - float: left;  
196 max-width: 87%; 196 max-width: 87%;
197 } 197 }
198 198
199 -#content .box-1 .categories-and-tags-block .category_cloud a { 199 +#content .box-1 .categories-and-tags-block .category_cloud a{
  200 + display: inline-block;
200 padding: 3px 10px; 201 padding: 3px 10px;
201 margin: 5px; 202 margin: 5px;
202 - float: left;  
203 color: #3E67B1; 203 color: #3E67B1;
204 background-color: #ECEDF1; 204 background-color: #ECEDF1;
205 border: 1px solid #D3D6DE; 205 border: 1px solid #D3D6DE;
@@ -207,13 +207,13 @@ @@ -207,13 +207,13 @@
207 font-size: 12px; 207 font-size: 12px;
208 } 208 }
209 209
210 -#content .box-1 .categories-and-tags-block .category_cloud a:hover { 210 +#content .box-1 .categories-and-tags-block .category_cloud a:hover{
211 border-color: #3a70d1; 211 border-color: #3a70d1;
212 background: #3a70d1; 212 background: #3a70d1;
213 color: white; 213 color: white;
214 } 214 }
215 215
216 -#content .box-1 .categories-and-tags-block .category_cloud a:link { 216 +#content .box-1 .categories-and-tags-block .category_cloud a:link{
217 text-decoration: none; 217 text-decoration: none;
218 } 218 }
219 219
@@ -224,21 +224,21 @@ @@ -224,21 +224,21 @@
224 /*** WARNING - WHITOUT BOX-4 ***/ 224 /*** WARNING - WHITOUT BOX-4 ***/
225 225
226 /* Link-list block */ 226 /* Link-list block */
227 -.template-default #content .box-3 .block-title { 227 +.template-default #content .box-3 .block-title{
228 border-top: 4px solid #4562b1; 228 border-top: 4px solid #4562b1;
229 line-height: 15px; 229 line-height: 15px;
230 background: #eee; 230 background: #eee;
231 color: #4562b1; 231 color: #4562b1;
232 } 232 }
233 233
234 -.template-default #content .box-3 .link-list-block li { 234 +.template-default #content .box-3 .link-list-block li{
235 margin: 0px; 235 margin: 0px;
236 padding: 0px; 236 padding: 0px;
237 border-bottom: 1px solid #ddd; 237 border-bottom: 1px solid #ddd;
238 border-top: none; 238 border-top: none;
239 } 239 }
240 240
241 -.template-default #content .box-3 .link-list-block li a { 241 +.template-default #content .box-3 .link-list-block li a{
242 border-right: none; 242 border-right: none;
243 border-top: 0px solid #64946E; 243 border-top: 0px solid #64946E;
244 border-radius: 0px 0px 0px 0px; 244 border-radius: 0px 0px 0px 0px;
@@ -252,21 +252,21 @@ @@ -252,21 +252,21 @@
252 font-size: 14px; 252 font-size: 14px;
253 } 253 }
254 254
255 -.template-default #content .box-3 .link-list-block h3.empty + ul { 255 +.template-default #content .box-3 .link-list-block h3.empty + ul{
256 border-top: 1px solid #ddd; 256 border-top: 1px solid #ddd;
257 } 257 }
258 258
259 .template-default #content .box-3 .link-list-block li a.link-this-page, 259 .template-default #content .box-3 .link-list-block li a.link-this-page,
260 -.template-default #content .box-3 .link-list-block li a.link-this-page:hover { 260 +.template-default #content .box-3 .link-list-block li a.link-this-page:hover{
261 border-right: none; 261 border-right: none;
262 } 262 }
263 263
264 -.template-default #content .box-3 .link-list-block li a:hover { 264 +.template-default #content .box-3 .link-list-block li a:hover{
265 background-color: #FFFFFF; 265 background-color: #FFFFFF;
266 color: #000; 266 color: #000;
267 } 267 }
268 268
269 -.template-default #content .box-3 .link-list-block li a.link-this-page { 269 +.template-default #content .box-3 .link-list-block li a.link-this-page{
270 margin-left: 0px; 270 margin-left: 0px;
271 width: auto; 271 width: auto;
272 background-color: #ffffff; 272 background-color: #ffffff;
@@ -276,7 +276,7 @@ @@ -276,7 +276,7 @@
276 /* Repository block */ 276 /* Repository block */
277 .template-default .box-3 #bt_repositorio, 277 .template-default .box-3 #bt_repositorio,
278 .template-default .box-3 #bt_repositorio:active, 278 .template-default .box-3 #bt_repositorio:active,
279 -.template-default .box-3 #bt_repositorio:visited { 279 +.template-default .box-3 #bt_repositorio:visited{
280 border-radius: 4px; 280 border-radius: 4px;
281 padding: 12px 10px; 281 padding: 12px 10px;
282 background: #EAEBEE; 282 background: #EAEBEE;
@@ -286,7 +286,7 @@ @@ -286,7 +286,7 @@
286 position: relative; 286 position: relative;
287 } 287 }
288 288
289 -.template-default .box-3 #bt_repositorio::after { 289 +.template-default .box-3 #bt_repositorio::after{
290 margin-top: -2px; 290 margin-top: -2px;
291 padding: 4px 0px 4px 2px; 291 padding: 4px 0px 4px 2px;
292 border-radius: 4px; 292 border-radius: 4px;
@@ -301,7 +301,7 @@ @@ -301,7 +301,7 @@
301 content: url('../images/right-arrow.png'); 301 content: url('../images/right-arrow.png');
302 } 302 }
303 303
304 -.template-default .box-3 #content #bt_repositorio:hover { 304 +.template-default .box-3 #content #bt_repositorio:hover{
305 color: #FFF; 305 color: #FFF;
306 background: #2C66CE; 306 background: #2C66CE;
307 text-decoration: none; 307 text-decoration: none;