Compare commits
No commits in common. "dbd241ec1c889df1f6a31c67b019cc5f6e3f2c69" and "26a97546e6e64778f0971218fe381e645b4f1e07" have entirely different histories.
dbd241ec1c
...
26a97546e6
3 changed files with 4 additions and 10 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1,5 +1,4 @@
|
|||
*~
|
||||
theme-compiled.css
|
||||
font/*
|
||||
!font/*.txt
|
||||
font/*.ttf
|
||||
*.jpg
|
||||
|
|
|
@ -3,7 +3,7 @@ This repository contains the code for my personal site, hosted at [carya.softwar
|
|||
# Building
|
||||
"Building" the site such that it can be deployed is simple. Clone the repository, add the relevant font(s) and large file(s), and compile the tailwindCSS.
|
||||
## Fonts
|
||||
Obtain the file [IosevkaAile-Regular.woff2](https://typeof.net/Iosevka/) and put it in the fonts folder. Obtain any large files omitted from the repository (currently just mushrooms.jpg) and put them in the project root folder.
|
||||
Obtain the file [ioseevka_ter_regular.ttf](https://typeof.net/Iosevka/) and put it in the fonts folder. Obtain any large files omitted from the repository (currently just mushrooms.jpg) and put them in the project root folder.
|
||||
## Tailwind
|
||||
[Install TailwindCSS](https://tailwindcss.com/docs/installation) (site most recently built with v3.3.3) with npm if you haven't already. Compile the CSS with the following terminal command.
|
||||
|
||||
|
|
|
@ -4,14 +4,9 @@
|
|||
|
||||
@font-face {
|
||||
font-family: 'Iosevka';
|
||||
src: url('../font/IosevkaAile-Regular.woff2') format('woff2');
|
||||
src: url('../font/ioseevka_term_regular.ttf') format('truetype');
|
||||
}
|
||||
|
||||
/*@font-face {
|
||||
font-family: 'Iosevka';
|
||||
src: url('../font/pkgWebFont-IosevkaAile-29.0.4.ttf') format('truetype');
|
||||
}*/
|
||||
|
||||
@font-face {
|
||||
font-family: 'TitleFont';
|
||||
src: url('../font/ioseevka_term_regular.ttf') format('truetype');
|
||||
|
@ -24,7 +19,7 @@ body {
|
|||
|
||||
|
||||
.title {
|
||||
font-family: Iosevka;
|
||||
font-family: TitleFont;
|
||||
font-size: 72px;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue