1 Commits

Author SHA1 Message Date
Lee Hanken
4654adaa42 increased contrast of lane buttons, fixed font definition 2025-09-04 18:55:30 +01:00

View File

@@ -25,6 +25,12 @@ https://creativecommons.org/publicdomain/
local("BebasNeue"),
url("/css/bebas/BebasNeue.woff") format("woff");
}
@font-face {
font-family: "PatrickHand";
src:
local("PatrickHand"),
url("/css/patrickhand/PatrickHand-Regular.ttf") format("truetype");
}
:root {
--background-primary: #fffff7/*#fafafa#fbfbee #dfdfdf */;
--text-primary: #4d4d4d; /* HPR Grey */
@@ -368,28 +374,23 @@ a.lane-button {
justify-content: center;
margin: 0.5rem var(--link-spacing-horizontal);
padding: 0.5rem 0.25rem;
border-radius: 10px 25px 10px 25px;
border-width: 4px;
border-width: 3.5px;
border-color: var(--lane-button-border);
border-style: solid;
border-radius: 10px;
text-align: center;
image-rendering: pixelated;
background-image: url("../images/lane-button-background.png");
}
a.lane-button p {
font-family: 'Patrick Hand', cursive;
font-family: 'PatrickHand', sans-serif;
text-transform: lowercase;
font-weight: bold;
font-size: 1.2em;
mask-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1)), url("../images/charcoal.png");
mask-size: 20%;
font-size: 1.4em;
mask-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.1)), url("../images/charcoal.png");
mask-repeat: repeat;
mask-size: 10%;
background-clip: text;
color: black;
margin: -0.25rem;
transform: scaleY(1.1);
letter-spacing: 1px;
padding: 0.25rem;
}
@@ -399,60 +400,46 @@ a.lane-button:hover {
2px 4px 4px var(--link-primary-hover);
}
a.lane-button img {
height: clamp(95px, calc(100vw - var(--for-tablet-portrait-up)), 110px);
transform: scaleX(0.9);
mask-image: url("../images/charcoal.png");
mask-size: 60%;
height: clamp(100px, calc(100vw - var(--for-tablet-portrait-up)), 110px);
transform: scaleX(0.9);
mask-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)), url("../images/charcoal.png");
mask-repeat: repeat;
padding: 0.7rem;
mask-size: 70%;
padding: 0.5rem;
box-sizing: border-box;
}
#podcast_lane a.lane-button:first-of-type img {
mask-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.1)), url("../images/charcoal.png");
mask-size: 95%;
padding: 0px;
mask-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1)), url("../images/charcoal.png");
mask-repeat: repeat;
mask-size: 60%;
padding: 0.1rem;
}
#podcast_lane a.lane-button:first-of-type p {
mask-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1)), url("../images/charcoal.png");
font-size: 1.3em;
font-size: 1.5rem;
}
section:nth-of-type(odd) .lane a:nth-of-type(1) {
border-radius: 20px 15px 25px 15px;
background-size: 400%;
background-position: 50% 0%;
}
section:nth-of-type(odd) .lane a:nth-of-type(2) {
border-radius: 20px 15px 25px 15px;
background-size: 200%;
background-position: 0% 50%;
}
section:nth-of-type(odd) .lane a:nth-of-type(3) {
border-radius: 10px 25px 15px 20px;
background-size: 400%;
background-position: 75% 0%;
}
section:nth-of-type(odd) .lane a:nth-of-type(4) {
border-radius: 15px 15px 10px 20px;
background-size: 200%;
background-position: 25% 0%;
}
section:nth-of-type(even) .lane a:nth-of-type(1) {
border-radius: 25px 10px 15px 15px;
}
section:nth-of-type(even) .lane a:nth-of-type(2) {
border-radius: 20px 10px 15px 10px;
background-size: 200%;
background-position: 50% 0%;
}
section:nth-of-type(even) .lane a:nth-of-type(3) {
border-radius: 10px 20px 10px 15px;
background-size: 200%;
background-position: % 50%;
}
section:nth-of-type(even) .lane a:nth-of-type(4) {
border-radius: 15px 10px 25px 30px;
background-size: 800%;
background-position: 55% 50%;
}
#tag_line,
#title {