bulma/docs/_sass/home/amis.scss

74 lines
1.3 KiB
SCSS
Raw Normal View History

2024-03-21 16:11:54 +00:00
@use "sass/utilities/css-variables" as cv;
.bd-amis {
2024-03-22 10:20:03 +00:00
--color: #fff;
2024-03-21 16:11:54 +00:00
background-color: cv.getVar("scheme-main");
display: grid;
2024-03-21 17:43:04 +00:00
grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
2024-04-17 12:59:25 +00:00
gap: 0;
2024-03-21 16:11:54 +00:00
position: relative;
2024-03-21 18:16:52 +00:00
margin: 0 -1rem;
justify-content: center;
2024-03-21 16:11:54 +00:00
}
.bd-ami {
2024-04-17 12:59:25 +00:00
background-color: var(--color);
2024-03-21 16:11:54 +00:00
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0.75rem;
2024-03-22 10:20:03 +00:00
height: 5rem;
2024-04-17 12:59:25 +00:00
position: relative;
2024-03-21 16:11:54 +00:00
vertical-align: top;
2024-03-22 10:20:03 +00:00
transition-duration: cv.getVar("duration");
2024-04-17 12:59:25 +00:00
transition-property: background-color, transform;
transform-origin: center;
2024-03-22 10:20:03 +00:00
&:hover {
2024-04-17 12:59:25 +00:00
border-radius: 0.5rem;
transform: scale(1.2);
z-index: 1;
box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.2);
}
&:active {
transform: scale(1.15);
box-shadow: 0 0.25rem 0.25rem rgba(0, 0, 0, 0.5);
2024-03-22 10:20:03 +00:00
}
2024-03-21 16:11:54 +00:00
}
.bd-ami img {
border-radius: 0.25rem;
height: auto;
max-height: 3rem;
width: auto;
}
.bd-ami-footer {
border-radius: 0.25rem;
2024-03-22 10:20:03 +00:00
height: 4rem;
2024-03-21 16:11:54 +00:00
}
.bd-ami-footer img {
max-width: none;
}
.bd-footer-title,
.bd-footer-donation-title {
font-size: 1.125em;
margin-bottom: 0.5em;
}
.bd-footer-donation-action {
min-height: 3.5rem;
display: flex;
justify-content: center;
align-items: center;
.paypal-form {
display: flex;
align-items: center;
justify-content: center;
}
}