page-title.css in Drupal 9
Same filename in this branch
Same filename and directory in other branches
This file is used to style the page title block.
Note: This only styles the page title block itself. We do not use this block node pages (the titles are printed in the node.html.twig template), so styling for that will be in other files such as full.css.
File
core/profiles/demo_umami/themes/umami/css/components/blocks/page-title/page-title.cssView source
- /**
- * @file
- * This file is used to style the page title block.
- *
- * Note: This only styles the page title block itself. We do not use this block
- * node pages (the titles are printed in the node.html.twig template), so
- * styling for that will be in other files such as full.css.
- */
-
- .is-front .block-page-title-block {
- margin: 1rem 0;
- }
-
- .block-page-title-block {
- margin: 1rem 0 3rem;
- text-align: center;
- }