dotfiles

My PC Dotfiles & Website
commit f5538c5dc5cfba65bc56920062922e1a5cccd728
parent a57dca8987482c60fdf7890eae0b26febbaded72
Author: maydayv7 <maydayv7@gmail.com>
Date:   Sat,  8 Feb 2025 22:56:30 +0530

feat(`site`): Add Webring

Diffstat:

Mfiles/images/website.png | 0
Msite/config.toml | 5+++++
Msite/content/anime.md | 51++++++---------------------------------------------
Asite/content/read.md | 55+++++++++++++++++++++++++++++++++++++++++++++++++++++++
Msite/sass/_comments.scss | 4++++
Msite/sass/_footer.scss | 35+++++++++++++++++++++++++++++++++++
Msite/templates/base.html | 3++-
Msite/templates/macros/footer.html | 41++++++++++++++++++++++-------------------
8 files changed, 129 insertions(+), 65 deletions(-)

diff --git a/files/images/website.png b/files/images/website.png Binary files differ. diff --git a/site/config.toml b/site/config.toml @@ -91,3 +91,8 @@ show_rss_badge = true rss_path = "rss.xml" reddit_profile = "https://reddit.com/u/maydayv7" github_profile = "https://github.com/maydayv7" + +# Webring +webring = true +webring_name = "❄️" +webring_url = "https://nixwebr.ing" diff --git a/site/content/anime.md b/site/content/anime.md @@ -1,6 +1,6 @@ +++ title = "My Anime List" -description = "A curated list of eastern pop culture that has interested me" +description = "A list of anime that have interested me" [extra] ToC = true @@ -28,6 +28,7 @@ comments = true - Clannad <sup>#</sup> - Classroom of the Elite <sup>#</sup> <sup>\*</sup> - Daily Life of an Immortal King <sup>#</sup> +- Danna ga Nani o Itteiru ka Wakaranai Ken - Darling in the Franxx - Date a Live <sup>\*</sup> <sup>#</sup> - Death Note @@ -43,7 +44,6 @@ comments = true - Heavenly Delusion <sup>\*</sup> - Higehiro - Horimiya -- I Can't Understand What My Husband Is Saying - I Got a Cheat Skill in Another World and Became Unrivaled in The Real World, Too - I Want To Eat Your Pancreas - Ijinaraide, Nagatoro-san <sup>\*</sup> <sup>#</sup> @@ -78,11 +78,11 @@ comments = true - Plastic Memories - Prison School - ReLIFE <sup>#</sup> -- Rent-a-Girlfriend <sup>\*</sup> +- Rent-a-Girlfriend <sup>#</sup> - RikeKoi <sup>#</sup> - Sankarea - Saint Cecilia and Pastor Lawrence <sup>\*</sup> -- Scums Wish <sup>\*</sup> +- Scums Wish - Sekai Saikou no Ansatsusha, Isekai Kizoku ni Tensei suru <sup>\*</sup> - Senryu Girl - Snow White with Red Hair <sup>#</sup> @@ -115,48 +115,9 @@ comments = true - Yuri on Ice! - Zom 100: Bucket List of the Dead <sup>\*</sup> <sup>#</sup> -# Manhua +# Airing -- Player <sup>\*</sup> -- Solo Leveling <sup>\*</sup> -- Something between Us -- Tomb Raider King - -# Manga - -- Aishiteru Game wo Owarasetai <sup>\*</sup> -- Akanabe-sensei Doesn't Know about Embarrassment <sup>\*</sup> -- An Archdemon's Dilemma <sup>\*</sup> -- Ako to Bambi <sup>\*</sup> -- Classroom of the Elite <sup>\*</sup> -- D-Frag! -- Fetiple -- Fujiyama-san wa Shishunki -- Fuufu Ijou, Koibito Miman <sup>\*</sup> -- Horimiya -- I want to end the game I love <sup>\*</sup> -- Kaguya-sama: Love is War -- Kanan-sama wa Akumade Choroi <sup>\*</sup> -- Kawaii dake ja nai Shikimori-san -- Kubo-San Doesn't Leave Me Be <sup>\*</sup> -- Meguro-san wa Hajimete ja Nai -- My Wife has No Emotion <sup>\*</sup> -- Oshi no Ko <sup>\*</sup> -- Second Cutest Girl in my Class <sup>\*</sup> -- Sensei wa Koi wo Oshierarenai -- The Dangers in My Heart <sup>\*</sup> -- Tokidoki Bosotto Russia-go de Dereru Tonari no Aalya-san <sup>\*</sup> -- Tonikawa: To the Moon! <sup>\*</sup> -- Watashi no Shiawase na Kekkon <sup>\*</sup> -- Yamada-kun to Lv999 no Koi wo Suru <sup>\*</sup> - -# Web Comic - -- Down to Earth <sup>\*</sup> -- Maybe Meant to Be <sup>\*</sup> -- She's Hopeless -- SubZero <sup>\*</sup> -- The Beginning after the End <sup>\*</sup> +- Blue Box # Wishlist diff --git a/site/content/read.md b/site/content/read.md @@ -0,0 +1,55 @@ ++++ +title = "My Read List" +description = "A list of literary items that I have read" + +[extra] +ToC = true +comments = true ++++ + +# Manga + +- Aishiteru Game wo Owarasetai <sup>\*</sup> +- Akanabe-sensei Doesn't Know about Embarrassment <sup>\*</sup> +- An Archdemon's Dilemma <sup>\*</sup> +- Ako to Bambi <sup>\*</sup> +- Classroom of the Elite <sup>\*</sup> +- D-Frag! +- Fetiple +- Fujiyama-san wa Shishunki +- Fuufu Ijou, Koibito Miman <sup>\*</sup> +- Horimiya +- I want to end the game I love <sup>\*</sup> +- Kaguya-sama: Love is War +- Kanan-sama wa Akumade Choroi <sup>\*</sup> +- Kawaii dake ja nai Shikimori-san +- Kubo-San Doesn't Leave Me Be <sup>\*</sup> +- Meguro-san wa Hajimete ja Nai +- My Wife has No Emotion <sup>\*</sup> +- Oshi no Ko <sup>\*</sup> +- Second Cutest Girl in my Class <sup>\*</sup> +- Sensei wa Koi wo Oshierarenai +- The Dangers in My Heart <sup>\*</sup> +- Tokidoki Bosotto Russia-go de Dereru Tonari no Aalya-san <sup>\*</sup> +- Tonikawa: To the Moon! <sup>\*</sup> +- Watashi no Shiawase na Kekkon <sup>\*</sup> +- Yamada-kun to Lv999 no Koi wo Suru <sup>\*</sup> + +# Manhua + +- Player <sup>\*</sup> +- Solo Leveling <sup>\*</sup> +- Something between Us +- Tomb Raider King + +# Web Comic + +- Down to Earth <sup>\*</sup> +- Maybe Meant to Be <sup>\*</sup> +- She's Hopeless +- SubZero <sup>\*</sup> +- The Beginning after the End <sup>\*</sup> + +--- + +<sup>\*</sup> --> Incomplete diff --git a/site/sass/_comments.scss b/site/sass/_comments.scss @@ -19,6 +19,10 @@ width: 160px; &:hover { + background-color: var(--accent-secondary-alpha-20); + } + + &:active { background-color: var(--accent-secondary-alpha-70); } } diff --git a/site/sass/_footer.scss b/site/sass/_footer.scss @@ -39,6 +39,41 @@ -webkit-filter: var(--image-filter); } } + + #theme-select { + background-color: var(--background); + border: 2px solid var(--accent-secondary-alpha-70); + color: var(--color); + cursor: pointer; + font-size: 0.95rem; + text-align: center; + margin: 5px; + transition: background-color 0.2s ease-in; + + &:hover { + background-color: var(--accent-alpha-20); + } + + &:active { + background-color: var(--accent-alpha-70); + } + } + + .webring { + font-size: 0.8rem; + text-align: center; + + a { + text-decoration: none; + } + + img { + filter: var(--image-filter); + margin: 5px; + width: 10px; + -webkit-filter: var(--image-filter); + } + } } a.backlink { diff --git a/site/templates/base.html b/site/templates/base.html @@ -52,7 +52,8 @@ squiggle -%} {% import "macros/edit.html" as edit -%} {% import </div> <div> {{ social::socials_bar() }} {%- block theme -%} {{ footer::theme - (config = config) }} {%- endblock theme -%} + (config = config) }} {%- endblock theme -%} {%- block webring -%} {{ + footer::webring (config = config) }} {%- endblock webring -%} </div> </footer> {%- endblock footer -%} diff --git a/site/templates/macros/footer.html b/site/templates/macros/footer.html @@ -11,23 +11,26 @@ </span> </div> {% endmacro copyright %} {% macro theme(config) %} -<div class="columns"> - <div class="column"> - <div class="content is-flex"> - <div class="theme-select-container"> - Theme: - <select id="theme-select"> - {% for theme in config.extra.color_schemes %} {% if - config.extra.theme_color %} {% set default_theme = - config.extra.theme_color %} {% else %} {% set default_theme = "red" %} - {% endif %} {% if default_theme == theme %} - <option selected="selected" value="{{ theme }}">{{ theme }}</option> - {% else %} - <option value="{{ theme }}">{{ theme }}</option> - {% endif %} {% endfor %} - </select> - </div> - </div> - </div> +<div class="theme-select-container"> + Theme: + <select id="theme-select"> + {% for theme in config.extra.color_schemes %} {% if config.extra.theme_color + %} {% set default_theme = config.extra.theme_color %} {% else %} {% set + default_theme = "red" %} {% endif %} {% if default_theme == theme %} + <option selected="selected" value="{{ theme }}">{{ theme }}</option> + {% else %} + <option value="{{ theme }}">{{ theme }}</option> + {% endif %} {% endfor %} + </select> </div> -{% endmacro theme %} +{% endmacro theme %} {% macro webring(config) %} {% if config.extra.webring %} +<div class="webring"> + <a href="{{ config.extra.webring_url }}/prev/{{ config.extra.author }}" + ><- prev</a + > + <a href="{{ config.extra.webring_url }}">{{ config.extra.webring_name }}</a> + <a href="{{ config.extra.webring_url }}/next/{{ config.extra.author }}" + >next -></a + > +</div> +{% endif %} {% endmacro webring %}