docs_vue2/assets/styles/global.styl

42 lines
571 B
Stylus
Raw Normal View History

2021-07-19 17:29:41 +08:00
$primary = #0052cc
2020-08-13 11:47:56 +08:00
// only enable on Retina displays
@media screen and (min-resolution 2dppx)
html
-webkit-font-smoothing antialiased
-moz-osx-font-smoothing grayscale
*
*::before
*::after
box-sizing border-box
2021-07-19 17:29:41 +08:00
:root
--docsearch-primary-color $primary !important
--docsearch-searchbox-shadow inset 0 0 0 2px $primary !important
2020-08-13 11:47:56 +08:00
html
font-weight 400
color #333
scroll-behavior smooth
html
body
#__nuxt
#__layout
height 100%
body
margin-left 280px
2020-08-13 11:47:56 +08:00
button
input
font inherit
color inherit
a:focus
outline none
main
line-height 1.5