forked from HPR/hpr_generator
		
	Clean up font usage
Remove unused fonts. Add woff2 types for smaller downloads. Offer woff2, woff, truetype/opentype versions of the font files.
This commit is contained in:
		
							
								
								
									
										
											BIN
										
									
								
								public_html/css/bebas/BebasNeue.woff2
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								public_html/css/bebas/BebasNeue.woff2
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										93
									
								
								public_html/css/bebas/OFL.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										93
									
								
								public_html/css/bebas/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. | ||||||
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							| @@ -13,22 +13,21 @@ https://creativecommons.org/publicdomain/ | |||||||
|  *	- CSS-Tricks: Linearly Scale font-size with CSS clamp() Based on the Viewport |  *	- CSS-Tricks: Linearly Scale font-size with CSS clamp() Based on the Viewport | ||||||
|  *		-- https://css-tricks.com/linearly-scale-font-size-with-css-clamp-based-on-the-viewport/ |  *		-- https://css-tricks.com/linearly-scale-font-size-with-css-clamp-based-on-the-viewport/ | ||||||
| */ | */ | ||||||
| @font-face { |  | ||||||
|   font-family: "GNUTypewriter"; |  | ||||||
|   src: |  | ||||||
|     local("GNUTypewriter"), |  | ||||||
|     url("/css/gnutypewriter/gtw.woff") format("woff"); |  | ||||||
| } |  | ||||||
| @font-face { | @font-face { | ||||||
|   font-family: "BebasNeue"; |   font-family: "BebasNeue"; | ||||||
|   src: |   src: | ||||||
|     local("BebasNeue"), |     local("BEBAS NEUE"), | ||||||
|  |     url("/css/bebas/BebasNeue.woff2") format("woff2"); | ||||||
|     url("/css/bebas/BebasNeue.woff") format("woff"); |     url("/css/bebas/BebasNeue.woff") format("woff"); | ||||||
|  |     url("/css/bebas/BebasNeue.otf") format("opentype"); | ||||||
| } | } | ||||||
| @font-face { | @font-face { | ||||||
|   font-family: "PatrickHand"; |   font-family: "PatrickHand"; | ||||||
|   src: |   src: | ||||||
|     local("PatrickHand"), |     local("Patrick Hand"), | ||||||
|  | 	url("/css/patrickhand/PatrickHand-Regular.woff2") format("woff2"), | ||||||
|  |     url("/css/patrickhand/PatrickHand-Regular.woff") format("woff"); | ||||||
| 	url("/css/patrickhand/PatrickHand-Regular.ttf") format("truetype"); | 	url("/css/patrickhand/PatrickHand-Regular.ttf") format("truetype"); | ||||||
| } | } | ||||||
| :root { | :root { | ||||||
| @@ -45,13 +44,23 @@ https://creativecommons.org/publicdomain/ | |||||||
| 	--link-secondary-hover: #f9e9c2; | 	--link-secondary-hover: #f9e9c2; | ||||||
| 	--link-title-color: #00003e; | 	--link-title-color: #00003e; | ||||||
|  |  | ||||||
|  | 	--font-family-hpr: Verdana, Arial, Helvetica, sans-serif; /* 1em/1.5 OpenDyslexic, */; | ||||||
|  | 	--font-size-default: clamp(1rem, 15px + 0.3vw, 1.07rem); | ||||||
|  |  | ||||||
|  | 	--logo-font-family: var(--font-family-hpr);   | ||||||
|  | 	--logo-font-weight: bolder; | ||||||
|  | 	--logo-font-size: 7.5rem; | ||||||
|  | 	--logo-letter-spacing: -0.65rem; | ||||||
|  | 	--logo-line-height: 0.75; | ||||||
|  | 	--logo-margin: 0 0 0.25rem 0; | ||||||
|  |  | ||||||
|  | 	--tagline-font-family:"BebasNeue", sans-serif;  | ||||||
|  | 	--lane-button-font-family: "PatrickHand", var(--font-family-hpr);  | ||||||
| 	--lane-button-border: #80b4c0; | 	--lane-button-border: #80b4c0; | ||||||
| 	--input-border-primary: #4d4d4d; | 	--input-border-primary: #4d4d4d; | ||||||
|  |  | ||||||
| 	--link-spacing-horizontal: clamp(0.5rem, -0.25rem + 3vw, 2.5rem); | 	--link-spacing-horizontal: clamp(0.5rem, -0.25rem + 3vw, 2.5rem); | ||||||
|  |  | ||||||
| 	--font-family-hpr: Verdana, Arial, Helvetica, sans-serif; /* 1em/1.5 OpenDyslexic, */; |  | ||||||
| 	--font-size-default: clamp(1rem, 15px + 0.3vw, 1.07rem); |  | ||||||
|  |  | ||||||
| 	--shadow-main-header-color: hsl(190deg 48% 49% / 0.2); | 	--shadow-main-header-color: hsl(190deg 48% 49% / 0.2); | ||||||
| 	--shadow-secondary-color: hsl(0, 0%, 30.2%); | 	--shadow-secondary-color: hsl(0, 0%, 30.2%); | ||||||
| @@ -383,7 +392,7 @@ a.lane-button { | |||||||
|  |  | ||||||
| } | } | ||||||
| a.lane-button p { | a.lane-button p { | ||||||
| 	font-family: 'PatrickHand', sans-serif; | 	font-family: var(--lane-button-font-family); | ||||||
| 	text-transform: lowercase; | 	text-transform: lowercase; | ||||||
| 	font-size: 1.4em; | 	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-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.1)), url("../images/charcoal.png"); | ||||||
| @@ -468,10 +477,12 @@ section:nth-of-type(even) .lane a:nth-of-type(4) { | |||||||
| 	color: var(--link-primary-hover); | 	color: var(--link-primary-hover); | ||||||
| } | } | ||||||
| #title #site_acronym { | #title #site_acronym { | ||||||
| 	font-size: 7.5rem; | 	font-family: var(--logo-font-family); | ||||||
| 	letter-spacing: -0.65rem; | 	font-size: var(--logo-font-size); | ||||||
| 	line-height: 0.75; | 	font-weight: var(--logo-font-weight);  | ||||||
| 	margin-bottom: 0.25rem; | 	letter-spacing: var(--logo-letter-spacing); | ||||||
|  | 	line-height: var(--logo-line-height); | ||||||
|  | 	margin: var(--logo-margin); | ||||||
| 	color: transparent; | 	color: transparent; | ||||||
| } | } | ||||||
| #title #site_acronym a { | #title #site_acronym a { | ||||||
| @@ -488,13 +499,13 @@ section:nth-of-type(even) .lane a:nth-of-type(4) { | |||||||
| #tag_line #tag1, | #tag_line #tag1, | ||||||
| #tag_line #tag2 { | #tag_line #tag2 { | ||||||
| 	text-transform: uppercase; | 	text-transform: uppercase; | ||||||
| 	font-family: "BebasNeue", sans-serif; | 	font-family: var(--tagline-font-family); | ||||||
| 	font-size: clamp(1.03rem, -0.25rem + 3vw, var(--default-header-4-font-size)); | 	font-size: clamp(1.03rem, -0.25rem + 3vw, var(--default-header-4-font-size)); | ||||||
| 	font-weight: var(--default-header-x-font-weight); | 	font-weight: var(--default-header-x-font-weight); | ||||||
| 	letter-spacing: 0.05rem; | 	letter-spacing: 0.05rem; | ||||||
| } | } | ||||||
| #tag_line #tag1 { | #tag_line #tag1 { | ||||||
| 	font-size: clamp(2.1rem, calc(100vw - 360px + 2.1rem), 2.3rem); | 	font-size: clamp(2.1rem, calc(100vw - 360px + 1rem), 2.3rem);; | ||||||
| } | } | ||||||
| #tag_line #tag3 { | #tag_line #tag3 { | ||||||
| 	text-align: center; | 	text-align: center; | ||||||
|   | |||||||
							
								
								
									
										
											BIN
										
									
								
								public_html/css/patrickhand/BebasNeue.woff
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								public_html/css/patrickhand/BebasNeue.woff
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								public_html/css/patrickhand/PatrickHand-Regular.woff
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								public_html/css/patrickhand/PatrickHand-Regular.woff
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										
											BIN
										
									
								
								public_html/css/patrickhand/PatrickHand-Regular.woff2
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								public_html/css/patrickhand/PatrickHand-Regular.woff2
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
		Reference in New Issue
	
	Block a user