rudeshark.net/src/client/style.styl

46 lines
718 B
Stylus
Raw Normal View History

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