summaryrefslogtreecommitdiff
path: root/src/web/style.styl
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-12-14 16:24:41 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-12-14 16:24:41 +0900
commit5166fc92b64af25946b9c5a55ee05cebca0d24fa (patch)
tree76f81e15699273bf2baa2dc3e237adc95a097183 /src/web/style.styl
parentMerge branch 'master' of https://github.com/syuilo/misskey (diff)
downloadmisskey-5166fc92b64af25946b9c5a55ee05cebca0d24fa.tar.gz
misskey-5166fc92b64af25946b9c5a55ee05cebca0d24fa.tar.bz2
misskey-5166fc92b64af25946b9c5a55ee05cebca0d24fa.zip
:pizza:
Diffstat (limited to 'src/web/style.styl')
-rw-r--r--src/web/style.styl38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/web/style.styl b/src/web/style.styl
new file mode 100644
index 0000000000..573df10d78
--- /dev/null
+++ b/src/web/style.styl
@@ -0,0 +1,38 @@
+json('../const.json')
+
+@charset 'utf-8'
+
+$theme-color = themeColor
+$theme-color-foreground = themeColorForeground
+
+/*
+ ::selection
+ background $theme-color
+ color #fff
+*/
+
+*
+ position relative
+ box-sizing border-box
+ background-clip padding-box !important
+ tap-highlight-color rgba($theme-color, 0.7)
+ -webkit-tap-highlight-color rgba($theme-color, 0.7)
+
+html, body
+ margin 0
+ padding 0
+ scroll-behavior smooth
+ text-size-adjust 100%
+ font-family sans-serif
+
+a
+ text-decoration none
+ color $theme-color
+ cursor pointer
+
+ &:hover
+ text-decoration underline
+
+ *
+ cursor pointer
+