base styles now buildable
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 55 KiB |
@@ -15,27 +15,6 @@ h6 {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
&.has-flourish {
|
||||
position: relative;
|
||||
|
||||
&::before {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
content: '';
|
||||
display: block;
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
mask-image: url("~/images/flourish-flipped.svg");
|
||||
mask-repeat: no-repeat;
|
||||
mask-size: contain;
|
||||
background: $secondary;
|
||||
transform: translate(-55%, -40%) rotate(270deg);
|
||||
pointer-events: none;
|
||||
font-size: 2em;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen {
|
||||
.knockout & {
|
||||
color: $white;
|
||||
|
||||
@@ -2,20 +2,10 @@
|
||||
container-type: inline-size;
|
||||
}
|
||||
|
||||
.wrapper,
|
||||
.wrapper.section-has-angle {
|
||||
.wrapper {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.badegg-blocks {
|
||||
.badegg-block {
|
||||
&:last-of-type {
|
||||
@extend .section-has-angle;
|
||||
@extend .section-has-angle-bottom;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.brand {
|
||||
display: block;
|
||||
width: $brandWidth;
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
export default function WYSIWYG()
|
||||
{
|
||||
|
||||
}
|
||||
@@ -1,9 +1,13 @@
|
||||
export default function Footer() {
|
||||
const body = document.querySelector("body");
|
||||
const footer = document.querySelector(".js-footer");
|
||||
|
||||
if(!footer) return;
|
||||
|
||||
const links = footer.querySelectorAll("a");
|
||||
const currentURL = location.protocol + '//' + location.host + location.pathname;
|
||||
|
||||
|
||||
links.forEach(link => {
|
||||
const hash = link.hash;
|
||||
const href = link.href;
|
||||
|
||||
@@ -4,6 +4,8 @@ export default function Header() {
|
||||
const menuToggle = document.querySelector(".js-menu-toggle");
|
||||
const menuClose = document.querySelector(".js-menu-close");
|
||||
|
||||
if(!menuToggle) return;
|
||||
|
||||
menuToggle.addEventListener("click", (e) => {
|
||||
e.preventDefault();
|
||||
body.classList.toggle("menu-open");
|
||||
|
||||
Reference in New Issue
Block a user