From 4d9c1386d76342f11347375053690659ba06f5c6 Mon Sep 17 00:00:00 2001 From: Idrees Hassan Date: Fri, 16 Aug 2024 14:27:22 -0400 Subject: [PATCH] Add project site --- .gitignore | 4 +- docs/Gemfile | 3 + docs/Gemfile.lock | 78 +++++++++++++++++++++++++ docs/_config.yml | 3 + docs/index.md | 23 ++++++++ docs/stylesheet.css | 139 ++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 249 insertions(+), 1 deletion(-) create mode 100644 docs/Gemfile create mode 100644 docs/Gemfile.lock create mode 100644 docs/_config.yml create mode 100644 docs/index.md create mode 100644 docs/stylesheet.css diff --git a/.gitignore b/.gitignore index 9e22d50..f46dbdd 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,6 @@ .DS_Store src/__pycache__ dist/ -build/ \ No newline at end of file +build/ +docs/_site/ +docs/.jekyll-cache/ \ No newline at end of file diff --git a/docs/Gemfile b/docs/Gemfile new file mode 100644 index 0000000..e14aa7f --- /dev/null +++ b/docs/Gemfile @@ -0,0 +1,3 @@ +gem "jekyll" +gem "webrick" +gem "jekyll-remote-theme" \ No newline at end of file diff --git a/docs/Gemfile.lock b/docs/Gemfile.lock new file mode 100644 index 0000000..942a8ef --- /dev/null +++ b/docs/Gemfile.lock @@ -0,0 +1,78 @@ +GEM + specs: + addressable (2.8.7) + public_suffix (>= 2.0.2, < 7.0) + colorator (1.1.0) + concurrent-ruby (1.3.4) + em-websocket (0.5.3) + eventmachine (>= 0.12.9) + http_parser.rb (~> 0) + eventmachine (1.2.7) + ffi (1.17.0-arm64-darwin) + forwardable-extended (2.6.0) + http_parser.rb (0.8.0) + i18n (1.8.11) + concurrent-ruby (~> 1.0) + jekyll (4.3.3) + addressable (~> 2.4) + colorator (~> 1.0) + em-websocket (~> 0.5) + i18n (~> 1.0) + jekyll-sass-converter (>= 2.0, < 4.0) + jekyll-watch (~> 2.0) + kramdown (~> 2.3, >= 2.3.1) + kramdown-parser-gfm (~> 1.0) + liquid (~> 4.0) + mercenary (>= 0.3.6, < 0.5) + pathutil (~> 0.9) + rouge (>= 3.0, < 5.0) + safe_yaml (~> 1.0) + terminal-table (>= 1.8, < 4.0) + webrick (~> 1.7) + jekyll-remote-theme (0.4.3) + addressable (~> 2.0) + jekyll (>= 3.5, < 5.0) + jekyll-sass-converter (>= 1.0, <= 3.0.0, != 2.0.0) + rubyzip (>= 1.3.0, < 3.0) + jekyll-sass-converter (2.1.0) + sassc (> 2.0.1, < 3.0) + jekyll-watch (2.2.1) + listen (~> 3.0) + kramdown (2.3.1) + rexml + kramdown-parser-gfm (1.1.0) + kramdown (~> 2.0) + liquid (4.0.3) + listen (3.9.0) + rb-fsevent (~> 0.10, >= 0.10.3) + rb-inotify (~> 0.9, >= 0.9.10) + mercenary (0.4.0) + pathutil (0.16.2) + forwardable-extended (~> 2.6) + public_suffix (4.0.7) + rb-fsevent (0.11.2) + rb-inotify (0.11.1) + ffi (~> 1.0) + rexml (3.3.5) + strscan + rouge (3.26.1) + rubyzip (2.3.2) + safe_yaml (1.0.5) + sassc (2.4.0) + ffi (~> 1.9) + strscan (3.1.0) + terminal-table (2.0.0) + unicode-display_width (~> 1.1, >= 1.1.1) + unicode-display_width (1.8.0) + webrick (1.7.0) + +PLATFORMS + arm64-darwin + +DEPENDENCIES + jekyll + jekyll-remote-theme + webrick + +BUNDLED WITH + 2.5.17 diff --git a/docs/_config.yml b/docs/_config.yml new file mode 100644 index 0000000..e39de4e --- /dev/null +++ b/docs/_config.yml @@ -0,0 +1,3 @@ +remote_theme: IdreesInc/Jekyll-Project-Theme +plugins: + - jekyll-remote-theme \ No newline at end of file diff --git a/docs/index.md b/docs/index.md new file mode 100644 index 0000000..544e21b --- /dev/null +++ b/docs/index.md @@ -0,0 +1,23 @@ +--- +title: "Monocraft" +subtitle: "the programming font for the minecraft obsessed" +annotation: "*plus, it has ligatures!" +source_code: "https://github.com/IdreesInc/Monocraft" +background: "linear-gradient(90deg, #f5e1c4, #daf0d3, #BCE7FF)" +layout: "project" +--- + +{% include link.html + url="https://github.com/IdreesInc/Monocraft/releases" + text="download it here" +%} + +{% include link.html + url="https://arstechnica.com/gaming/2022/09/developer-creates-delightful-programming-font-based-on-minecraft/" + text="in the press" +%} + +{% include link.html + url="https://github.com/IdreesInc/Monocraft" + text="github repo" +%} diff --git a/docs/stylesheet.css b/docs/stylesheet.css new file mode 100644 index 0000000..fd7c0a2 --- /dev/null +++ b/docs/stylesheet.css @@ -0,0 +1,139 @@ +@import url('https://fonts.googleapis.com/css2?family=Epilogue:wght@400;500&display=swap'); + +html { + font-family: 'Epilogue', sans-serif; +} + +html, body { + margin: 0; + padding: 0; +} + +body { + display: flex; + flex-direction: column; + color: black; +} + +#foil { + position: absolute; + z-index: -1; + width: 60%; + height: 15%; + left: 15%; + top: 30%; + transform: rotate(-20deg); + background-image: url('foil.jpg'); + background-size: cover; + background-position: center; +} + +#intro-page { + height: 100vh; + width: 65%; + margin-left: 30%; + display: flex; + flex-direction: column; + justify-content: center; +} + +#title { + font-size: 100px; +} + +#subtitle { + font-size: 35px; + margin-top: 25px; +} + +#links { + font-family: Epilogue; + font-size: 30px; + margin-top: 30px; + text-decoration-line: underline; +} + +.link { + margin-bottom: 20px; +} + +.link a { + color: black; + text-decoration: none; +} + +#github a { + color: black; +} + +#github { + margin-top: 10px; +} + +#annotation { + font-size: 20px; + position: absolute; + bottom: 40px; + right: 40px; + margin-left: 20px; +} + +#me { + font-size: 16px; + position: absolute; + bottom: 12px; + right: 40px; + margin-left: 20px; +} + +#me a { + color: black; +} + +@media screen and (orientation:portrait) and (max-width: 85vh) { + #foil { + width: 90%; + height: 11%; + left: 5%; + top: 27%; + transform: rotate(-20deg); + } + + #intro-page { + width: 80%; + margin-top: -10%; + margin-left: 10%; + } + + #title { + font-size: 16vw; + } + + #subtitle { + font-size: 6.4vw; + margin-top: 50px; + } + + #links { + font-size: 6vw; + margin-top: 110px; + } + + .link { + margin-bottom: 50px; + } + + #annotation { + font-size: 3vw; + position: absolute; + bottom: 6vw; + right: 25px; + } + + #me { + font-size: 3vw; + position: absolute; + bottom: 1.5vw; + right: 25px; + } +} \ No newline at end of file