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

github.com/xianmin/hugo-theme-jane.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'assets/sass/_partial/_post/content/_image.scss')
-rw-r--r--assets/sass/_partial/_post/content/_image.scss49
1 files changed, 49 insertions, 0 deletions
diff --git a/assets/sass/_partial/_post/content/_image.scss b/assets/sass/_partial/_post/content/_image.scss
new file mode 100644
index 0000000..bb9b681
--- /dev/null
+++ b/assets/sass/_partial/_post/content/_image.scss
@@ -0,0 +1,49 @@
+// ==============================
+// Post image
+// ==============================
+
+p>img {
+ cursor: pointer;
+}
+
+figure {
+ a:hover {
+ border: 0;
+ }
+
+ &.center {
+ clear: both;
+ display: block;
+ margin-left: auto;
+ margin-right: auto;
+ }
+
+ &.right {
+ float: right;
+ margin-left: 1.5em;
+ }
+
+ &.left {
+ float: left;
+ margin-right: 1.5em;
+ }
+
+ figcaption {
+ margin-top: 0.5em;
+ text-align: center;
+ line-height: 1.5em;
+
+ h4 {
+ color: #b5b5b5;
+ // font-size: 0.9em;
+ margin: 0;
+ }
+
+ p {
+ font-size: 0.9em;
+ color: #b5b5b5;
+ font-style: italic;
+ margin: 0;
+ }
+ }
+}