hexo-theme-ayer/source-src/css/_partial/categories.styl

53 lines
1.2 KiB
Stylus
Raw Permalink Normal View History

2019-12-03 11:37:44 +00:00
// Categories
2020-05-28 15:13:00 +00:00
.categories-box
max-width 320px
2019-12-03 11:37:44 +00:00
margin-right -.5rem
margin-left -.5rem
2020-05-28 15:13:00 +00:00
border-left 1px solid #eee
span
padding-left: 5px;
color: #aaa;
font-size: 14px
ul li, ol li
list-unstyled()
margin: 15px 0;
padding-left: 15px;
padding-bottom: 12px;
font-size: 16px;
2020-01-13 12:58:07 +00:00
font-weight: 500;
word-wrap: break-word;
2020-05-28 15:13:00 +00:00
border-bottom: 1px solid #eee;
&:last-child
margin-bottom 0
border-bottom 0 solid #000
2020-01-18 14:13:43 +00:00
i
font-style normal
margin-left 10px
2020-02-11 05:05:04 +00:00
color: darken(water,45%)
2020-01-13 12:58:07 +00:00
a
display inline-block
vertical-align middle
text-decoration: none
color: body-color
2020-01-18 14:13:43 +00:00
&:hover
2020-05-28 15:13:00 +00:00
opacity .8
&:before
content "\efde"
font-family remixicon
margin-right .5rem
display inline-block
vertical-align middle
ul ul,ol ul,ul ol,ol ol
list-unstyled()
margin 0 20px
ul ul li,ol ul li,ul ol li,ol ol li
list-unstyled()
border: none;
padding-bottom: 0;
.category-list-count:before, .tag-list-count:before, .archive-list-count:before
content: "(";
.category-list-count:after, .tag-list-count:after, .archive-list-count:after
content: ")";