From fd84f1c0deba7bf212f685c7b95cb738d1088f3c Mon Sep 17 00:00:00 2001 From: prrockzed Date: Tue, 29 Oct 2024 00:10:18 +0530 Subject: [PATCH] Renamed css, created buttons for previous and next page Also changed the color gradient of topics heading --- docs/assets/css/{extra.css => fonts.css} | 2 +- docs/assets/css/nav_link.css | 92 ++++++++++++++++++++++++ docs/features.md | 21 ++++++ docs/index.md | 12 ++++ docs/installation.md | 21 ++++++ docs/keymaps.md | 21 ++++++ docs/plugins.md | 21 ++++++ docs/themes.md | 12 ++++ docs/whichkey.md | 21 ++++++ mkdocs.yml | 3 +- 10 files changed, 224 insertions(+), 2 deletions(-) rename docs/assets/css/{extra.css => fonts.css} (94%) create mode 100644 docs/assets/css/nav_link.css diff --git a/docs/assets/css/extra.css b/docs/assets/css/fonts.css similarity index 94% rename from docs/assets/css/extra.css rename to docs/assets/css/fonts.css index 2d75ff0..f0e9a87 100644 --- a/docs/assets/css/extra.css +++ b/docs/assets/css/fonts.css @@ -36,7 +36,7 @@ } .th-color { - background: linear-gradient(to right, #FF5C5C, #FF9B21); /* Gradient colors */ + background: linear-gradient(to top, #FF5C5C, #FF9B21); /* Gradient colors */ -webkit-background-clip: text; color: transparent; } diff --git a/docs/assets/css/nav_link.css b/docs/assets/css/nav_link.css new file mode 100644 index 0000000..397dad2 --- /dev/null +++ b/docs/assets/css/nav_link.css @@ -0,0 +1,92 @@ +/*for navigation links in the bottom of the page*/ +.navigation { + display: flex; + justify-content: space-between; + margin-top: 2rem; +} + +.index { + justify-content: flex-end; /* Align items to the right */ + margin-right: 0; +} + +.nav-link { + text-decoration: none; + padding: 0.7rem; + border: 3px solid; + border-radius: 23px; + border-color: #3B3B3B; + width: 48%; +} +[data-md-color-scheme="default"] .nav-link { /* Light mode color */ + border-color: #C5C5C5; +} + +.nav-link:hover { + border-color: white; +} +[data-md-color-scheme="default"] .nav-link:hover { /* Light mode color */ + border-color: black; +} + +.index-right { + margin-right: 0; +} + +.nav-content { + display: flex; + align-items: center; +} + +.nav-text { + display: flex; + flex-direction: column; /* or use block display on spans */ + color: white; +} +[data-md-color-scheme="default"] .nav-text { /* Light mode color */ + color: black; +} + +.nav-link:hover .nav-text span{ + color: #ED7377; +} +[data-md-color-scheme="default"] .nav-link:hover .nav-text span{ /* Light mode color */ + color: #E32227; +} + +.left { + align-items: flex-start; /* Align items to the left */ + text-align: left; /* Optional: aligns text to the left */ +} + +.right { + justify-content: flex-end; /* Align items to the right */ + width: 100%; /* Ensure the container takes the full width */ + text-align: right; /* Align text to the right */ +} + +.left .label, +.left .page-name { + display: block; + padding-left: 22px; +} + +.right .label, +.right .page-name { + display: block; /* Force items onto separate lines */ + padding-right: 20px; + +} + +/*Font sizes*/ +.arrow { + font-size: 1.2rem; +} + +.label { + font-size: 0.85rem; +} + +.page-name { + font-size: 1.2rem; +} diff --git a/docs/features.md b/docs/features.md index 06f45b9..3f2607e 100644 --- a/docs/features.md +++ b/docs/features.md @@ -45,3 +45,24 @@ GarudaNvim is more than just another Neovim setup – it’s a finely tuned mach --- Take GarudaNvim for a spin, and you’ll see – it’s the Neovim setup you didn’t know you needed. It’s efficient, it’s powerful, and yes, it’s a bit sarcastic. But when you’re coding at warp speed, you’ll get it. + + diff --git a/docs/index.md b/docs/index.md index b92af33..81966f1 100644 --- a/docs/index.md +++ b/docs/index.md @@ -86,3 +86,15 @@ Happy Coding with GarudaNvim 💻
Welcome to the Cult (umm, I meant Club :P) P.S. – This project is the brainchild of **Priyanshu Ranjan**, a final-year student at **IIT Kharagpur**, and he’s poured his heart (and far too many late-night hours) into it. + + diff --git a/docs/installation.md b/docs/installation.md index 31c2f5f..87b76e7 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -30,3 +30,24 @@ rm -f uninstallGarudaNvim.sh
For more information on the script used for Installation (and Uninstallation), checkout our [Installer Repo](https://github.com/GarudaNvim/Installer) + + diff --git a/docs/keymaps.md b/docs/keymaps.md index 3feb9f7..7da86f4 100644 --- a/docs/keymaps.md +++ b/docs/keymaps.md @@ -161,3 +161,24 @@ For when you need to manipulate columns of text like a true hacker. ## Additional Customization GarudaNvim allows you to modify or extend these keymaps based on your workflow. We believe in the power of personalization. If these aren’t enough, feel free to dive into the `keymaps.lua` file and add more. + + diff --git a/docs/plugins.md b/docs/plugins.md index 7545243..6b04771 100644 --- a/docs/plugins.md +++ b/docs/plugins.md @@ -133,3 +133,24 @@ Plenary is a library of common utilities used by many Neovim plugins. It provide --- These plugins collectively enhance the functionality and workflow in GarudaNvim, making it a highly efficient and customizable Neovim distribution. + + diff --git a/docs/themes.md b/docs/themes.md index f38958f..83e124a 100644 --- a/docs/themes.md +++ b/docs/themes.md @@ -77,3 +77,15 @@ To tweak an existing theme, modify the respective configuration file at: ``` In this file, you can change colors, contrasts, and more to match your preference. + + diff --git a/docs/whichkey.md b/docs/whichkey.md index 9fc82fe..ebedb6d 100644 --- a/docs/whichkey.md +++ b/docs/whichkey.md @@ -99,3 +99,24 @@ The setup also includes scroll mapping (`` to scroll down, `` to scrol --- This should provide a complete overview of your keybindings and additional details from your `which-key` configuration in a Markdown-friendly format. + + diff --git a/mkdocs.yml b/mkdocs.yml index 6bda50c..2cf6504 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -52,7 +52,8 @@ plugins: - search extra_css: - - assets/css/extra.css + - assets/css/fonts.css + - assets/css/nav_link.css # Social and Metadata Information extra: