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

44 lines
1002 B
Stylus
Raw Normal View History

2019-12-03 11:37:44 +00:00
// Categories
.category-list
list-unstyled()
margin-right -.5rem
margin-left -.5rem
2020-01-13 12:58:07 +00:00
.category-list-item
margin: 10px 10px;
padding: 0 14px;
display: inline-block;
text-align: center;
height: 38px;
min-width: 80px;
line-height: 38px;
font-size: 1.5rem;
font-weight: 500;
border-radius: 5px;
word-wrap: break-word;
cursor: pointer;
2020-01-14 23:57:43 +00:00
box-shadow: 0px 3px 5px rgba(0,0,0,0.08);
border: 1px solid #e7e7eb
2019-12-03 11:37:44 +00:00
&:before
content "\efde"
font-family remixicon
2020-01-13 12:58:07 +00:00
margin-right .5rem
display inline-block
vertical-align middle
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
.category-list-item
2020-02-11 05:05:04 +00:00
border: 1px solid darken(water,20%)
2020-01-18 14:13:43 +00:00
box-shadow: 0 3px 5px water
2020-02-09 09:17:31 +00:00
color: darken(water,50%);
2020-01-18 14:13:43 +00:00
&:before
2020-02-09 09:17:31 +00:00
color: darken(water,50%);
2020-01-13 12:58:07 +00:00