From e18efdd1b07e80494401a23f442a96199c4bd64c Mon Sep 17 00:00:00 2001
From: weru <fromweru@gmail.com>
Date: Wed, 10 Feb 2021 16:46:57 +0000
Subject: [PATCH] edit styles
---
assets/sass/_components.sass | 39 ++++++++++++++++++++++++++++++++++++++-
1 files changed, 38 insertions(+), 1 deletions(-)
diff --git a/assets/sass/_components.sass b/assets/sass/_components.sass
index e04a284..e653914 100644
--- a/assets/sass/_components.sass
+++ b/assets/sass/_components.sass
@@ -286,4 +286,41 @@
position: absolute
transform: translateY(-50%)
transition: transform 0.5s cubic-bezier(.19,1,.22,1)
- right: 3.5rem
\ No newline at end of file
+ right: 3.5rem
+
+.tip
+ padding: 1.5rem 1rem 1.5rem 1.5rem
+ margin: 1.5rem 0
+ border-left: 0.2rem solid var(--theme)
+ position: relative
+ background: var(--accent)
+ blockquote
+ padding: 0
+ margin: 0
+ border: none
+ &::before
+ display: none
+ p
+ &:first-child, ~ p
+ padding-top: 0
+ &:last-child
+ padding-bottom: 0
+ &_warning
+ --theme: var(--inline-color)
+ &_warning::before
+ transform: rotate(180deg)
+ &::before
+ content: ""
+ position: absolute
+ left: -0.875rem
+ top: 1.5rem
+ z-index: 3
+ padding: 0.75rem
+ transform-origin: 50% 50%
+ border-radius: 50%
+ background-color: var(--theme)
+ background-image: url(../icons/info.svg)
+ background-size: 25%
+ background-position: 50% 50%
+ background-repeat: no-repeat
+
--
Gitblit v1.10.0