summaryrefslogtreecommitdiffstats
path: root/assets/css/scopes
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2022-06-16 22:51:12 +0200
committerVolpeon <git@volpeon.ink>2022-06-16 22:51:12 +0200
commit8c0706051eb7529429a7782de54af793ad6f0946 (patch)
tree66050ddb000d39b681e1cd5a8428159c18f2af66 /assets/css/scopes
parentFix metadata (diff)
downloadvolpeon.ink-8c0706051eb7529429a7782de54af793ad6f0946.tar.gz
volpeon.ink-8c0706051eb7529429a7782de54af793ad6f0946.tar.bz2
volpeon.ink-8c0706051eb7529429a7782de54af793ad6f0946.zip
Added alert component, added image description post from fedi
Diffstat (limited to 'assets/css/scopes')
-rw-r--r--assets/css/scopes/_alerts.scss14
1 files changed, 14 insertions, 0 deletions
diff --git a/assets/css/scopes/_alerts.scss b/assets/css/scopes/_alerts.scss
new file mode 100644
index 0000000..a5b0987
--- /dev/null
+++ b/assets/css/scopes/_alerts.scss
@@ -0,0 +1,14 @@
1@use 'iro-sass/src/index' as iro;
2@use 'iro-design/src/functions' as fn;
3
4@include iro.props-namespace('alerts') {
5 @include iro.bem-scope(iro.props-namespace()) {
6 @include iro.bem-elem('alert') {
7 margin-top: fn.global-dim(--paragraph --margin-top);
8
9 > :first-child {
10 margin-top: 0;
11 }
12 }
13 }
14}