mirror of
https://github.com/djohnlewis/stackdump
synced 2024-12-04 23:17:37 +00:00
Improved styling of results page with :hover, links and more spacing.
This commit is contained in:
parent
90e46dfacf
commit
96cb924c52
@ -106,6 +106,17 @@
|
||||
#search-results li {
|
||||
clear: both;
|
||||
border-top: 1px solid #CCCCCC;
|
||||
margin-bottom: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
#search-results li:hover {
|
||||
background-color: #F2F2F2;
|
||||
}
|
||||
|
||||
#search-results li .clearfix {
|
||||
clear: both;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
.post-stats-vertical {
|
||||
@ -127,6 +138,7 @@
|
||||
.post-stat-value {
|
||||
font-weight: bold;
|
||||
font-size: 16pt;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
.post-summary {
|
||||
|
@ -34,7 +34,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="post-summary">
|
||||
<h3>{{ r.question.title }}</h3>
|
||||
<h3><a href="#">{{ r.question.title }}</a></h3>
|
||||
<p>{{ r.question.body|striptags|truncate(256) }}</p>
|
||||
<p class="post-details">
|
||||
Asked by <strong>{{ r.question.ownerUserId }}</strong> on
|
||||
@ -46,6 +46,8 @@
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
{# hack to force a clear on all internal elements #}
|
||||
<div class="clearfix"></div>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
Loading…
Reference in New Issue
Block a user