mirror of
https://github.com/djohnlewis/stackdump
synced 2025-12-06 16:03:27 +00:00
Implemented site-specific search.
Added site logos to searches across all sites for easier identification. Added hints to make it more obvious which site you are searching. Minor CSS tweaks.
This commit is contained in:
@@ -105,13 +105,13 @@
|
||||
|
||||
#search-results li {
|
||||
clear: both;
|
||||
border-top: 1px solid #CCCCCC;
|
||||
border-bottom: 1px solid #CCCCCC;
|
||||
margin-bottom: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
#search-results li:hover {
|
||||
background-color: #F2F2F2;
|
||||
background-color: #FAFAFA;
|
||||
}
|
||||
|
||||
#search-results li .clearfix {
|
||||
@@ -119,6 +119,15 @@
|
||||
height: 0;
|
||||
}
|
||||
|
||||
#search-results li:last-child {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.post-logo {
|
||||
float: left;
|
||||
width: 48px;
|
||||
}
|
||||
|
||||
.post-stats-vertical {
|
||||
float: left;
|
||||
width: 64px;
|
||||
@@ -149,6 +158,10 @@
|
||||
padding-left: 72px; /* 64px for post-stats-vertical + 8px for padding */
|
||||
}
|
||||
|
||||
.post-summary-with-logo {
|
||||
padding-left: 120px; /* 48px for post-logo + 64px for post-stats-vertical + 8px for padding */
|
||||
}
|
||||
|
||||
.post-summary h3 {
|
||||
line-height: normal;
|
||||
padding: 7px 0;
|
||||
|
||||
Reference in New Issue
Block a user