mirror of https://github.com/BOINC/boinc.git
Standardized style of user of the day and volunteer info on home page
(DBOINCP-110)
This commit is contained in:
parent
20359124f7
commit
c200d47a5c
|
@ -1197,9 +1197,9 @@ function boincuser_home_page() {
|
|||
$output .= ' <div class="volunteers">';
|
||||
$output .= ' <div class="text">' . bts('Over 500,000 volunteers and counting.') . '</div>';
|
||||
$output .= ' <div class="platforms">';
|
||||
$output .= ' <div class="platform windows">' . bts('Windows') . '</div>';
|
||||
$output .= ' <div class="platform mac">' . bts('Mac') . '</div>';
|
||||
$output .= ' <div class="platform linux">' . bts('Linux') . '</div>';
|
||||
$output .= ' <div class="detail platform windows">' . bts('Windows') . '</div>';
|
||||
$output .= ' <div class="detail platform mac">' . bts('Mac') . '</div>';
|
||||
$output .= ' <div class="detail platform linux">' . bts('Linux') . '</div>';
|
||||
$output .= ' </div>';
|
||||
$output .= ' </div>';
|
||||
$output .= ' </div>';
|
||||
|
|
|
@ -64,6 +64,14 @@
|
|||
position: absolute;
|
||||
bottom: 0;
|
||||
}
|
||||
.boinc-overview-details .detail {
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
color: #00aeef;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 1px;
|
||||
padding: 5px;
|
||||
}
|
||||
.boinc-overview-details .user-of-the-day {
|
||||
display: block;
|
||||
float: left;
|
||||
|
@ -76,9 +84,7 @@
|
|||
.boinc-overview-details .user-of-the-day .text,
|
||||
.boinc-overview-details .user-of-the-day .detail {
|
||||
margin-left: 60px;
|
||||
}
|
||||
.boinc-overview-details .user-of-the-day .detail {
|
||||
margin-top: 5px;
|
||||
max-width: 135px;
|
||||
}
|
||||
.boinc-overview-details .user-of-the-day .picture {
|
||||
float: left;
|
||||
|
@ -108,14 +114,8 @@
|
|||
}
|
||||
.boinc-overview-details .platform {
|
||||
float: left;
|
||||
}
|
||||
.platform {
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
color: #faa341;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 1px;
|
||||
padding: 5px 16px 5px 30px;
|
||||
padding-left: 30px;
|
||||
padding-right: 16px;
|
||||
}
|
||||
.platform.linux {
|
||||
background: url(../images/icon-linux.png) no-repeat top left;
|
||||
|
|
Loading…
Reference in New Issue