127 lines
2.0 KiB
SCSS
127 lines
2.0 KiB
SCSS
.resources {
|
|
|
|
.h-affix {
|
|
position: fixed;
|
|
}
|
|
|
|
.affix-top {
|
|
top: 50px;
|
|
}
|
|
|
|
.c-resource {
|
|
h4 {
|
|
margin: 0;
|
|
line-height: 24px;
|
|
}
|
|
|
|
p {
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
.c-resource-nav {
|
|
margin-top: 48px;
|
|
width: $unit * 20;
|
|
z-index: $layer-1;
|
|
background-color: #fff;
|
|
border-radius: 2px;
|
|
|
|
a {
|
|
color: #373E41;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.category {
|
|
padding: 10px 0;
|
|
|
|
.category-link {
|
|
display: block;
|
|
margin: 2px 0;
|
|
padding: 3px 14px;
|
|
font-size: 18px !important;
|
|
|
|
&:hover {
|
|
background: #edf0f2;
|
|
color: #2B85E7;
|
|
}
|
|
}
|
|
}
|
|
|
|
.subcategory {
|
|
.subcategory-link {
|
|
display: block;
|
|
margin: 2px 0;
|
|
padding: 4px 14px;
|
|
|
|
&:hover {
|
|
background: #edf0f2;
|
|
color: #2B85E7;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.h-anchor-offset {
|
|
display: block;
|
|
position: relative;
|
|
top: -20px;
|
|
visibility: hidden;
|
|
}
|
|
|
|
.l-flex--column {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.c-resource-header {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.c-contribute {
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.c-resource-header h2 {
|
|
margin: 0;
|
|
}
|
|
|
|
.subcategory-title {
|
|
padding: 16px 23px;
|
|
margin: 0;
|
|
background-color: $mist;
|
|
color: #373E41;
|
|
}
|
|
|
|
.h-capitalize {
|
|
text-transform: capitalize;
|
|
}
|
|
|
|
.h-hide {
|
|
display: none;
|
|
}
|
|
|
|
.resource-row-link {
|
|
color: #1a2326;
|
|
border: transparent solid 1px;
|
|
margin: 0;
|
|
padding: 16px 23px 16px 23px;
|
|
position: relative;
|
|
text-decoration: none;
|
|
transition: all .3s;
|
|
}
|
|
|
|
.resource-row-link:hover {
|
|
text-decoration: none;
|
|
border-color: #2B85E7;
|
|
border-radius: 4px;
|
|
box-shadow: 0 8px 8px rgba(1, 67, 163, .24), 0 0 8px rgba(1, 67, 163, .12), 0 6px 18px rgba(43, 133, 231, .12);
|
|
transform: translate3d(0, -2px, 0);
|
|
}
|
|
|
|
@media(max-width: 900px) {
|
|
.c-resource-nav {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|