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

github.com/chipzoller/hugo-clarity.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorIvan Boothe <ivan@rootwork.org>2021-08-27 01:46:15 +0300
committerIvan Boothe <ivan@rootwork.org>2021-08-29 04:13:29 +0300
commitd6f1ac56f9fe5543f80eea8be6bf56ba0ad48463 (patch)
treea508ec26cfeb37bfad19bba5ac1fbceb93e686a2 /assets
parent3d37c3f77ff33ff21813f5fd0cc658a65263e797 (diff)
Updating Sass for featured images
Signed-off-by: Ivan Boothe <ivan@rootwork.org>
Diffstat (limited to 'assets')
-rw-r--r--assets/sass/_components.sass23
1 files changed, 12 insertions, 11 deletions
diff --git a/assets/sass/_components.sass b/assets/sass/_components.sass
index a90c7ad..b3c7727 100644
--- a/assets/sass/_components.sass
+++ b/assets/sass/_components.sass
@@ -263,6 +263,9 @@
&_date
margin-right: 0.5rem
margin-left: 0.25rem
+ &_featured
+ display: block
+ margin: 1rem auto
&_content
a
color: $theme
@@ -428,12 +431,12 @@
min-height: 10rem
display: none
@media screen and (min-width: $mobile-menu-breakpoint)
- display: block
+ display: block
border-radius: 0.5rem
&_footer
&.partition
display: grid
- @media screen and (min-width: $mobile-menu-breakpoint)
+ @media screen and (min-width: $mobile-menu-breakpoint)
grid-template-columns: 2fr 7fr
grid-gap: 1rem
.sidebar
@@ -492,7 +495,7 @@
&_left
float: left
margin-right: 1rem
- + p
+ + p
padding-top: 0
&_right
float: right
@@ -542,8 +545,8 @@ figcaption
&:hover svg
opacity: 1
-.color
- &_mode
+.color
+ &_mode
// width: 3rem
height: 1.5rem
display: grid
@@ -606,9 +609,7 @@ figcaption
cursor: pointer
transition: transform 0.3s var(--ease)
&_featured
- display: block
- margin-left: auto !important
- margin-right: auto !important
+ margin: 0
.video
overflow: hidden
@@ -635,9 +636,9 @@ figcaption
margin: 2rem 0
padding-bottom: .1px
padding-left: 1rem
- padding-right: 1rem
+ padding-right: 1rem
.label
- color: #fff
+ color: #fff
margin-top: -1.75rem
font-weight: bold
&::first-child::before
@@ -657,4 +658,4 @@ figcaption
border-color: var(--notice-tip-border-color)
background: var(--notice-tip-background)
.highlight_wrap
- background: var(--notice-code-bg) !important \ No newline at end of file
+ background: var(--notice-code-bg) !important