forked from HPR/hpr_generator
		
	Merge pull request 'apply a crafty style to the lane buttons' (#273) from lee/hpr_generator:newsite into newsite
Reviewed-on: HPR/hpr_generator#273
This commit is contained in:
		| @@ -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 */ | ||||
| @@ -366,24 +372,74 @@ a.lane-button { | ||||
| 	display: flex; | ||||
| 	flex-direction: column; | ||||
| 	justify-content: center; | ||||
| 	margin: 0.5rem; | ||||
| 	padding: 0.5rem; | ||||
| 	border-width: 5px; | ||||
| 	margin: 0.5rem var(--link-spacing-horizontal); | ||||
| 	padding: 0.5rem 0.25rem; | ||||
| 	border-width: 3.5px; | ||||
| 	border-color: var(--lane-button-border); | ||||
| 	border-style: solid; | ||||
| 	border-radius: 5px; | ||||
| 	border-radius: 10px; | ||||
| 	text-align: center; | ||||
| 	background-image: url("../images/lane-button-background.png"); | ||||
|  | ||||
| } | ||||
| a.lane-button p { | ||||
| 	font-family: 'PatrickHand', sans-serif; | ||||
| 	text-transform: lowercase; | ||||
| 	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; | ||||
| 	margin: -0.25rem; | ||||
| 	letter-spacing: 1px; | ||||
| 	padding: 0.25rem; | ||||
| } | ||||
| a.lane-button:hover { | ||||
| 	box-shadow:  | ||||
|       1px 2px 2px var(--link-primary-hover), | ||||
|       2px 4px 4px var(--link-primary-hover); | ||||
| } | ||||
| a.lane-button img { | ||||
| 	height: clamp(95px, calc(100vw - var(--for-tablet-portrait-up)), 110px); | ||||
| 	filter: invert(60%) sepia(50%) hue-rotate(140deg) saturate(200%); | ||||
| 	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; | ||||
| 	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.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 { | ||||
| 	font-size: 1.5rem; | ||||
| } | ||||
| section:nth-of-type(odd) .lane a:nth-of-type(1) { | ||||
| 	border-radius: 20px 15px 25px 15px; | ||||
| } | ||||
| section:nth-of-type(odd) .lane a:nth-of-type(2) { | ||||
| 	border-radius: 20px 15px 25px 15px; | ||||
| } | ||||
| section:nth-of-type(odd) .lane a:nth-of-type(3) { | ||||
| 	border-radius: 10px 25px 15px 20px; | ||||
| } | ||||
| section:nth-of-type(odd) .lane a:nth-of-type(4) { | ||||
| 	border-radius: 15px 15px 10px 20px; | ||||
| } | ||||
| 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; | ||||
| } | ||||
| section:nth-of-type(even) .lane a:nth-of-type(3) { | ||||
| 	border-radius: 10px 20px 10px 15px; | ||||
| } | ||||
| section:nth-of-type(even) .lane a:nth-of-type(4) { | ||||
| 	border-radius: 15px 10px 25px 30px; | ||||
| } | ||||
| #tag_line, | ||||
| #title { | ||||
|   | ||||
							
								
								
									
										93
									
								
								public_html/css/patrickhand/OFL.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										93
									
								
								public_html/css/patrickhand/OFL.txt
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,93 @@ | ||||
| Copyright (c) 2010-2012 Patrick Wagesreiter (mail@patrickwagesreiter.at) | ||||
|  | ||||
| This Font Software is licensed under the SIL Open Font License, Version 1.1. | ||||
| This license is copied below, and is also available with a FAQ at: | ||||
| https://openfontlicense.org | ||||
|  | ||||
|  | ||||
| ----------------------------------------------------------- | ||||
| SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 | ||||
| ----------------------------------------------------------- | ||||
|  | ||||
| PREAMBLE | ||||
| The goals of the Open Font License (OFL) are to stimulate worldwide | ||||
| development of collaborative font projects, to support the font creation | ||||
| efforts of academic and linguistic communities, and to provide a free and | ||||
| open framework in which fonts may be shared and improved in partnership | ||||
| with others. | ||||
|  | ||||
| The OFL allows the licensed fonts to be used, studied, modified and | ||||
| redistributed freely as long as they are not sold by themselves. The | ||||
| fonts, including any derivative works, can be bundled, embedded,  | ||||
| redistributed and/or sold with any software provided that any reserved | ||||
| names are not used by derivative works. The fonts and derivatives, | ||||
| however, cannot be released under any other type of license. The | ||||
| requirement for fonts to remain under this license does not apply | ||||
| to any document created using the fonts or their derivatives. | ||||
|  | ||||
| DEFINITIONS | ||||
| "Font Software" refers to the set of files released by the Copyright | ||||
| Holder(s) under this license and clearly marked as such. This may | ||||
| include source files, build scripts and documentation. | ||||
|  | ||||
| "Reserved Font Name" refers to any names specified as such after the | ||||
| copyright statement(s). | ||||
|  | ||||
| "Original Version" refers to the collection of Font Software components as | ||||
| distributed by the Copyright Holder(s). | ||||
|  | ||||
| "Modified Version" refers to any derivative made by adding to, deleting, | ||||
| or substituting -- in part or in whole -- any of the components of the | ||||
| Original Version, by changing formats or by porting the Font Software to a | ||||
| new environment. | ||||
|  | ||||
| "Author" refers to any designer, engineer, programmer, technical | ||||
| writer or other person who contributed to the Font Software. | ||||
|  | ||||
| PERMISSION & CONDITIONS | ||||
| Permission is hereby granted, free of charge, to any person obtaining | ||||
| a copy of the Font Software, to use, study, copy, merge, embed, modify, | ||||
| redistribute, and sell modified and unmodified copies of the Font | ||||
| Software, subject to the following conditions: | ||||
|  | ||||
| 1) Neither the Font Software nor any of its individual components, | ||||
| in Original or Modified Versions, may be sold by itself. | ||||
|  | ||||
| 2) Original or Modified Versions of the Font Software may be bundled, | ||||
| redistributed and/or sold with any software, provided that each copy | ||||
| contains the above copyright notice and this license. These can be | ||||
| included either as stand-alone text files, human-readable headers or | ||||
| in the appropriate machine-readable metadata fields within text or | ||||
| binary files as long as those fields can be easily viewed by the user. | ||||
|  | ||||
| 3) No Modified Version of the Font Software may use the Reserved Font | ||||
| Name(s) unless explicit written permission is granted by the corresponding | ||||
| Copyright Holder. This restriction only applies to the primary font name as | ||||
| presented to the users. | ||||
|  | ||||
| 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font | ||||
| Software shall not be used to promote, endorse or advertise any | ||||
| Modified Version, except to acknowledge the contribution(s) of the | ||||
| Copyright Holder(s) and the Author(s) or with their explicit written | ||||
| permission. | ||||
|  | ||||
| 5) The Font Software, modified or unmodified, in part or in whole, | ||||
| must be distributed entirely under this license, and must not be | ||||
| distributed under any other license. The requirement for fonts to | ||||
| remain under this license does not apply to any document created | ||||
| using the Font Software. | ||||
|  | ||||
| TERMINATION | ||||
| This license becomes null and void if any of the above conditions are | ||||
| not met. | ||||
|  | ||||
| DISCLAIMER | ||||
| THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||||
| EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF | ||||
| MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT | ||||
| OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE | ||||
| COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, | ||||
| INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL | ||||
| DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | ||||
| FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM | ||||
| OTHER DEALINGS IN THE FONT SOFTWARE. | ||||
							
								
								
									
										
											BIN
										
									
								
								public_html/css/patrickhand/PatrickHand-Regular.ttf
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								public_html/css/patrickhand/PatrickHand-Regular.ttf
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								public_html/images/charcoal.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								public_html/images/charcoal.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 57 KiB | 
							
								
								
									
										
											BIN
										
									
								
								public_html/images/lane-button-background.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								public_html/images/lane-button-background.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 24 KiB | 
| @@ -47,22 +47,22 @@ | ||||
| 	  <div class="lane"> | ||||
| 	  <a class="lane-button" href="<!--% absolute_path(baseurl) %-->about.html#recording_a_podcast"> | ||||
| 			<img src="<!--% absolute_path(baseurl) %-->images/icons/mic-fill.svg" alt="" height="110"> | ||||
| 		  Record | ||||
| 			<p>Record</p> | ||||
| 	  </a> | ||||
| 	  <br class="no-css"> | ||||
| <a class="lane-button" href="https://hub.hackerpublicradio.org/calendar.php"> | ||||
| 			<img src="<!--% absolute_path(baseurl) %-->images/icons/calendar-2-line.svg" alt="" height="110"> | ||||
| 		  Schedule | ||||
| 			<p>Schedule</p> | ||||
| 	  </a> | ||||
| 	  <br class="no-css"> | ||||
| <a class="lane-button" href="<!--% absolute_path(baseurl) %-->syndication.html"> | ||||
| 			<img src="<!--% absolute_path(baseurl) %-->images/icons/rss-fill.svg" alt="" height="110"> | ||||
| 		 Subscribe  | ||||
| 			<p>Subscribe</p> | ||||
| 	  </a> | ||||
| 	  <br class="no-css"> | ||||
| <a class="lane-button" href="<!--% absolute_path(baseurl) %-->eps/index.html"> | ||||
| 			<img src="<!--% absolute_path(baseurl) %-->images/icons/volume-up-fill.svg" alt="" height="110"> | ||||
| 		 Listen  | ||||
| 			<p>Listen</p> | ||||
| 	  </a> | ||||
| 	</div> | ||||
|   </section> | ||||
| @@ -71,22 +71,22 @@ | ||||
| 	  <div class="lane"> | ||||
| 	  <a class="lane-button" href="<!--% absolute_path(baseurl) %-->correspondents/index.html"> | ||||
| 			<img src="<!--% absolute_path(baseurl) %-->images/icons/user-fill.svg" alt="" height="110"> | ||||
| 		 Host  | ||||
| 			<p>Host</p> | ||||
| 	  </a> | ||||
| 	  <br class="no-css"> | ||||
| 	  <a class="lane-button" href="<!--% absolute_path(baseurl) %-->series/index.html"> | ||||
| 			<img src="<!--% absolute_path(baseurl) %-->images/icons/stack-fill.svg" alt="" height="110"> | ||||
| 		 Series  | ||||
| 			<p>Series</p> | ||||
| 	  </a> | ||||
| 	  <br class="no-css"> | ||||
| <a class="lane-button" href="<!--% absolute_path(baseurl) %-->about.html"> | ||||
| 			<img src="<!--% absolute_path(baseurl) %-->images/icons/question-mark.svg" alt="" height="110"> | ||||
| 		 About  | ||||
| 			<p>About</p> | ||||
| 	  </a> | ||||
| 	  <br class="no-css"> | ||||
| 	  <a class="lane-button" href="<!--% absolute_path(baseurl) %-->search.html"> | ||||
| 			<img src="<!--% absolute_path(baseurl) %-->images/icons/search.svg" alt="" height="110"> | ||||
| 		Search  | ||||
| 			<p>Search</p> | ||||
| 	  </a> | ||||
| 	</div> | ||||
|   </section> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user