Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/yihui/hugo-xmag.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'static/css/style.css')
-rw-r--r--static/css/style.css8
1 files changed, 5 insertions, 3 deletions
diff --git a/static/css/style.css b/static/css/style.css
index 248b2b6..f63fc31 100644
--- a/static/css/style.css
+++ b/static/css/style.css
@@ -136,9 +136,11 @@ tr:nth-child(even) { background: #eee }
overflow: hidden;
margin: 5px 8px 5px 0;
box-shadow: 0 0 8px #666;
- display: flex;
- justify-content: center;
- align-items: center;
+}
+.thumbnail img {
+ width: 100%;
+ height: 100%;
+ object-fit: cover;
}
#TableOfContents, #TOC, .comments {
border: 1px solid #eee;