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

@ -7,24 +7,21 @@ block content
.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
span.text-primary #{daysRunning} 
| days ago | days ago
tr li
td Population:    span.tag Population:	
td span.text-primary #{camperCount}
span.text-primary #{camperCount} 
| campers | campers
tr li
td Completed:    span.tag Completed:	
td span.text-primary #{globalCompletedCount}
span.text-primary #{globalCompletedCount} 
| challenges | challenges
.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 Free Code Camp around the web: h2 Free Code Camp around the web: