... | @@ -13,9 +13,9 @@ A few tips for editing content on the Drupal 8 site. |
... | @@ -13,9 +13,9 @@ A few tips for editing content on the Drupal 8 site. |
|
|
|
|
|
# CSS classes
|
|
# CSS classes
|
|
|
|
|
|
Instead of having node regions ("first banner", "blue banner", "random section"), only use Gutenberg 'groups'. We can add CSS classes to Gutenberg groups to produce the same result.
|
|
Instead of having node fields to enforce visual cues ("first banner", "blue banner", "random section"), we cab use Gutenberg 'groups'. We can add CSS classes to Gutenberg groups to produce the same result.
|
|
|
|
|
|
Here is a list of CSS classes that can be applied:
|
|
Here is a list of CSS classes that can be applied. Many of them are based on the CSS from the d7 site.
|
|
|
|
|
|
## Groups
|
|
## Groups
|
|
|
|
|
... | @@ -36,6 +36,7 @@ Most of these are visible on https://civicrm.org/spark |
... | @@ -36,6 +36,7 @@ Most of these are visible on https://civicrm.org/spark |
|
|
|
|
|
* `thin`: narrow letters
|
|
* `thin`: narrow letters
|
|
* `capital`: all caps
|
|
* `capital`: all caps
|
|
|
|
* `intro`: slightly bigger text
|
|
* `green`: green text
|
|
* `green`: green text
|
|
* `white`: white text
|
|
* `white`: white text
|
|
|
|
|
... | | ... | |