Merge pull request #6548 from hallaathrad/change/about-page

Change space in population table
This commit is contained in:
Quincy Larson
2016-01-28 17:04:59 -08:00
2 changed files with 35 additions and 19 deletions

View File

@ -770,8 +770,27 @@ iframe.iphone {
} }
.population-table { .population-table {
font-size:30px;
width:460px;
margin:0 auto;
padding:0;
h2 {
margin:0;
text-align: left;
}
.tag {
width:165px;
display:inline-block;
}
.text-primary {
margin-right:5px;
}
@media (max-width: 767px) { @media (max-width: 767px) {
font-size: 16px; font-size: 16px;
width: 260px;
.tag {
width:95px;
}
} }
} }

View File

@ -6,25 +6,22 @@ block content
| who learn to code and help nonprofits. | who learn to code and help nonprofits.
.spacer .spacer
.row .row
.col-xs-12.col-sm-10.col-sm-offset-1.col-md-6.col-md-offset-3 .col-xs-12.col-sm-10.col-sm-offset-1.col-md-6.col-md-offset-3
h2 ul.population-table
table.population-table.img-center li
tr span.tag Established:	
td Established:  span.text-primary #{daysRunning}
td | days ago
span.text-primary #{daysRunning}  li
| days ago span.tag Population:	
tr span.text-primary #{camperCount}
td Population:    | campers
td li
span.text-primary #{camperCount}  span.tag Completed:	
| campers span.text-primary #{globalCompletedCount}
tr | challenges
td Completed:   
td .spacer
span.text-primary #{globalCompletedCount} 
| challenges
.row .row
.col-xs-12.col-sm-10.col-sm-offset-1.col-md-6.col-md-offset-3 .col-xs-12.col-sm-10.col-sm-offset-1.col-md-6.col-md-offset-3
h2 Free Code Camp around the web: h2 Free Code Camp around the web: