Add dynamic title sizing for better display on smaller screens

This commit is contained in:
2026-03-17 20:26:04 +00:00
parent b7007d2fb3
commit e47bebe7d4
2 changed files with 4 additions and 1 deletions

View File

@@ -162,6 +162,7 @@
.page-title { .page-title {
font-family: 'URW Gothic', sans-serif; font-family: 'URW Gothic', sans-serif;
font-weight: 600; font-weight: 600;
font-size: clamp(0.9rem, 2.5vw + 0.8rem, 2rem);
font-style: normal; font-style: normal;
margin-left: 5px; margin-left: 5px;
padding-bottom: 2px; padding-bottom: 2px;

View File

@@ -100,5 +100,7 @@
{"n":"Stevenage Hitchin Junction","t":"STHJC","c":"","s":"stevenage hitchin junction sthjc"}, {"n":"Stevenage Hitchin Junction","t":"STHJC","c":"","s":"stevenage hitchin junction sthjc"},
{"n":"Chelmsford New Hall Junction","t":"CHNJCT","c":"","s":"chelmsford new hall junction chnjct"}, {"n":"Chelmsford New Hall Junction","t":"CHNJCT","c":"","s":"chelmsford new hall junction chnjct"},
{"n":"","t":"BPWY532","c":"","s":"bpwy532"}, {"n":"","t":"BPWY532","c":"","s":"bpwy532"},
{"n":"Ipswich Derby Road Depot","t":"IPDRDP","c":"","s":"ipswich derby road depot ipdrdp"} {"n":"Ipswich Derby Road Depot","t":"IPDRDP","c":"","s":"ipswich derby road depot ipdrdp"},
{"n":"Rhoose Cardiff International Airport","c":"RIA","t":"RHOOSE","s":"rhoose cardiff international airport ria"},
{"n":"Southampton Airport Parkway","c":"SOA","t":"SOTAPT","s":"southampton airport parkway soa sotapt"}
] ]