hexo-theme-stellar/source/css/_common/base.styl

58 lines
860 B
Stylus
Raw Normal View History

2021-03-05 21:37:28 +08:00
pre
font-family: $ff-code
font-size: $fs-code
tab-size: 4
-moz-tab-size: 4
-o-tab-size: 4
-webkit-tab-size: 4
a
text-decoration: none
2022-11-04 23:13:01 +08:00
color: var(--theme-link)
2021-03-05 21:37:28 +08:00
&:hover
color: $color-hover
2022-11-23 22:44:11 +08:00
.md-text p:not([class])
2022-10-25 10:07:53 +08:00
text-align: convert(hexo-config('style.text-align'))
2021-03-05 21:37:28 +08:00
hr
color: var(--text-meta)
opacity: .1
img
max-width: 100%
li
font-size: $fs-15
ul,ol
padding-left: 1.5rem
// table
table:not([class])
border-collapse: collapse
overflow: auto
display: block
margin: 1rem 0
max-width: 100%
vertical-align: text-top
font-size: $fs-14
th
background: var(--block)
td,th
padding: 0.5em 1em
2021-03-08 17:54:23 +08:00
border: 1px solid var(--block-hover)
2021-03-05 21:37:28 +08:00
line-height: 1.5
tr
word-break: keep-all
white-space:nowrap
trans()
&:hover
background: var(--block)
2022-10-15 00:28:26 +08:00
*[ff=title]
font-family: $ff-logo