feat(options): inserted h2 section headers as big as the h1 header

Row 128: the section headers this options page inserts inside the tab panes
("Header", "Logos", "Default font", "Default colors", "Progress bar")
were Bootstrap h2-sized. The inline <style> of options.twig now applies to
.tab-content h2:not(.modal-title) the exact same rule Bootstrap applies to
h1 — font-size: calc(1.375rem + 1.5vw), 2.5rem at >=1200px — so they render
just as big as the h1 page header at every viewport. The modal title
h2.modal-title is outside .tab-content and explicitly excluded. No options.js
change -> OPTIONS_JS_TOKEN stays 20261126.8. Verified: render tc=588, jsdom
6/6 incl. a new pin (calc rule + 2.5rem media rule present, modal-title
excluded); export exit 0. Variants not rebuilt (deferred).

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
Tammo ter Hark 2026-11-26 15:55:28 +01:00
commit 6170efc7a8

View file

@ -170,6 +170,18 @@
.action_update_options_string_form .form-label {
font-size: 16px;
}
/* row 128: the section headers this page inserts (h2 inside the tab panes,
e.g. "Header", "Logos", "Default colors") are just as big as the h1 page
header — the exact same rule Bootstrap applies to h1 (the modal title
h2.modal-title is outside .tab-content and stays small). */
.tab-content h2:not(.modal-title) {
font-size: calc(1.375rem + 1.5vw);
}
@media (min-width: 1200px) {
.tab-content h2:not(.modal-title) {
font-size: 2.5rem;
}
}
.color-mode-effective {
display: inline-block;
width: 1.1rem;