Add Turnstile protection and harden export workflow

This commit is contained in:
2026-07-22 08:54:31 +02:00
parent 67c7b5ccff
commit 4b9a5d7e78
17 changed files with 1572 additions and 276 deletions
+176 -6
View File
@@ -3,23 +3,104 @@
:root {
--silias-radius: 14px;
--silias-ink: #0b1236;
--silias-muted: #667085;
--silias-primary: #3b4cca;
--silias-primary-dark: #25339b;
--silias-surface: #ffffff;
--silias-soft: #f3f5ff;
--silias-border: #e4e8f2;
}
html, body {
height: 100%;
min-height: 100%;
}
body {
/* Bootstrap uses system font stack, keep it */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
color: var(--silias-ink);
background:
radial-gradient(circle at 8% 0%, rgba(90, 103, 216, .12), transparent 28rem),
#f7f8fc !important;
background-repeat: no-repeat !important;
background-size: 100% 720px !important;
}
/* Navbar */
.site-header {
background: rgba(255, 255, 255, .94);
backdrop-filter: blur(12px);
}
.navbar-brand {
letter-spacing: 0.2px;
}
.brand-lockup {
display: inline-flex;
align-items: center;
gap: .85rem;
color: var(--silias-ink);
text-decoration: none;
}
.brand-logo-crop {
position: relative;
width: 126px;
height: 45px;
overflow: hidden;
flex: 0 0 auto;
}
.brand-logo-crop img {
position: absolute;
left: -2%;
top: 50%;
width: 104%;
height: auto;
transform: translateY(-50%);
}
.brand-divider {
width: 1px;
height: 28px;
background: var(--silias-border);
}
.brand-product {
font-size: .9rem;
font-weight: 700;
line-height: 1.15;
}
.brand-product small {
display: block;
margin-top: .18rem;
color: var(--silias-muted);
font-size: .72rem;
font-weight: 500;
}
.hero-eyebrow {
color: var(--silias-primary);
font-size: .78rem;
font-weight: 800;
letter-spacing: .09em;
text-transform: uppercase;
}
.hero-title {
max-width: 760px;
letter-spacing: -.025em;
}
.hero-copy {
max-width: 720px;
color: var(--silias-muted);
}
/* Card polish */
.card {
border-radius: var(--silias-radius);
@@ -28,6 +109,61 @@ body {
box-shadow: 0 10px 25px rgba(0,0,0,.06) !important;
}
.export-shell {
border: 1px solid rgba(228, 232, 242, .9);
box-shadow: 0 18px 48px rgba(21, 31, 80, .09) !important;
}
.form-section {
padding: 1.25rem;
border: 1px solid var(--silias-border);
border-radius: 1rem;
background: var(--silias-surface);
}
.section-heading {
display: flex;
align-items: flex-start;
gap: .8rem;
margin-bottom: 1rem;
}
.section-number {
display: inline-grid;
width: 2rem;
height: 2rem;
place-items: center;
flex: 0 0 auto;
border-radius: .65rem;
background: var(--silias-soft);
color: var(--silias-primary-dark);
font-weight: 800;
}
.section-heading h2 {
margin: 0;
font-size: 1.05rem;
}
.section-heading p {
margin: .2rem 0 0;
color: var(--silias-muted);
font-size: .9rem;
}
.selection-meta {
color: var(--silias-muted);
font-size: .84rem;
font-weight: 600;
}
.privacy-note {
padding: .9rem 1rem;
border: 1px solid var(--silias-border);
border-radius: .85rem;
background: #fafbff;
}
/* Form */
.form-label {
font-weight: 600;
@@ -44,7 +180,8 @@ body {
.form-control:focus,
.form-select:focus {
box-shadow: 0 0 0 .2rem rgba(13,110,253,.15);
border-color: #7c89e8;
box-shadow: 0 0 0 .2rem rgba(59, 76, 202, .14);
}
/* Buttons: DO NOT globally style "button" tag */
@@ -56,17 +193,31 @@ body {
padding-bottom: .85rem;
}
.btn-primary {
border-color: var(--silias-primary);
background: var(--silias-primary);
}
.btn-primary:hover,
.btn-primary:focus {
border-color: var(--silias-primary-dark);
background: var(--silias-primary-dark);
}
/* Scroll panels (if you keep class from index.php) */
.scrollWindow {
border-radius: 1rem;
scrollbar-color: #b8bfdc transparent;
scrollbar-width: thin;
}
/* Checkbox rows */
.form-check {
padding: .25rem 0;
padding: .3rem 0 .3rem 1.75rem;
}
.form-check-input {
cursor: pointer;
margin-left: -1.75rem;
}
.form-check-label {
cursor: pointer;
@@ -81,6 +232,11 @@ body {
footer {
margin-top: 0;
}
.site-footer {
color: var(--silias-muted);
background: #fff;
}
footer a {
text-decoration: none;
}
@@ -115,10 +271,24 @@ footer a:hover {
.card-body {
padding: 1.25rem !important;
}
.brand-logo-crop {
width: 104px;
height: 38px;
}
.brand-divider,
.brand-product small {
display: none;
}
.form-section {
padding: 1rem;
}
}
/* Fix: checkboxes not clipped and never overlap text */
.scrollWindow .form-check {
padding-left: 0 !important; /* remove bootstrap offset */
padding: .6rem 1.1rem !important;
margin: 0 !important;
}
@@ -129,6 +299,6 @@ footer a:hover {
.scrollWindow .form-check-label {
display: block;
padding-left: 1.6rem; /* space for the checkbox */
padding-left: 1.9rem;
line-height: 1.4;
}
}