Added CSS rules to selected post

This commit is contained in:
Marcin Kurczewski 2014-09-20 10:55:39 +02:00
parent 37da38e929
commit a2587fb0d8
3 changed files with 20 additions and 7 deletions

3
TODO
View file

@ -3,10 +3,9 @@ first major release.
everything related to posts:
- post list
- add style for hovered and focused element
- fav count
- score
- comment tcount
- comment count
- fix broken thumbnails if no external software is installed
- single post view

View file

@ -56,6 +56,7 @@ hr {
.big-button:hover {
background: #f3f7f8;
color: #7a9 !important;
outline: 0;
}
#wait-cover {

View file

@ -16,11 +16,24 @@
justify-content: center;
}
#post-list li a {
#post-list .posts li a {
display: block;
margin: 0.4em;
border: 1px solid #999;
}
#post-list li img {
#post-list .posts li img {
display: block;
box-shadow: 0 0 0 1px #999;
}
#post-list .posts li a:focus,
#post-list .posts li a:hover {
background: #afe;
border-color: #5da;
box-shadow: 0 0 0 2px #5da;
outline: 0;
}
#post-list .posts li a:focus img,
#post-list .posts li a:hover img {
opacity: .9;
}