69 lines
1.2 KiB
SCSS
69 lines
1.2 KiB
SCSS
.groups-and-headings {
|
|
$spacing: $line-height / 2;
|
|
|
|
.headings-list {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
list-style: none;
|
|
margin-left: -$spacing;
|
|
}
|
|
|
|
.heading {
|
|
@include brand-text;
|
|
border: 2px solid $border;
|
|
border-radius: rem-calc(6);
|
|
box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
|
|
margin-bottom: $line-height / 2;
|
|
margin-left: $spacing;
|
|
margin-top: $line-height / 4;
|
|
padding: $line-height / 2;
|
|
position: relative;
|
|
width: 100%;
|
|
|
|
@include breakpoint(medium) {
|
|
width: calc(100% / 3 - #{$spacing});
|
|
}
|
|
|
|
@include breakpoint(large) {
|
|
width: calc(100% / 6 - #{$spacing});
|
|
}
|
|
|
|
&:focus-within {
|
|
outline: $outline-focus;
|
|
|
|
a:focus {
|
|
outline: none;
|
|
}
|
|
}
|
|
|
|
a {
|
|
font-weight: bold;
|
|
|
|
&::after,
|
|
&::before {
|
|
bottom: 0;
|
|
content: "";
|
|
left: 0;
|
|
position: absolute;
|
|
right: 0;
|
|
top: 0;
|
|
}
|
|
|
|
&:hover {
|
|
text-decoration: none;
|
|
}
|
|
|
|
&:hover::before {
|
|
background: $light;
|
|
z-index: -1;
|
|
}
|
|
}
|
|
|
|
span {
|
|
display: block;
|
|
font-size: $small-font-size;
|
|
padding-top: $line-height / 2;
|
|
}
|
|
}
|
|
}
|