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
6 changed files with 15 additions and 7 deletions
Showing only changes of commit 82b4c1e543 - Show all commits

View File

@ -1,3 +1,9 @@
\:root
--fs-xl: 3.6rem
+media-sm
--fs-xl: 3.2rem
$page-card-icon-size: 7.8rem
martonlente marked this conversation as resolved Outdated

Can this be a CSS variable instead of Sass?

Can this be a CSS variable instead of Sass?
.page-card
position: relative

View File

@ -54,11 +54,13 @@
// Only for the blog where the text is larger.
h1
font-size: 2.6rem
font-size: var(--fs-xl)
h2
font-size: 2.2rem
font-size: var(--fs-h1)
h3
font-size: 1.8rem
font-size: var(--fs-h2)
h1, h2, h3
+margin(5, top)

View File

@ -1,3 +1,3 @@
// TODO: post web-assets v2 upgrade check font-sizes and units conversions
// TODO: post web-assets v2 upgrade check font-sizes em and line-heights
/* Import Blender Web Assets. */
@import ../../assets_shared/src/styles/main

View File

@ -16,7 +16,7 @@ $bleeding-color: #d0253f
h1
// TODO: post web-assets v2 upgrade check font-size
font-size: 3.4rem
font-size: var(--fs-xl)
+margin(4, top)
text-shadow: .1rem .1rem .2rem rgba(black, .33), .1rem .1rem 5.0rem var(--header-bg-color)

View File

@ -25,7 +25,7 @@
background-color: rgba(#223, .7)
.cards-item-excerpt
font-size: 1.1rem
font-size: 1.4rem
.features
&__releaselogs

View File

@ -413,7 +413,7 @@
z-index: -1
.chart-bars-bar-value
font-size: 11px
font-size: 1.1rem
position: absolute
right: 0
text-align: right