Feat: Home and Contact pages setup with Altcha bot protection and saving to database using alterntive layout.

This commit is contained in:
2025-07-25 19:22:17 +01:00
parent fad5336cc4
commit b76a999d01
95 changed files with 10274 additions and 2115 deletions

View File

@@ -59,8 +59,9 @@ script, link {
display: none !important;
}
/*
#pageBody {
/* height: 69vh !important; */
/ * height: 69vh !important; * /
max-height: 79vh;
padding: 0 5vw;
margin: 0;
@@ -76,6 +77,7 @@ script, link {
width: 90vw;
color: var(--colour-text);
}
*/
.page-body > * {
display: flex;
@@ -117,7 +119,7 @@ img.header-logo {
background-color: var(--colour-text-background);
padding: 1vh 2.5vw;
margin: 1vh;
display: flex !important;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
@@ -210,6 +212,8 @@ img.header-logo {
ul {
max-width: 90%;
padding: 5px 0 10px 0;
width: fit-content;
margin: auto;
}
li {
text-align: left;
@@ -521,45 +525,6 @@ table div {
align-content: center;
}
/*
header {
background: white;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
/ * position: fixed;
top: 0; * /
width: 100%;
z-index: 1000;
}
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 0;
}
.logo {
font-size: 1.5rem;
font-weight: bold;
color: var(--primary);
}
.nav-links {
display: flex;
gap: 2rem;
}
.nav-links a {
text-decoration: none;
color: var(--text);
font-weight: 500;
align-content: center;
}
.nav-links a.button {
color: white;
}
*/
/* Navigation */
.topnav {
@@ -717,40 +682,7 @@ form.filter button.save, form.filter button.button-cancel {
font-size: 16px;
}
}
/* Footer */
.footer {
padding: 1vh 1vw;
text-align: center;
margin: 0;
max-height: 5vh;
overflow-y: auto;
background-color: var(--colour-accent);
position: absolute;
bottom: 0;
width: 98vw;
}
@media screen and (max-width: 400px) {
.footer {
max-height: 8vh;
padding: 0 2vw;
font-size: 10px;
width: 96vw;
max-width: 96vw;
}
.footer > h4 {
font-size: 10px;
}
.footer > h5 {
font-size: 9px;
}
}
.footer > h4, h5 {
padding: 0;
margin: 0;
}
/* In sections */
#formFilters {
padding: 0.5vh 1vw;
@@ -834,7 +766,7 @@ table.table-main tbody tr td.notes {
table.table-main tbody tr td:has(.dirty) {
background-color: var(--colour-primary);
}
table.table-main tbody tr td:has(.dirty) table {
table.table-main tbody tr td:has(.dirty) table tr:not(:has(.dirty)) {
background-color: var(--colour-text-background);
}
table.table-main tbody tr:not(:last-of-type) td {