font
This commit is contained in:
BIN
static/fonts/Humber Town.otf
Normal file
BIN
static/fonts/Humber Town.otf
Normal file
Binary file not shown.
@@ -1,4 +1,12 @@
|
|||||||
/* Planty theme variables (converted from LESS) */
|
/* Planty theme variables (converted from LESS) */
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Humber Town';
|
||||||
|
src: url('/static/fonts/Humber Town.otf') format('opentype');
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: normal;
|
||||||
|
font-display: swap;
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font-family: 'Quicksand', 'Segoe UI', Arial, sans-serif;
|
font-family: 'Quicksand', 'Segoe UI', Arial, sans-serif;
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
@@ -12,9 +20,10 @@ nav {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.site-title {
|
.site-title {
|
||||||
|
font-family: 'Humber Town', 'Quicksand', sans-serif;
|
||||||
color: #3e5637;
|
color: #3e5637;
|
||||||
font-weight: bold;
|
font-weight: normal;
|
||||||
font-size: 1.25rem;
|
font-size: 1.5rem;
|
||||||
letter-spacing: 0.02em;
|
letter-spacing: 0.02em;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -55,9 +64,10 @@ nav {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.admin-header-title {
|
.admin-header-title {
|
||||||
|
font-family: 'Humber Town', 'Quicksand', sans-serif;
|
||||||
color: #3e5637;
|
color: #3e5637;
|
||||||
font-size: 2rem;
|
font-size: 2.5rem;
|
||||||
font-weight: bold;
|
font-weight: normal;
|
||||||
letter-spacing: 0.01em;
|
letter-spacing: 0.01em;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -169,3 +179,35 @@ nav {
|
|||||||
break-inside: avoid;
|
break-inside: avoid;
|
||||||
margin-bottom: 2rem;
|
margin-bottom: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Add decorative font to card titles */
|
||||||
|
.card h2, .card h3 {
|
||||||
|
font-family: 'Humber Town', 'Quicksand', sans-serif;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Add decorative font to special elements */
|
||||||
|
.plant-name, .environment-name, .climate-name {
|
||||||
|
font-family: 'Humber Town', 'Quicksand', sans-serif;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Plant title styling */
|
||||||
|
.plant-card .plant-title,
|
||||||
|
.plant-detail .plant-title,
|
||||||
|
.plant-card h2,
|
||||||
|
.plant-detail h1,
|
||||||
|
article h1.text-4xl {
|
||||||
|
font-family: 'Humber Town', 'Quicksand', sans-serif;
|
||||||
|
font-weight: normal;
|
||||||
|
font-size: 4rem;
|
||||||
|
color: #3e5637;
|
||||||
|
margin-bottom: 0rem;
|
||||||
|
line-height: 1.2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.plant-detail .plant-title,
|
||||||
|
.plant-detail h1,
|
||||||
|
article h1.text-4xl {
|
||||||
|
font-size: 6rem;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user