misskey/src/client/style.styl

46 lines
716 B
Stylus
Raw Normal View History

2017-12-14 16:24:41 +09:00
@charset 'utf-8'
/*
::selection
2018-09-26 20:19:35 +09:00
background var(--primary)
2017-12-14 16:24:41 +09:00
color #fff
*/
*
position relative
box-sizing border-box
background-clip padding-box !important
2018-02-23 23:30:30 +09:00
tap-highlight-color transparent
-webkit-tap-highlight-color transparent
2017-12-14 16:24:41 +09:00
html, body
margin 0
padding 0
scroll-behavior smooth
text-size-adjust 100%
font-family sans-serif
html.change-theme
&, *
transition-property all
transition-duration 0.5s
transition-timing-function ease
2017-12-14 16:24:41 +09:00
a
text-decoration none
2018-12-31 02:33:03 +09:00
color var(--link)
2017-12-14 16:24:41 +09:00
cursor pointer
&:hover
text-decoration underline
*
cursor pointer
2018-09-26 20:19:35 +09:00
@css {
a {
2018-12-31 02:33:03 +09:00
tap-highlight-color: var(--linkTapHighlight) !important;
-webkit-tap-highlight-color: var(--linkTapHighlight) !important;
2018-09-26 20:19:35 +09:00
}
}