This repository has been archived on 2025-12-28. You can view files and clone it, but cannot push or open issues or pull requests.
inkletblot-com-v2/src/app/links/links.component.scss

42 lines
921 B
SCSS

@use 'src/app/shared/styles/_variables.color' as colors;
:host {
padding: 0 20px 0 20px;
display: flex;
align-items: center;
justify-items: center;
}
// padding 20, total width 1000, width 700 so 280/2 = margin left and right of 140
.card-wrapper {
padding-top: 20px;
display: grid;
grid-template-columns: auto auto auto auto;
grid-template-rows: auto auto auto auto;
row-gap: 50px;
column-gap: 50px;
width: 960px;
height: fit-content;
}
a {
text-decoration: none;
display: flex;
flex-direction: column;
align-items: center;
justify-items: center;
margin: 0;
color: colors.$inklets-color-white;
background-color: colors.$inklets-color-black;
border: 2px solid colors.$inklets-color-bg;
border-radius: 10px;
> * {
margin: 10px;
padding: 0;
}
}
a:hover {
border: colors.$inklets-color-fg 2px solid;
}