merg
This commit is contained in:
commit
a4ec4966d2
@ -6,24 +6,22 @@ body {
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
|
|
||||||
padding-left: auto;
|
|
||||||
padding-right: auto;
|
|
||||||
background-color: pink;
|
background-color: pink;
|
||||||
|
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
||||||
background: url("bg.svg") center center/auto repeat, linear-gradient(
|
background:
|
||||||
to bottom, transparent, pink
|
url("bg.svg") center center/auto repeat,
|
||||||
);
|
linear-gradient(to bottom, transparent, pink);
|
||||||
}
|
}
|
||||||
|
|
||||||
.search-grid {
|
.search-grid {
|
||||||
margin-top: -10em;
|
width: 100%;
|
||||||
|
|
||||||
width: 40em;
|
margin-left: 10em;
|
||||||
height: 30em;
|
margin-right: 10em;
|
||||||
|
|
||||||
display: grid;
|
display: grid;
|
||||||
gap: 5em;
|
gap: 5em;
|
||||||
@ -32,6 +30,8 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.search {
|
.search {
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
grid-row: 2;
|
grid-row: 2;
|
||||||
grid-column: 1 / span 2;
|
grid-column: 1 / span 2;
|
||||||
}
|
}
|
||||||
@ -39,6 +39,7 @@ body {
|
|||||||
.search-logo {
|
.search-logo {
|
||||||
grid-row: 1;
|
grid-row: 1;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
@ -48,9 +49,13 @@ body {
|
|||||||
color: black;
|
color: black;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-height: 700px){
|
@media (max-height: 300px) {
|
||||||
.search-grid {
|
.search-grid {
|
||||||
margin-top: 0;
|
grid-template-rows: 4em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.search-logo {
|
||||||
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -62,7 +67,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.card {
|
.card {
|
||||||
background-color: rgba(255, 255, 255, .5);
|
background-color: rgba(255, 255, 255, 0.5);
|
||||||
width: 10em;
|
width: 10em;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@ -85,5 +90,5 @@ body {
|
|||||||
background-color: lightblue;
|
background-color: lightblue;
|
||||||
|
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
border-radius: .5em;
|
border-radius: 0.5em;
|
||||||
}
|
}
|
||||||
|
@ -1,10 +1,9 @@
|
|||||||
<!DOCTYPE html>
|
<!doctype html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>{{ .PageTitle }}</title>
|
<title>{{ .PageTitle }}</title>
|
||||||
|
|
||||||
<link rel="stylesheet" type="text/css" href="assets/style.css">
|
<link rel="stylesheet" type="text/css" href="assets/style.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
@ -32,8 +31,21 @@
|
|||||||
{{- end }}
|
{{- end }}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
function setTitle(element, s, i) {
|
||||||
|
i++
|
||||||
|
element.textContent = s.substring(0, i)
|
||||||
|
|
||||||
|
if (i >=s.length) return;
|
||||||
|
setTimeout(() => setTitle(element, s, i), 100);
|
||||||
|
}
|
||||||
|
|
||||||
|
function titleChanger(element) {
|
||||||
|
setTitle(element, phrases[Math.floor(Math.random()*phrases.length)], 0);
|
||||||
|
setTimeout(() => titleChanger(element), 10000);
|
||||||
|
}
|
||||||
|
|
||||||
Array.from(document.querySelectorAll(".phrases")).forEach(element => {
|
Array.from(document.querySelectorAll(".phrases")).forEach(element => {
|
||||||
element.textContent = phrases[Math.floor(Math.random()*phrases.length)];
|
titleChanger(element);
|
||||||
})
|
})
|
||||||
|
|
||||||
document.addEventListener('DOMContentLoaded', function() {
|
document.addEventListener('DOMContentLoaded', function() {
|
||||||
|
@ -22,13 +22,13 @@ type RenderingConfig struct {
|
|||||||
func DefaultRenderingConfig() RenderingConfig {
|
func DefaultRenderingConfig() RenderingConfig {
|
||||||
return RenderingConfig{
|
return RenderingConfig{
|
||||||
HeaderPhrases: []string{
|
HeaderPhrases: []string{
|
||||||
"GirlJuice.Inject()",
|
"GirlJuice.Inject();",
|
||||||
"Child.CrowdKill()",
|
"Child.CrowdKill();",
|
||||||
"CopCar.Burn()",
|
"CopCar.Burn();",
|
||||||
"You.Cute = true",
|
"You.Cute = true;",
|
||||||
"You.Gay = true",
|
"You.Gay = true;",
|
||||||
"Nazi.Punch()",
|
"Nazi.Punch();",
|
||||||
"Dolls.GiveGuns()",
|
"Dolls.GiveGuns();",
|
||||||
},
|
},
|
||||||
BackgroundScrollX: "1",
|
BackgroundScrollX: "1",
|
||||||
BackgroundScrollY: "0",
|
BackgroundScrollY: "0",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user