2019-11-15 19:01:33 +03:00
|
|
|
---
|
|
|
|
---
|
|
|
|
/*!
|
|
|
|
Style for Tab Categories
|
2020-01-02 16:17:49 +03:00
|
|
|
v2.0
|
|
|
|
https://github.com/cotes2020/jekyll-theme-chirpy
|
2019-11-15 19:01:33 +03:00
|
|
|
© 2019 Cotes Chung
|
|
|
|
MIT License
|
|
|
|
*/
|
|
|
|
|
|
|
|
.categories {
|
|
|
|
margin-bottom: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.categories .card-header {
|
|
|
|
padding-right: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.categories .card-header>span>i:first-child,
|
|
|
|
.categories .list-group-item>i {
|
|
|
|
color: gray;
|
|
|
|
}
|
|
|
|
|
|
|
|
.categories .list-group-item {
|
|
|
|
border-left: none;
|
|
|
|
border-right: none;
|
|
|
|
padding-left: 2rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.categories .collapsing .list-group-item:first-child,
|
|
|
|
.categories .collapse .list-group-item:first-child {
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.categories i.far,
|
|
|
|
.categories i.fas { // fontawesome icons
|
|
|
|
font-size: 86%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.category-trigger {
|
|
|
|
width: 1.7rem;
|
|
|
|
height: 1.7rem;
|
|
|
|
border-radius: 50%;
|
|
|
|
text-align: center;
|
|
|
|
color: #6c757d!important;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (hover: hover) { // only works on desktop
|
|
|
|
.category-trigger:hover {
|
|
|
|
background-color: #e9ecef;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-11-22 19:42:14 +03:00
|
|
|
.category-trigger>i.fas {
|
2019-11-15 19:01:33 +03:00
|
|
|
position: relative;
|
2019-11-22 19:42:14 +03:00
|
|
|
height: .7rem;
|
|
|
|
width: 1rem;
|
2019-11-15 19:01:33 +03:00
|
|
|
transition: 300ms ease all;
|
2019-11-22 19:42:14 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.rotate {
|
|
|
|
-ms-transform: rotate(-90deg); /* IE 9 */
|
|
|
|
-webkit-transform: rotate(-90deg); /* Safari 3-8 */
|
|
|
|
transform: rotate(-90deg);
|
|
|
|
}
|