Browse Source

lots of layout changes + sidbars

master
rdrew 1 week ago
parent
commit
19d4d6268b
  1. 31
      css/base.css
  2. 5
      css/components/node.css
  3. 33
      druid.info.yml
  4. BIN
      druid.jpg
  5. BIN
      screenshot.png

31
css/base.css

@ -19,17 +19,34 @@
in unpredictable places (admin toolbars, contextual links, system in unpredictable places (admin toolbars, contextual links, system
blocks), so this targets bare heading elements re-declare in a blocks), so this targets bare heading elements re-declare in a
component or utility if a specific UI surface needs the sans family. */ component or utility if a specific UI surface needs the sans family. */
h1, h2, h3, h4, h5, h6 { h1,
h2,
h3,
h4,
h5,
h6 {
font-family: var(--font-serif); font-family: var(--font-serif);
line-height: var(--font-lineheight-1); line-height: var(--font-lineheight-1);
margin-block: var(--size-3); margin-block: var(--size-3);
} }
h1 { font-size: var(--font-size-6); } h1 {
h2 { font-size: var(--font-size-5); } font-size: var(--font-size-6);
h3 { font-size: var(--font-size-4); } }
h4 { font-size: var(--font-size-3); } h2 {
h5 { font-size: var(--font-size-2); } font-size: var(--font-size-5);
h6 { font-size: var(--font-size-1); } }
h3 {
font-size: var(--font-size-4);
}
h4 {
font-size: var(--font-size-3);
}
h5 {
font-size: var(--font-size-2);
}
h6 {
font-size: var(--font-size-1);
}
a { a {
color: var(--brand); color: var(--brand);

5
css/components/node.css

@ -1,12 +1,9 @@
@layer components {
/** /**
* @file * @file
* Visual styles for nodes. * Visual styles for nodes.
*/ */
@layer components {
.node--unpublished { .node--unpublished {
background-color: #fff4f4; background-color: #fff4f4;
} }
} }

33
druid.info.yml

@ -12,9 +12,9 @@
# This is how conditional component CSS (dialog, dropbutton, file, etc.) # This is how conditional component CSS (dialog, dropbutton, file, etc.)
# loads only on pages that actually use those widgets. # loads only on pages that actually use those widgets.
name: druid name: Druid
type: theme type: theme
'base theme': stable9 "base theme": stable9
version: 1.0.0 version: 1.0.0
libraries: libraries:
- druid/layers - druid/layers
@ -42,19 +42,20 @@ libraries-extend:
- druid/progress - druid/progress
core/drupal.tablesort: core/drupal.tablesort:
- druid/drupal.tablesort - druid/drupal.tablesort
description: '' description: ""
screenshot: druid.jpg
core_version_requirement: ^11 core_version_requirement: ^11
generator: 'starterkit_theme:11.3.7' generator: "starterkit_theme:11.3.7"
regions: regions:
top_nav_left: 'Top navigation (left)' top_nav_left: "Top navigation (left)"
top_nav_right: 'Top navigation (right)' top_nav_right: "Top navigation (right)"
header: 'Header' header: "Header"
primary_menu: 'Primary menu' primary_menu: "Primary menu"
secondary_menu: 'Secondary menu' secondary_menu: "Secondary menu"
breadcrumb: 'Breadcrumb' breadcrumb: "Breadcrumb"
highlighted: 'Highlighted' highlighted: "Highlighted"
help: 'Help' help: "Help"
content: 'Content' content: "Content"
sidebar_first: 'Sidebar first' sidebar_first: "Sidebar first"
sidebar_second: 'Sidebar second' sidebar_second: "Sidebar second"
footer: 'Footer' footer: "Footer"

BIN
druid.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

BIN
screenshot.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 33 KiB

Loading…
Cancel
Save