Files
my-links/styles/links.module.scss
2022-01-07 17:09:12 +01:00

56 lines
1.3 KiB
SCSS

.links-wrapper {
height: 100%;
padding: 10px;
flex: 1;
overflow-x: auto;
scroll-snap-type: y mandatory;
& .link-block {
min-height: 100%;
width: 100%;
margin-bottom: 10px;
flex: 1;
display: flex;
flex-direction: column;
scroll-snap-align: center;
& h2 {
color: #3f88c5;
margin-bottom: 15px;
}
& .links {
width: 100%;
display: flex;
flex-direction: column;
}
& .links .link {
user-select: none;
cursor: pointer;
& > a {
color: #3f88c5;
text-decoration: none;
padding: 10px 15px;
border: 1px solid #dadce0;
border-bottom: 2px solid #dadce0;
border-radius: 3px;
margin-bottom: 10px;
display: flex;
flex-direction: column;
transition: .15s;
&:hover {
border-bottom-color: #3f88c5;
transform: scale(1.01);
}
& .link-url {
color: #bbb;
font-size: .80em;
}
}
}
}
}