summaryrefslogtreecommitdiff
path: root/src/web/app/init.styl
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2016-12-29 07:49:51 +0900
committersyuilo <syuilotan@yahoo.co.jp>2016-12-29 07:49:51 +0900
commitb3f42e62af698a67c2250533c437569559f1fdf9 (patch)
treecdf6937576e99cccf85e6fa3aa8860a1173c7cfb /src/web/app/init.styl
downloadmisskey-b3f42e62af698a67c2250533c437569559f1fdf9.tar.gz
misskey-b3f42e62af698a67c2250533c437569559f1fdf9.tar.bz2
misskey-b3f42e62af698a67c2250533c437569559f1fdf9.zip
Initial commit :four_leaf_clover:
Diffstat (limited to 'src/web/app/init.styl')
-rw-r--r--src/web/app/init.styl56
1 files changed, 56 insertions, 0 deletions
diff --git a/src/web/app/init.styl b/src/web/app/init.styl
new file mode 100644
index 0000000000..972997725d
--- /dev/null
+++ b/src/web/app/init.styl
@@ -0,0 +1,56 @@
+@charset 'utf-8'
+
+html
+ font-family sans-serif
+
+body > noscript > div
+ position fixed
+ z-index 32768
+ top 0
+ left 0
+ width 100%
+ height 100%
+ text-align center
+ background #fff
+
+ > p
+ display block
+ margin 32px
+ font-size 2em
+ color #555
+
+#init
+ position fixed
+ z-index 16384
+ top 0
+ left 0
+ width 100%
+ height 100%
+ text-align center
+ background #fff
+ cursor wait
+
+ > p
+ display block
+ user-select none
+ margin 32px
+ font-size 4em
+ color #555
+
+ > span
+ animation init 1.4s infinite ease-in-out both
+
+ &:nth-child(1)
+ animation-delay 0s
+
+ &:nth-child(2)
+ animation-delay 0.16s
+
+ &:nth-child(3)
+ animation-delay 0.32s
+
+ @keyframes init
+ 0%, 80%, 100%
+ opacity 1
+ 40%
+ opacity 0