-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ea3f826
commit 85f6df2
Showing
12 changed files
with
343 additions
and
68 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,159 @@ | ||
/* Import Google Handwriting Fonts */ | ||
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;500;600;700&display=swap'); | ||
@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@300;400;700&display=swap'); | ||
@import url('https://fonts.googleapis.com/css2?family=Shadows+Into+Light&display=swap'); | ||
@import url('https://fonts.googleapis.com/css2?family=Indie+Flower&display=swap'); | ||
@import url('https://fonts.googleapis.com/css2?family=Homemade+Apple&display=swap'); | ||
@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&display=swap'); | ||
@import url('https://fonts.googleapis.com/css2?family=Satisfy&display=swap'); | ||
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;500;600;700&display=swap'); | ||
@import url('https://fonts.googleapis.com/css2?family=Reenie+Beanie&display=swap'); | ||
@import url('https://fonts.googleapis.com/css2?family=Patrick+Hand&display=swap'); | ||
|
||
:root { | ||
/* Casual Handwriting */ | ||
--handwriting-casual: 'Caveat', cursive; | ||
--handwriting-notes: 'Kalam', cursive; | ||
--handwriting-personal: 'Shadows Into Light', cursive; | ||
--handwriting-friendly: 'Indie Flower', cursive; | ||
|
||
/* Formal/Elegant Handwriting */ | ||
--handwriting-elegant: 'Dancing Script', cursive; | ||
--handwriting-fancy: 'Satisfy', cursive; | ||
--handwriting-neat: 'Homemade Apple', cursive; | ||
|
||
/* Special Styles */ | ||
--handwriting-marker: 'Permanent Marker', cursive; | ||
--handwriting-child: 'Patrick Hand', cursive; | ||
--handwriting-messy: 'Reenie Beanie', cursive; | ||
} | ||
|
||
/* Font Weight Variables */ | ||
:root { | ||
--hw-light: 300; | ||
--hw-regular: 400; | ||
--hw-medium: 500; | ||
--hw-semibold: 600; | ||
--hw-bold: 700; | ||
} | ||
|
||
/* Utility Classes for Different Handwriting Styles */ | ||
.handwriting-casual { | ||
font-family: var(--handwriting-casual); | ||
font-weight: var(--hw-regular); | ||
line-height: 1.6; | ||
letter-spacing: 0.5px; | ||
} | ||
|
||
.handwriting-notes { | ||
font-family: var(--handwriting-notes); | ||
font-weight: var(--hw-regular); | ||
line-height: 1.5; | ||
letter-spacing: 0.3px; | ||
} | ||
|
||
.handwriting-personal { | ||
font-family: var(--handwriting-personal); | ||
line-height: 1.6; | ||
letter-spacing: 0.8px; | ||
} | ||
|
||
.handwriting-friendly { | ||
font-family: var(--handwriting-friendly); | ||
font-weight: var(--hw-bold); | ||
line-height: 1.5; | ||
letter-spacing: 0.5px; | ||
} | ||
|
||
.handwriting-elegant { | ||
font-family: var(--handwriting-elegant); | ||
font-weight: var(--hw-regular); | ||
line-height: 1.6; | ||
letter-spacing: 0.5px; | ||
} | ||
|
||
.handwriting-fancy { | ||
font-family: var(--handwriting-fancy); | ||
line-height: 1.4; | ||
letter-spacing: 0.3px; | ||
} | ||
|
||
.handwriting-neat { | ||
font-family: var(--handwriting-neat); | ||
line-height: 1.8; | ||
letter-spacing: 0.2px; | ||
} | ||
|
||
.handwriting-marker { | ||
font-family: var(--handwriting-marker); | ||
line-height: 1.4; | ||
letter-spacing: 1px; | ||
} | ||
|
||
.handwriting-child { | ||
font-family: var(--handwriting-child); | ||
line-height: 1.5; | ||
letter-spacing: 0.5px; | ||
} | ||
|
||
.handwriting-messy { | ||
font-family: var(--handwriting-messy); | ||
line-height: 1.6; | ||
letter-spacing: 0.8px; | ||
} | ||
|
||
/* Size Variants */ | ||
.hw-text-sm { | ||
font-size: 1rem; | ||
} | ||
|
||
.hw-text-md { | ||
font-size: 1.25rem; | ||
} | ||
|
||
.hw-text-lg { | ||
font-size: 1.5rem; | ||
} | ||
|
||
.hw-text-xl { | ||
font-size: 2rem; | ||
} | ||
|
||
/* Optional: Add some ink-like effects */ | ||
.ink-effect { | ||
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1); | ||
} | ||
|
||
/* Optional: Add paper texture background */ | ||
.paper-bg { | ||
background-color: #fff; | ||
background-image: linear-gradient( | ||
0deg, | ||
transparent 24%, | ||
rgba(0, 0, 0, 0.05) 25%, | ||
rgba(0, 0, 0, 0.05) 26%, | ||
transparent 27%, | ||
transparent 74%, | ||
rgba(0, 0, 0, 0.05) 75%, | ||
rgba(0, 0, 0, 0.05) 76%, | ||
transparent 77%, | ||
transparent | ||
); | ||
background-size: 50px 50px; | ||
} | ||
|
||
/* Responsive adjustments */ | ||
@media screen and (max-width: 768px) { | ||
.hw-text-sm { | ||
font-size: 0.875rem; | ||
} | ||
.hw-text-md { | ||
font-size: 1.125rem; | ||
} | ||
.hw-text-lg { | ||
font-size: 1.25rem; | ||
} | ||
.hw-text-xl { | ||
font-size: 1.75rem; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.