Compare commits
4 Commits
75b84da3b5
...
cf5b5e8fc5
Author | SHA1 | Date | |
---|---|---|---|
|
cf5b5e8fc5 | ||
|
7e6d9a1009 | ||
|
1ef22fc697 | ||
|
e55a54cf7f |
5
.gitattributes
vendored
Normal file
5
.gitattributes
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
*.jpeg filter=lfs diff=lfs merge=lfs -text
|
||||
*.jpg filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.gif filter=lfs diff=lfs merge=lfs -text
|
||||
*.ico filter=lfs diff=lfs merge=lfs -text
|
3
.gitignore
vendored
3
.gitignore
vendored
@@ -13,3 +13,6 @@ hugo.linux
|
||||
# Temporary lock file while building
|
||||
/.hugo_build.lock
|
||||
|
||||
# Generated CSS/JS files
|
||||
**/*.min.css
|
||||
**/*.min.js
|
||||
|
12
.gitmodules
vendored
Normal file
12
.gitmodules
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
[submodule "static/font/RobotoMono"]
|
||||
path = static/font/RobotoMono
|
||||
url = https://github.com/googlefonts/RobotoMono.git
|
||||
[submodule "static/css/animate.css"]
|
||||
path = static/css/animate.css
|
||||
url = https://github.com/animate-css/animate.css.git
|
||||
[submodule "static/css/terminal.css"]
|
||||
path = static/css/terminal.css
|
||||
url = https://github.com/Gioni06/terminal.css.git
|
||||
[submodule "static/js/masonry"]
|
||||
path = static/js/masonry
|
||||
url = https://github.com/desandro/masonry.git
|
22
Makefile
Normal file
22
Makefile
Normal file
@@ -0,0 +1,22 @@
|
||||
.PHONY: all css-animate css-terminal css clean-submodules clean
|
||||
|
||||
all: css js clean
|
||||
|
||||
css: css-animate css-terminal
|
||||
|
||||
css-animate:
|
||||
cp static/css/animate.css/animate.min.css static/css/animate.min.css
|
||||
|
||||
css-terminal:
|
||||
cd static/css/terminal.css && npm run build
|
||||
cp static/css/terminal.css/dist/terminal.min.css static/css/terminal.min.css
|
||||
|
||||
js: js-masonry
|
||||
|
||||
js-masonry:
|
||||
cp static/js/masonry/dist/masonry.pkgd.min.js static/js/masonry.min.js
|
||||
|
||||
clean-submodules:
|
||||
git submodule foreach --recursive 'git reset --hard'
|
||||
|
||||
clean: clean-submodules
|
@@ -24,7 +24,13 @@
|
||||
treefmt = inputs.treefmt-nix.lib.evalModule pkgs ./treefmt.nix;
|
||||
in
|
||||
{
|
||||
devShells.${system}.default = pkgs.mkShell { packages = with pkgs; [ hugo ]; };
|
||||
devShells.${system}.default = pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
hugo
|
||||
nodejs
|
||||
yarn
|
||||
];
|
||||
};
|
||||
|
||||
formatter.${system} = treefmt.config.build.wrapper;
|
||||
checks.formatting.${system} = treefmt.config.build.check inputs.self;
|
||||
|
1
static/css/animate.css
vendored
Submodule
1
static/css/animate.css
vendored
Submodule
Submodule static/css/animate.css added at 3f8ab233db
31
static/css/huell.css
Normal file
31
static/css/huell.css
Normal file
@@ -0,0 +1,31 @@
|
||||
@font-face {
|
||||
font-family: "Roboto Mono";
|
||||
src: url("../font/RobotoMono/fonts/ttf/RobotoMono-Regular.ttf") format("truetype");
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
text-rendering: optimizeLegibility;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Roboto Mono";
|
||||
src: url("../font/RobotoMono/fonts/ttf/RobotoMono-Italic.ttf") format("truetype");
|
||||
font-style: italic;
|
||||
font-weight: 400;
|
||||
text-rendering: optimizeLegibility;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Roboto Mono";
|
||||
src: url("../font/RobotoMono/fonts/ttf/RobotoMono-Bold.ttf") format("truetype");
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
text-rendering: optimizeLegibility;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Roboto Mono";
|
||||
src: url("../font/RobotoMono/fonts/ttf/RobotoMono-BoldItalic.ttf") format("truetype");
|
||||
font-style: italic;
|
||||
font-weight: 700;
|
||||
text-rendering: optimizeLegibility;
|
||||
}
|
1
static/css/terminal.css
Submodule
1
static/css/terminal.css
Submodule
Submodule static/css/terminal.css added at dd8a64ce6e
1
static/font/RobotoMono
Submodule
1
static/font/RobotoMono
Submodule
Submodule static/font/RobotoMono added at 895ec69199
1
static/js/masonry
Submodule
1
static/js/masonry
Submodule
Submodule static/js/masonry added at 3b0883cf4a
Reference in New Issue
Block a user