Skip to content

Commit

Permalink
Fix sizing
Browse files Browse the repository at this point in the history
  • Loading branch information
jgthms committed Mar 22, 2024
1 parent b4499d5 commit 9e361b9
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 7 deletions.
17 changes: 14 additions & 3 deletions docs/_sass/home/amis.scss
@@ -1,23 +1,32 @@
@use "sass/utilities/css-variables" as cv;

.bd-amis {
--color: #fff;
background-color: cv.getVar("scheme-main");
display: grid;
grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
row-gap: 0.5rem;
position: relative;
margin: 0 -1rem;
justify-content: center;
}

.bd-ami {
background-color: var(--color);
display: inline-flex;
align-items: center;
border-radius: 0.25rem;
justify-content: center;
padding: 0.75rem;
max-width: 10.5rem;
height: 4rem;
height: 5rem;
vertical-align: top;
mix-blend-mode: luminosity;
transition-duration: cv.getVar("duration");
transition-property: background-color, mix-blend-mode;

&:hover {
background-color: var(--color);
mix-blend-mode: normal;
}
}

.bd-ami img {
Expand All @@ -29,6 +38,8 @@

.bd-ami-footer {
border-radius: 0.25rem;
height: 4rem;
mix-blend-mode: normal;
}

.bd-ami-footer img {
Expand Down
16 changes: 13 additions & 3 deletions docs/assets/css/website.css
Expand Up @@ -34425,23 +34425,31 @@ has-background-moon.is-hoverable:active {
}

.bd-amis {
--color: #fff;
background-color: var(--bulma-scheme-main);
display: grid;
grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
row-gap: 0.5rem;
position: relative;
margin: 0 -1rem;
justify-content: center;
}

.bd-ami {
background-color: var(--color);
display: inline-flex;
align-items: center;
border-radius: 0.25rem;
justify-content: center;
padding: 0.75rem;
max-width: 10.5rem;
height: 4rem;
height: 5rem;
vertical-align: top;
mix-blend-mode: luminosity;
transition-duration: var(--bulma-duration);
transition-property: background-color, mix-blend-mode;
}
.bd-ami:hover {
background-color: var(--color);
mix-blend-mode: normal;
}

.bd-ami img {
Expand All @@ -34453,6 +34461,8 @@ has-background-moon.is-hoverable:active {

.bd-ami-footer {
border-radius: 0.25rem;
height: 4rem;
mix-blend-mode: normal;
}

.bd-ami-footer img {
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/css/website.min.css

Large diffs are not rendered by default.

0 comments on commit 9e361b9

Please sign in to comment.