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

github.com/samrobbins85/hugo-developer-portfolio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Robbins <samrobbinsgb@gmail.com>2020-06-24 21:22:18 +0300
committerSam Robbins <samrobbinsgb@gmail.com>2020-06-24 21:22:18 +0300
commit495954a5d6890127f7f653b9dc8e87c17c2ae022 (patch)
tree856b8406a7de956312a894199abcee3eb86d4e9a
parent6ab062aa7efc819a7d29257eb1cfe47c6ad71ffa (diff)
Improve image width and add drop shadows
-rw-r--r--layouts/_default/single.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index a5679f8..03569db 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -37,6 +37,19 @@
line-height: 1.2;
margin-top: 2rem;
}
+
+ img {
+ box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
+ display: block;
+ margin-left: auto;
+ margin-right: auto;
+ margin-bottom:30px;
+ }
+
+
+
+ @media only screen and (min-width: 960px) {
+ img{width:60%}}
</style>