1
0
mirror of https://koodu.h-i.works/projects/thebadspace synced 2025-06-25 16:04:37 -05:00

Turned on Index search

Activated the full text search on the index pages as well as plugging in
a tempalte to show location information. Still needs to be styled but
it's all wired up.

Also cleaned some typos in the About description. One day I'll be able
to spell. One day.
This commit is contained in:
Ro
2023-01-17 15:54:59 -08:00
parent c5d1ab0266
commit 477d6727f4
9 changed files with 143 additions and 35 deletions

View File

@ -4,34 +4,41 @@ section[role="start"] {
background-position: center;
background-repeat: no-repeat;
background-size: cover;
display: flex;
align-items: center;
justify-content: center;
}
section[role="start"] div {
section[role="start"] div[role="index-wrapper"] {
margin: 0 auto;
width: 100%;
max-width: 600px;
padding-top: 30px;
}
section[role="start"] div[role="index-search"] {
background: var(--primary);
width: 400px;
border-radius: 3px;
padding: 5px;
border-radius: 5px;
padding: 15px;
}
section[role="start"] span[role="title"] {
font-size: 100px;
line-height: 80px;
font-weight: bold;
color: var(--secondary);
section[role="start"] div input[type="text"] {
font-size: 2em;
width: 87%;
}
section[role="start"] p {
color: var(--white);
display: inline-block;
section[role="start"] div button {
vertical-align: top;
margin: 6px auto;
font-size: 1.87em;
width: 57px;
height: 57px;
}
section[role="start"] p a {
color: var(--highlight);
margin-top: 5px;
section[role="start"] div button i {
font-size: 1.5em;
}
section[role="start"] a.search-link {
background: var(--secondary);
padding: 5px;
color: var(--primary);
border-radius: 3px;
}

View File

@ -28,6 +28,10 @@ header > nav {
padding: 10px;
}
header > nav a {
color: var(--primary);
}
header > nav i {
font-size: 1.3em;
}
@ -49,7 +53,7 @@ main {
/* GLOBALS */
a {
color: var(--primary);
color: var(--highlight);
text-decoration: none;
border-bottom: 1px solid var(--white);
transition: all 0.2s linear;
@ -61,7 +65,7 @@ a[role="nav-links"] {
}
a:hover {
border-bottom: 1px solid var(--primary);
border-bottom: 1px solid var(--secondary);
}
sup {