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