Blender-org web-assets v2 upgrade #104116
@ -1,8 +1,8 @@
|
|||||||
\:root
|
\:root
|
||||||
--fs-xl: 3.6rem
|
--fs-xl: 6.4rem
|
||||||
|
|
||||||
+media-sm
|
+media-sm
|
||||||
--fs-xl: 3.2rem
|
--fs-xl: 5.6rem
|
||||||
|
|
||||||
$page-card-icon-size: 7.8rem
|
$page-card-icon-size: 7.8rem
|
||||||
martonlente marked this conversation as resolved
Outdated
|
|||||||
.page-card
|
.page-card
|
||||||
@ -424,3 +424,18 @@ body.is-lightbox-active
|
|||||||
/* Web Assets Overrides. TODO: move to separate partial */
|
/* Web Assets Overrides. TODO: move to separate partial */
|
||||||
.cards-item-title
|
.cards-item-title
|
||||||
font-size: var(--fs-h4)
|
font-size: var(--fs-h4)
|
||||||
|
|
||||||
|
details
|
||||||
|
border-radius: var(--border-radius-lg)
|
||||||
|
|
||||||
|
p,
|
||||||
|
ul
|
||||||
|
+padding(5, x)
|
||||||
|
|
||||||
Pablo Vazquez
commented
I don't think we need this anymore? We've got _details.sass in web-assets. I don't think we need this anymore? We've got _details.sass in web-assets.
Márton Lente
commented
We currently use Alternatively we can remove style overrides from the theme, and make content changes in the Gutenberg editor (by adding grouping elements with the We currently use `details` on e.g. [System Requirements](https://www.blender.org/download/requirements) page on blender.org (and on other pages with a similar look). As details blocks are top level blocks that are displayed as other boxes on the page, this is a way to keep current styling on the theme level, without introducing the need for database-level content changes.
Alternatively we can remove style overrides from the theme, and make content changes in the Gutenberg editor (by adding grouping elements with the `box` class). I'd suggest to keep it like this, and apply content changes and do styles' cleanup in a next iteration.
|
|||||||
|
summary
|
||||||
|
+padding(3)
|
||||||
|
+padding(5, left)
|
||||||
|
|
||||||
|
&:before
|
||||||
|
left: var(--spacer)
|
||||||
|
top: var(--spacer)
|
||||||
|
@ -167,7 +167,7 @@
|
|||||||
.cards-item-content
|
.cards-item-content
|
||||||
.cards-item-title
|
.cards-item-title
|
||||||
font:
|
font:
|
||||||
size: var(--fs-5)
|
size: var(--fs-h2)
|
||||||
weight: normal
|
weight: normal
|
||||||
|
|
||||||
.cards-item-label
|
.cards-item-label
|
||||||
|
Loading…
Reference in New Issue
Block a user
Can this be a CSS variable instead of Sass?