File tree Expand file tree Collapse file tree 2 files changed +12
-33
lines changed Expand file tree Collapse file tree 2 files changed +12
-33
lines changed Original file line number Diff line number Diff line change @@ -337,35 +337,17 @@ div#sponsors > div {
337
337
}
338
338
339
339
div .communitySponsor {
340
+ font-family : "NevisBold" ;
341
+ font-weight : normal;
340
342
width : 318px ;
341
343
float : left;
342
- height : 150px ;
343
- border : solid 1px # 363636 ;
344
- margin-right : 20px ;
345
- margin-bottom : 20px ;
346
- padding : 10px ;
347
- }
348
- div .communitySponsor img {
349
- width : 48px ;
350
- height : 48px ;
351
- display : block;
352
- float : left;
353
- margin-right : 20px ;
354
- }
355
-
356
- div .communitySponsor > div {
357
- width : 250px ;
358
- float : left;
344
+ font-size : 24px ;
359
345
}
360
346
361
- div .communitySponsor h3 {
362
- line-height : 40px ;
363
- vertical-align : center;
364
- font-family : "NevisBold" ;
365
- font-weight : normal;
347
+ div .communitySponsor img {
348
+ vertical-align : middle;
366
349
}
367
350
368
- div .communitySponsor p {
369
- line-height : 20px ;
370
- font-size : 14px ;
351
+ div .communitySponsor a {
352
+ line-height : 60px ;
371
353
}
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ <h2>Community Sponsors</h2>
50
50
require_once('lib/Twitter.php');
51
51
52
52
// array of community_sponsors member Twitter handles
53
- $community_sponsors = array('croscon');
53
+ $community_sponsors = array('croscon', 'cakephp' );
54
54
55
55
// array of Twitter data for each community_sponsors member
56
56
$data['community_sponsors'] = array();
@@ -68,13 +68,10 @@ <h2>Community Sponsors</h2>
68
68
array_multisort($cnames, $data['community_sponsors']);
69
69
foreach ($data['community_sponsors'] as $person) {
70
70
?> < div class ="communitySponsor ">
71
- < img src ="<?php echo $person['profile_image_url'];?> ">
72
- < div >
73
- < h3 >
74
- < a href ="<?php echo $person['url'];?> "> < ?php echo $person['name'];?> </ a >
75
- </ h3 >
76
- < p > < ?php echo $person['description'];?> </ p >
77
- </ div >
71
+ < a href ="<?php echo $person['url'];?> ">
72
+ < img src ="<?php echo $person['profile_image_url'];?> ">
73
+ < ?php echo $person['name'];?>
74
+ </ a >
78
75
</ div >
79
76
< ?php
80
77
}
You can’t perform that action at this time.
0 commit comments