wolegca.github.io/css/index.css

39 lines
674 B
CSS
Raw Normal View History

2019-09-20 22:34:39 +08:00
div.sidebar div:nth-of-type(n+1) {
margin-bottom: 10px
2019-09-15 14:27:21 +08:00
}
2019-09-20 22:34:39 +08:00
div.sidebar div:nth-of-type(n+1) *{
2019-09-15 15:02:30 +08:00
display: block;
2019-09-20 22:34:39 +08:00
font-size: 16px;
padding: 2px 0px;
margin: 3px 0px
2019-09-15 15:02:30 +08:00
}
2019-09-20 22:34:39 +08:00
div.sidebar div:nth-of-type(n+1) span{
font-weight: bold;
font-size: 18px
2019-09-15 15:02:30 +08:00
}
2019-09-20 22:34:39 +08:00
div.sidebar div:nth-of-type(n+1) a{
text-decoration: none;
2019-09-21 16:07:59 +08:00
transition:all ease .1s;
2019-09-20 22:34:39 +08:00
padding-left: 2px;
border-radius:5px;
box-shadow: 1px 1px 2px #999;
min-height: 50px;
padding:15px 5px;
2019-09-15 14:27:21 +08:00
}
2019-09-20 22:34:39 +08:00
div.sidebar div:nth-of-type(n+1) a:visited{
color:black
2019-09-15 14:27:21 +08:00
}
2019-09-20 22:34:39 +08:00
div.sidebar div:nth-of-type(n+1) a:hover{
color:green;
box-shadow: 2px 2px 5px #999;
transform:scale(1.05)
2019-09-15 14:27:21 +08:00
}
2019-09-20 22:34:39 +08:00
div.sidebar div:nth-of-type(n+1) a:active{
color:red
2019-09-15 14:27:21 +08:00
}