1
Fork 0
bauke-xyz/source/scss/components/_page-main.scss

39 lines
725 B
SCSS
Raw Normal View History

@use 'mixins';
2021-08-26 15:52:13 +00:00
.page-main {
@include mixins.responsive-container;
2022-03-28 12:42:34 +00:00
margin-bottom: 2rem;
2021-08-26 15:52:13 +00:00
.contact-links {
display: grid;
2022-03-28 12:42:34 +00:00
gap: 2rem;
grid-template-columns: repeat(2, 1fr);
@media (max-width: mixins.$medium-breakpoint) {
grid-template-columns: repeat(1, 1fr);
}
2021-08-26 15:52:13 +00:00
a {
2022-03-28 12:46:44 +00:00
@include mixins.patterned-shadow(0.5rem);
background-color: var(--background-1);
2022-03-28 12:37:26 +00:00
border: 2px solid var(--foreground-1);
2021-08-26 15:52:13 +00:00
padding: 1rem;
2022-03-28 13:25:21 +00:00
position: relative;
2022-03-28 13:16:41 +00:00
&:hover {
background-color: var(--foreground-1);
}
2022-03-28 13:25:21 +00:00
&::before {
content: attr(data-label);
font-size: 50%;
position: absolute;
right: 4px;
top: 4px;
}
2021-08-26 15:52:13 +00:00
}
}
}