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