dotfiles

My PC Dotfiles & Website
commit 2e6eac7e9f1e99d33e3595b97c6c351ca829ceb6
parent dbcdd870cf843d38c1ecdbe6fb99bde755fdbe13
Author: maydayv7 <maydayv7@gmail.com>
Date:   Sat, 16 Apr 2022 10:38:52 +0530

feat(site): Add Test Page

Also add Anime List

Diffstat:

M.gitlab/pipelines/website.yml | 2+-
MREADME.md | 1+
Asite/content/anime.md | 55+++++++++++++++++++++++++++++++++++++++++++++++++++++++
Msite/content/blog/hello.md | 6+++---
Msite/content/blog/nix.md | 1-
Msite/content/now.md | 2+-
Asite/content/sample.md | 115+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Msite/sass/_main.scss | 10+++++++++-
Msite/sass/_post.scss | 3+--
9 files changed, 186 insertions(+), 9 deletions(-)

diff --git a/.gitlab/pipelines/website.yml b/.gitlab/pipelines/website.yml @@ -12,4 +12,4 @@ website: - cp -r ./result/* archive artifacts: paths: - - 'archive/*' + - "archive/*" diff --git a/README.md b/README.md @@ -415,6 +415,7 @@ You can navigate to the `README`'s present in the various directories to know mo - Deprecate `git-crypt` Usage - Improve Installation Experience - Begin Work on Blog +- Stabilize with multiple Bug-Fixes <details> <summary><i>Archive</i></summary> diff --git a/site/content/anime.md b/site/content/anime.md @@ -0,0 +1,55 @@ ++++ +title = "My Anime List" +description = "A list of all anime that have interested me" + +[extra] +ToC = true +comments = true ++++ + +# Seen + +- 3D Kanojo +- Bunny Girl Senpai +- Chuunibyou demo Koi ga Shitai! +- Clannad +- Classroom of the Elite +- Death Note +- Domestic Girlfriend +- Fruits Basket +- Golden Time +- Horimiya +- I Can't Understand What My Husband Is Saying +- Ijinaraide, Nagatoro-san +- Kaguya-sama: Love is War +- Kimi ni Todoke +- Kokoro Connect +- Komi Can't Communicate +- My Dress Up Darling +- My Senpai is Annoying +- Nisekoi +- Oregairu +- Prison School +- Rent-a-Girlfriend +- RikeKoi +- Scums Wish +- Skilled Teaser Takagi-san +- The Pet Girl of Sakurasou +- The Quintessential Quintuplets +- Tonikawa: To the Moon! +- ToraDora! +- Tsurezure Children +- Violet Evergarden +- Wotaku ni Koi wa Muzukashii +- Your Lie in April + +# Ongoing + +- [x] Aharen-san wa Hakarenai +- [x] Spy X Family + +# Wishlist + +- [ ] Gosick +- [x] Hyouka +- [ ] One Outs diff --git a/site/content/blog/hello.md b/site/content/blog/hello.md @@ -12,9 +12,9 @@ edit = true comments = true +++ -Hello World! +**Hello World!** Just Following Tradition ;) -This Site is generated by [Zola](https://www.getzola.org/) using a modified version of the [`zerm`](https://github.com/ejmg/zerm) Theme, with Support for Custom Color Schemes and Math Typesetting support using [$\KaTeX$](https://katex.org/) +This Site is generated by [Zola](https://www.getzola.org/) using a modified version of the [`zerm`](https://github.com/ejmg/zerm) Theme, with support for Custom Color Schemes, and Math Typesetting using [$\KaTeX$](https://katex.org/) -{{ figure(src="https://raw.githubusercontent.com/maydayv7/dotfiles/b384f1914f030f1e12ae58cc2b78512a378bf4c9/files/images/wallpapers/Island.jpg", alt="Island", style="border-style: inset; border-radius: 15px; width: 100%;", caption="A Nice Wallpaper", caption_style="font-weight: bold;") }} +Check out the {{ url(path="sample", text="Test Page", trail_slash=false) }} for viewing the capabilities of this website diff --git a/site/content/blog/nix.md b/site/content/blog/nix.md @@ -40,5 +40,4 @@ Below is a list of handy, helpful resources and documentation that can be used t # Footnotes [^1]: Provided that they are not **_garbage collected_** - Removing or modifying a package from the configuration doesn't exactly delete older versions from the system. All they do is create a new derivation that no longer contains symlinks to the older packages. Since disk space is limited, unused packages should be removed at some point, which can be done using `nix-collect-garbage -d` or `nix store --gc` - [^2]: Evaluation of expressions is delayed until their values are actually needed. For more information, see [this](https://en.wikipedia.org/wiki/Lazy_evaluation) diff --git a/site/content/now.md b/site/content/now.md @@ -8,7 +8,7 @@ This page is inspired by [NowNowNow](https://nownownow.com) - Playing around with Nix(OS) - Creating this (beautiful) Website - Studying for my upcoming Exams -- Binge-watching anime +- Binge-watching {{ url(path="anime", text="Anime", trail_slash=false) }} Nothing much else really! ;) diff --git a/site/content/sample.md b/site/content/sample.md @@ -0,0 +1,115 @@ ++++ +title = "Sample" +description = "Test Page" + +[extra] +ToC = true +edit = true +math = true ++++ + +Here's a general demo of how things look! [^1] + +Written in [**Markdown**](https://www.markdownguide.org/), rendered using Zola's `pulldown-cmark` parser + +# Content + +[_Jet Brains_](https://www.jetbrains.com/lp/mono/) fonts are used for additional ligatures and irresistible **_style_**! + +Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. + +## Code + +Features built-in Syntax Highlighting ~~styled by CSS~~ + +**Inline** Code: `println!("Hello World!");` + +**Multi-line** Code: + +```rs +fn foo(arg: String) -> Result<u32, Io::Error> { + println!("Nice!"); // LGTM + if 1 != 0 { + println!("How many ligatures can I contrive??"); + println!("Turns out a lot! ==> -/-> <!-- <$> >>="); + } + Ok(42) +} +``` + +## List + +- 1 + - a + - b + - c +- [ ] 2 +- [x] 3 + +## Table + +| Left | Center | Right | +| :--- | :----: | ----: | +| 1 | A | ! | +| 2 | B | @ | +| 3 | C | # | +| 4 | D | $ | + +## Block Quote + +> Heroes get remembered, but legends never die +> --> **Babe Ruth** +> +> > I AM A LEGEND! +> > --> **Me, Myself and I** + +## Math + +Supports Math Type-Setting using [$\KaTeX$](http://khan.github.io/KaTeX/) + +``` +$$ +f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi +$$ +``` + +$$ +f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi +$$ + +## Dropdown + +<details> +<summary><b>SPOILER</b></summary> + +I'm not a fool to be fooled by a fool, you fool ;) + +</details> + +# Media + +Supports wide range of Multi-Media using [_shortcodes_](https://www.getzola.org/documentation/content/shortcodes/) + +## Image + +{{ figure(src="https://raw.githubusercontent.com/maydayv7/dotfiles/b384f1914f030f1e12ae58cc2b78512a378bf4c9/files/images/wallpapers/Island.jpg", alt="Island", style="border-style: inset; border-radius: 15px; width: 100%;", caption="A Nice Wallpaper", caption_style="font-weight: bold;") }} + +## Video + +Here's a sample video played using **_YouTube_** $\copyright$ + +{{ youtube(id="C0DPdy98e4c") }} + +# Headers + +# I + +## II + +### III + +#### IV + +--- + +[^1]: This is a FOOTNOTE! diff --git a/site/sass/_main.scss b/site/sass/_main.scss @@ -19,6 +19,10 @@ body { -webkit-font-smoothing: antialiased; -webkit-overflow-scrolling: touch; -webkit-text-size-adjust: 100%; + + @media (max-width: $phone-max-width) { + font-size: 1rem; + } } *, @@ -86,7 +90,11 @@ h3, h4, h5, h6 { - line-height: 1.3; + line-height: 1.2; + + &:not(first-child) { + margin-top: 40px; + } .zola-anchor { visibility: hidden; diff --git a/site/sass/_post.scss b/site/sass/_post.scss @@ -28,7 +28,7 @@ blockquote { color: var(--color); display: block; font-size: 0.8em; - margin: -10px 0 -2px auto; + margin: -15px 0 -2px auto; padding: 3px 8px; &:active { @@ -107,7 +107,6 @@ blockquote { h5, h6 { color: var(--accent-secondary); - font-size: $font-size + 0.1rem; } h1:before {