css: fix styling of selected post in parent/child box.

* On the post show page, in the parent/child box, change it so that
  currently selected post is more visible. Use a light blue outline
  around the current post instead of a dark semi-transparent border.

* Fix it so that there's less empty space around thumbnails in the
  parent/child box.
This commit is contained in:
evazion
2021-02-22 02:06:00 -06:00
parent 40712fb726
commit b9ea9d2f5a
3 changed files with 11 additions and 10 deletions

View File

@@ -37,10 +37,15 @@
article.post-preview {
width: auto;
border: none;
margin: 0;
padding: 5px 5px 10px;
max-width: 154px;
height: auto;
margin: 0.5rem 0.25rem;
padding: 0.25rem;
overflow: hidden;
vertical-align: top;
&.current-post {
outline: 3px solid var(--preview-selected-color);
}
img {
white-space: normal;