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

Front end clean up continued

Cleaned up the front end structure a bit more so the layout is unified
across pages, excluding the index which will serve as the main search
page, which has it's own style.

Location page was also added to display details of instances listed in
the database. It's mostly just informational so it will be kept simple.
This commit is contained in:
Ro
2023-01-22 14:03:45 -08:00
parent 477d6727f4
commit b9298451b7
8 changed files with 75 additions and 28 deletions

View File

@ -11,23 +11,32 @@ section[role="start"] {
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);
border-radius: 5px;
padding: 15px;
width: 100%;
border-bottom: 1px solid var(--secondary);
}
section[role="start"] div[role="index-results"] {
width: 100%;
padding: 10px;
background: rgb(var(--primary-rgb) / 60%);
border-bottom: 1px solid var(--white);
}
section[role="start"] div input[type="text"] {
font-size: 2em;
width: 87%;
background: none;
font-weight: bold;
font-size: 3.5em;
width: 91%;
color: var(--white);
text-shadow: 1px 1px 1px var(--primary);
outline: none;
}
section[role="start"] div button {
vertical-align: top;
vertical-align: text-bottom;
width: 57px;
height: 57px;
}
@ -36,9 +45,14 @@ 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;
section[role="start"] h1 {
color: var(--white);
}
section[role="start"] a.search-link {
color: var(--highlight);
font-size: 2.5em;
font-weight: bold;
border: 0;
display: block;
}

View File

@ -9,4 +9,8 @@ section[role="listings"] {
section[role="listings"] a {
color: var(--highlight);
font-size: 2.5em;
font-weight: bold;
border: 0;
display: block;
}

View File

@ -0,0 +1,15 @@
section[role="location"] {
background: var(--primary);
width: 100%;
max-width: 600px;
padding: 10px;
margin: 0 auto;
color: var(--white);
}
section[role="location"] img {
width: 33%;
border-radius: 3px;
overflow: hidden;
vertical-align: top;
}

View File

@ -6,3 +6,4 @@
@import "index.css";
@import "about.css";
@import "listing.css";
@import "location.css";

View File

@ -6,4 +6,5 @@
--white: #efebe3;
--grey: #abb7b7;
--black: #32302f;
--primary-rgb: 20 13 13;
}