rdrew 2 months ago
parent
commit
dbbecb21d1
  1. 5
      css/components/header-site-branding.css
  2. 3
      css/components/landing_page.css
  3. 20
      css/components/navigation/nav-primary-wide.css
  4. 4
      css/components/navigation/nav-primary.css
  5. 488
      templates/includes/lp-banner.html.twig
  6. 9
      templates/includes/lp-banner.html.twig.old

5
css/components/header-site-branding.css

@ -137,6 +137,11 @@
/*font-weight: bold;*/
font-family: var(--font-serif);
}
.site-branding__slogan {
color: #d0bca4;
font-size: 1.5rem;
}
.site-branding__text a {
color: inherit;

3
css/components/landing_page.css

@ -17,6 +17,9 @@ article.node.node--type-landing-page h2 {
/*height:300px;*/
}
.hero--wrapper {
background: #e1dbbf;
}
.logo-wrapper {
background: #3333335c;
}

20
css/components/navigation/nav-primary-wide.css

@ -84,6 +84,10 @@
padding-inline-start: 0;
padding-inline-end: 0;
}
body:not(.is-always-mobile-nav) .primary-nav__menu-link-inner--level-3 {
padding-block: 0;
/*display:none;*/
}
body:not(.is-always-mobile-nav) .primary-nav__menu-link-inner::after {
transform-origin: center;
@ -118,26 +122,30 @@
left: 50%;
visibility: hidden;
overflow: auto;
width: 15.625rem;
width: 19.625rem;
/* Ensure that long level-2 menus will never overflow viewport (focused
* elements should always be in viewport per accessibility guidelines). */
max-height: calc(100vh - var(--site-header-height-wide) - var(--drupal-displace-offset-top, 0px) - var(--drupal-displace-offset-bottom, 0px) - var(--sp));
margin-block-start: 0;
margin-inline-start: 0;
padding-block: calc(3 * var(--sp));
padding-inline-start: var(--sp2);
padding-inline-end: var(--sp2);
padding-inline-start: var(--sp1);
padding-inline-end: var(--sp1);
transition: none;
transform: translate(-50%, -1.25rem);
opacity: 0;
/* Intentionally not using CSS logical properties. */
border-top: solid var(--color--primary-50) var(--sp0-5);
border-right: solid 1px transparent; /* Transparent borders useful for Windows High Contrast mode. */
border-bottom: solid 1px transparent;
border-left: solid 1px transparent;
/*border-right: solid 1px transparent; [> Transparent borders useful for Windows High Contrast mode. <]*/
/*border-bottom: solid 1px transparent;*/
/*border-left: solid 1px transparent;*/
border-right: solid 1px #ccc; /* Transparent borders useful for Windows High Contrast mode. */
border-bottom: solid 1px #ccc;
border-left: solid 1px #ccc;
border-radius: 0 0 2px 2px;
background: var(--color--white);
box-shadow: 0 1px 36px rgba(0, 0, 0, 0.08);
padding-block: 1rem;
}
body:not(.is-always-mobile-nav) .primary-nav__menu--level-2.is-active-menu-parent {

4
css/components/navigation/nav-primary.css

@ -206,8 +206,8 @@ html:not(.js) .primary-nav__menu--level-2 {
.primary-nav__menu-item:first-child span:before {
/*content: url("../../../images/magnifying-glass.svg");*/
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='22' width='22' viewBox='0 0 512 512'%3E%3C!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2023 Fonticons, Inc.--%3E%3Cpath fill='%232b353b' d='M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z'/%3E%3C/svg%3E");
/*content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='22' width='22' viewBox='0 0 512 512'%3E%3C!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2023 Fonticons, Inc.--%3E%3Cpath fill='%232b353b' d='M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z'/%3E%3C/svg%3E");*/
/*fill:blue; */
margin-right:5px;
/*margin-right:5px;*/
}

488
templates/includes/lp-banner.html.twig

File diff suppressed because one or more lines are too long

9
templates/includes/lp-banner.html.twig.old

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save