aboutsummaryrefslogtreecommitdiff
path: root/src/css/_partial/_post
diff options
context:
space:
mode:
authorKeith Mo <keith.mork@gmail.com>2018-06-01 00:06:14 +0800
committerolOwOlo <26087907+olOwOlo@users.noreply.github.com>2018-06-01 00:06:14 +0800
commit9033266c2f02e570658a9505c26b7a438030f664 (patch)
tree3b5dabd3e1d911e2b1541294ab67b89a09166f7b /src/css/_partial/_post
parente1781a29e6ab9e484899b3dad07db2ace261ff93 (diff)
feat(post): add out-of-date content warning (#68)
Diffstat (limited to 'src/css/_partial/_post')
-rw-r--r--src/css/_partial/_post/_outdated.scss25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/css/_partial/_post/_outdated.scss b/src/css/_partial/_post/_outdated.scss
new file mode 100644
index 0000000..be7b5ea
--- /dev/null
+++ b/src/css/_partial/_post/_outdated.scss
@@ -0,0 +1,25 @@
+.post-outdated {
+ .hint {
+ position: relative;
+ margin-top: 20px;
+ margin-bottom: 20px;
+ padding: 5px 10px;
+ border-left: 4px solid rgb(66, 172, 243);
+ background-color: rgb(239, 245, 255);
+ border-color: rgb(66, 172, 243);
+ }
+
+ .warn {
+ position: relative;
+ margin-top: 20px;
+ margin-bottom: 20px;
+ padding: 5px 10px;
+ border-left: 4px solid #f9cf63;
+ background-color: #ffffc0;
+ border-color: #f9cf63;
+ }
+}
+
+
+
+