Blender-org web-assets v2 upgrade #104116

Merged
Márton Lente merged 56 commits from web-assets-v2-upgrade into main 2024-08-13 17:27:59 +02:00
Showing only changes of commit 3e9d54bdbe - Show all commits

View File

@ -1,10 +1,11 @@
\:root
--fs-xl: 6.4rem
--page-card-icon-size: 7.8rem
+media-sm
--fs-xl: 5.6rem
$page-card-icon-size: 7.8rem
// TODO: check if class 'page-card' is used
.page-card
position: relative
@ -74,24 +75,24 @@ $page-card-icon-size: 7.8rem
position: relative
+position-center-translate
margin: 0 auto
width: $page-card-icon-size * 2
height: $page-card-icon-size * 2
width: calc(var(--page-card-icon-size) * 2)
height: calc(var(--page-card-icon-size) * 2)
border: .2rem solid rgba($color-text-dark-hint, .5)
border-radius: 50%
background:
position: 50% 50%
repeat: no-repeat
size: $page-card-icon-size
size: var(--page-card-icon-size)
+media-sm
width: $page-card-icon-size * 1.5
height: $page-card-icon-size * 1.5
background-size: $page-card-icon-size * 0.75
width: calc(var(--page-card-icon-size) * 1.5)
height: calc(var(--page-card-icon-size) * 1.5)
background-size: calc(var(--page-card-icon-size) * .75)
+media-xs
width: $page-card-icon-size * 1.5
height: $page-card-icon-size * 1.5
background-size: $page-card-icon-size * 0.75
width: calc(var(--page-card-icon-size) * 1.5)
height: calc(var(--page-card-icon-size) * 1.5)
background-size: calc(var(--page-card-icon-size) * .75)
margin: 4.0rem auto