Semantic stuff, bundle fixes
This commit is contained in:
parent
02b93b537b
commit
adb6493a14
2
.bundle/config
Normal file
2
.bundle/config
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
---
|
||||||
|
BUNDLE_PATH: "vendor/bundle"
|
@ -98,10 +98,15 @@ const quotebank = [
|
|||||||
"evil!!!",
|
"evil!!!",
|
||||||
"proud keychron owner!",
|
"proud keychron owner!",
|
||||||
"rotten!",
|
"rotten!",
|
||||||
"is george w bush!"
|
"is george w bush!",
|
||||||
|
"it's a unix system!",
|
||||||
|
"runs on forbidden hardware!",
|
||||||
|
"hosted by gnomes!",
|
||||||
|
"all your base are belong to me!",
|
||||||
|
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
const len = quotebank.length
|
const len = quotebank.length
|
||||||
const quote = quotebank[Math.floor(Math.random() * len)]
|
const quote = quotebank[Math.floor(Math.random() * len)]
|
||||||
document.getElementById("quote").innerHTML = `“${quote}”`
|
document.getElementById("quote").innerHTML = `“${quote}”`
|
||||||
|
@ -2,7 +2,7 @@ const resizeHeader = () => {
|
|||||||
const container = document.querySelector("main > .container")
|
const container = document.querySelector("main > .container")
|
||||||
const containerWidth = container.scrollWidth
|
const containerWidth = container.scrollWidth
|
||||||
const header = document.querySelector(".container.title-container")
|
const header = document.querySelector(".container.title-container")
|
||||||
header.style.setProperty("min-width", `${containerWidth}px`)
|
header.style.minWidth = `${containerWidth}px`
|
||||||
}
|
}
|
||||||
|
|
||||||
window.addEventListener("resize", resizeHeader)
|
window.addEventListener("resize", resizeHeader)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user