1
0
mirror of https://github.com/djohnlewis/stackdump synced 2025-12-06 16:03:27 +00:00

Started implementing the search results view.

This commit is contained in:
Samuel Lai
2011-11-06 17:20:11 +11:00
parent f8a6e7c455
commit 098a4f2fa9
4 changed files with 194 additions and 10 deletions

View File

@@ -52,36 +52,91 @@
padding-right: 60px;
}
.available-sites-container {
.site-list-container {
margin-top: 40px;
}
.available-sites {
.site-list {
list-style-image: none;
list-style-type: none;
margin-left: 0;
}
.available-sites li {
.site-list li {
clear: both;
margin-bottom: 16px;
}
.available-sites img {
.site-list img {
float: left;
margin-right: 7px;
}
.available-sites h6 {
.site-list h6 {
padding-top: 7px;
line-height: normal;
margin-left: 55px; /* 48px for the logo, 7px for the padding */
}
.available-sites .tagline {
.site-list .tagline {
padding-top: 3px;
}
.total-hits {
color: #999999;
margin-top: 10px;
}
.total-hits p {
font-size: 16pt;
line-height: 20pt;
}
.stat-value {
font-size: 36pt;
font-weight: bold;
}
#search-results {
list-style-image: none;
list-style-type: none;
margin-left: 0;
}
#search-results li {
clear: both;
border-top: 1px solid #CCCCCC;
}
.post-stats-vertical {
float: left;
width: 64px;
}
.post-stat {
text-align: center;
background-color: #CCCCCC;
margin-bottom: 2px;
padding: 4px 3px;
}
.post-stat p {
margin-bottom: 0;
}
.post-stat-value {
font-weight: bold;
font-size: 16pt;
}
.post-summary {
padding-left: 72px; /* 64px for post-stats-vertical + 8px for padding */
}
.post-details {
float: right;
}
#footer {
margin-top: 50px;
border-top: solid 1px #999999;