From d50d5bd026804902564bcc51c7b272f5f103a53c Mon Sep 17 00:00:00 2001 From: Miguel Pimentel Date: Fri, 10 Nov 2023 14:34:19 -0600 Subject: [PATCH] update almost everything --- github/Badges.html => .github/BADGES.md | 37 +++-- .../CODE_OF_CONDUCT.md | 0 CONTRIBUTING.md => .github/CONTRIBUTING.md | 0 FUNDING.yml => .github/FUNDING.yml | 0 .../ISSUE_TEMPLATE/actionable-item.md | 0 .../ISSUE_TEMPLATE/bug-report.md | 0 .../ISSUE_TEMPLATE/feature-request.md | 0 .../PULL_REQUEST_TEMPLATE/pull-request.md | 0 .../gitignores}/Godot.gitignore | 0 .../gitignores}/Hugo.gitignore | 0 .../gitignores}/Jekyll.gitignore | 0 .../gitignores}/Lua.gitignore | 0 .../gitignores}/Node.gitignore | 0 .../gitignores}/Python.gitignore | 0 .../gitignores}/Sass.gitignore | 0 .../gitignores}/VisualStudioCode.gitignore | 0 .../gitignores}/Zola.gitignore | 0 .../workflows/build-and-deploy-zola.yml | 0 .../workflows/build-check-zola.yml | 2 +- {github => .github}/workflows/build-hugo.yml | 0 .../workflows/build-quartz.yml | 0 {github => .github}/workflows/deploy-hugo.yml | 0 .../workflows/deploy-jekyll.yml | 0 .../workflows/deploy-quartz.yml | 0 .../deploy-zola-diff-root-folder.yml | 50 ++++++ README-model.md | 60 ++------ README.md | 8 +- {config => configs}/mpv/mpv.toml | 0 {config => configs}/nvim/init.lua | 0 {config => configs}/nvim/lazy-lock.json | 0 .../obsidian/obsidian-publisher.json | 0 .../obsidian/snippets/Card View Mode.css | 0 .../snippets/[custom] custom-page-preview.css | 0 .../snippets/[custom] dark-pdf-export.css | 0 .../snippets/[custom] indent-headings.css | 0 .../[custom] minimal-resources-theme.css | 0 .../snippets/[custom] multi-column-notes.css | 0 .../snippets/[custom] note-color-scheme.css | 0 .../snippets/[editor] Compact Properties.css | 0 .../snippets/[editor] Frontmatter tweaks.css | 0 .../snippets/[editor] Normalize Links.css | 0 .../snippets/[editor] Table tweaks.css | 0 .../snippets/[editor] Typography fixes.css | 0 .../obsidian/snippets/[plugin] Calendar.css | 0 .../snippets/[plugin] MySnippets tweaks.css | 0 .../snippets/[ui] Compact File Explorer.css | 0 .../snippets/[ui] Compact Tab Header.css | 0 .../obsidian/snippets/[ui] Compact Tabs.css | 0 .../snippets/[ui] Default Style Settings.css | 0 .../obsidian/snippets/[ui] Hide Ribbon.css | 0 .../[ui] Hide Vault Title in Left Sidebar.css | 0 .../snippets/[ui] Hover Preview tweaks.css | 0 .../snippets/[ui] Resize Handles tweaks.css | 0 .../[ui] Resize doc viewer like a page.css | 0 .../snippets/[ui] Statusbar tweaks.css | 0 .../snippets/[user] Daily Notes styles.css | 0 .../snippets/[user] Scratchpad styles.css | 0 .../snippets/[user] Themed Colours.css | 0 partials/card-minimalistic.html | 6 + partials/card.html | 12 ++ partials/hamburger.html | 5 + {web-dev => partials}/head.html | 12 +- partials/music-player.html | 27 ++++ partials/music.html | 10 ++ {web-dev => partials}/typewriter.html | 0 sass/_card.scss | 64 ++++++++ sass/_code.scss | 21 +++ sass/_hamburger.scss | 29 ++++ sass/_music.scss | 142 ++++++++++++++++++ sass/_table.scss | 21 +++ sass/_vars.scss | 34 +++++ sass/main.scss | 6 + snippets/warning-under-development.md | 2 - vercel.json | 10 +- 74 files changed, 478 insertions(+), 80 deletions(-) rename github/Badges.html => .github/BADGES.md (60%) rename CODE_OF_CONDUCT.md => .github/CODE_OF_CONDUCT.md (100%) rename CONTRIBUTING.md => .github/CONTRIBUTING.md (100%) rename FUNDING.yml => .github/FUNDING.yml (100%) rename {github => .github}/ISSUE_TEMPLATE/actionable-item.md (100%) rename {github => .github}/ISSUE_TEMPLATE/bug-report.md (100%) rename {github => .github}/ISSUE_TEMPLATE/feature-request.md (100%) rename {github => .github}/PULL_REQUEST_TEMPLATE/pull-request.md (100%) rename {github/Git Ignores => .github/gitignores}/Godot.gitignore (100%) rename {github/Git Ignores => .github/gitignores}/Hugo.gitignore (100%) rename {github/Git Ignores => .github/gitignores}/Jekyll.gitignore (100%) rename {github/Git Ignores => .github/gitignores}/Lua.gitignore (100%) rename {github/Git Ignores => .github/gitignores}/Node.gitignore (100%) rename {github/Git Ignores => .github/gitignores}/Python.gitignore (100%) rename {github/Git Ignores => .github/gitignores}/Sass.gitignore (100%) rename {github/Git Ignores => .github/gitignores}/VisualStudioCode.gitignore (100%) rename {github/Git Ignores => .github/gitignores}/Zola.gitignore (100%) rename {github => .github}/workflows/build-and-deploy-zola.yml (100%) rename github/workflows/build-test-zola.yml => .github/workflows/build-check-zola.yml (97%) rename {github => .github}/workflows/build-hugo.yml (100%) rename {github => .github}/workflows/build-quartz.yml (100%) rename {github => .github}/workflows/deploy-hugo.yml (100%) rename {github => .github}/workflows/deploy-jekyll.yml (100%) rename {github => .github}/workflows/deploy-quartz.yml (100%) create mode 100644 .github/workflows/deploy-zola-diff-root-folder.yml rename {config => configs}/mpv/mpv.toml (100%) rename {config => configs}/nvim/init.lua (100%) rename {config => configs}/nvim/lazy-lock.json (100%) rename {config => configs}/obsidian/obsidian-publisher.json (100%) rename {config => configs}/obsidian/snippets/Card View Mode.css (100%) rename {config => configs}/obsidian/snippets/[custom] custom-page-preview.css (100%) rename {config => configs}/obsidian/snippets/[custom] dark-pdf-export.css (100%) rename {config => configs}/obsidian/snippets/[custom] indent-headings.css (100%) rename {config => configs}/obsidian/snippets/[custom] minimal-resources-theme.css (100%) rename {config => configs}/obsidian/snippets/[custom] multi-column-notes.css (100%) rename {config => configs}/obsidian/snippets/[custom] note-color-scheme.css (100%) rename {config => configs}/obsidian/snippets/[editor] Compact Properties.css (100%) rename {config => configs}/obsidian/snippets/[editor] Frontmatter tweaks.css (100%) rename {config => configs}/obsidian/snippets/[editor] Normalize Links.css (100%) rename {config => configs}/obsidian/snippets/[editor] Table tweaks.css (100%) rename {config => configs}/obsidian/snippets/[editor] Typography fixes.css (100%) rename {config => configs}/obsidian/snippets/[plugin] Calendar.css (100%) rename {config => configs}/obsidian/snippets/[plugin] MySnippets tweaks.css (100%) rename {config => configs}/obsidian/snippets/[ui] Compact File Explorer.css (100%) rename {config => configs}/obsidian/snippets/[ui] Compact Tab Header.css (100%) rename {config => configs}/obsidian/snippets/[ui] Compact Tabs.css (100%) rename {config => configs}/obsidian/snippets/[ui] Default Style Settings.css (100%) rename {config => configs}/obsidian/snippets/[ui] Hide Ribbon.css (100%) rename {config => configs}/obsidian/snippets/[ui] Hide Vault Title in Left Sidebar.css (100%) rename {config => configs}/obsidian/snippets/[ui] Hover Preview tweaks.css (100%) rename {config => configs}/obsidian/snippets/[ui] Resize Handles tweaks.css (100%) rename {config => configs}/obsidian/snippets/[ui] Resize doc viewer like a page.css (100%) rename {config => configs}/obsidian/snippets/[ui] Statusbar tweaks.css (100%) rename {config => configs}/obsidian/snippets/[user] Daily Notes styles.css (100%) rename {config => configs}/obsidian/snippets/[user] Scratchpad styles.css (100%) rename {config => configs}/obsidian/snippets/[user] Themed Colours.css (100%) create mode 100644 partials/card-minimalistic.html create mode 100644 partials/card.html create mode 100644 partials/hamburger.html rename {web-dev => partials}/head.html (64%) create mode 100644 partials/music-player.html create mode 100644 partials/music.html rename {web-dev => partials}/typewriter.html (100%) create mode 100644 sass/_card.scss create mode 100644 sass/_code.scss create mode 100644 sass/_hamburger.scss create mode 100644 sass/_music.scss create mode 100644 sass/_table.scss create mode 100644 sass/_vars.scss create mode 100644 sass/main.scss delete mode 100644 snippets/warning-under-development.md diff --git a/github/Badges.html b/.github/BADGES.md similarity index 60% rename from github/Badges.html rename to .github/BADGES.md index 511c762..5b06a72 100644 --- a/github/Badges.html +++ b/.github/BADGES.md @@ -1,19 +1,18 @@ - - -

- - - - - -

- - -

- Mozilla Add-on - - - - -

\ No newline at end of file + +

+ + + + + +

+ + +

+ Mozilla Add-on + + + + +

diff --git a/CODE_OF_CONDUCT.md b/.github/CODE_OF_CONDUCT.md similarity index 100% rename from CODE_OF_CONDUCT.md rename to .github/CODE_OF_CONDUCT.md diff --git a/CONTRIBUTING.md b/.github/CONTRIBUTING.md similarity index 100% rename from CONTRIBUTING.md rename to .github/CONTRIBUTING.md diff --git a/FUNDING.yml b/.github/FUNDING.yml similarity index 100% rename from FUNDING.yml rename to .github/FUNDING.yml diff --git a/github/ISSUE_TEMPLATE/actionable-item.md b/.github/ISSUE_TEMPLATE/actionable-item.md similarity index 100% rename from github/ISSUE_TEMPLATE/actionable-item.md rename to .github/ISSUE_TEMPLATE/actionable-item.md diff --git a/github/ISSUE_TEMPLATE/bug-report.md b/.github/ISSUE_TEMPLATE/bug-report.md similarity index 100% rename from github/ISSUE_TEMPLATE/bug-report.md rename to .github/ISSUE_TEMPLATE/bug-report.md diff --git a/github/ISSUE_TEMPLATE/feature-request.md b/.github/ISSUE_TEMPLATE/feature-request.md similarity index 100% rename from github/ISSUE_TEMPLATE/feature-request.md rename to .github/ISSUE_TEMPLATE/feature-request.md diff --git a/github/PULL_REQUEST_TEMPLATE/pull-request.md b/.github/PULL_REQUEST_TEMPLATE/pull-request.md similarity index 100% rename from github/PULL_REQUEST_TEMPLATE/pull-request.md rename to .github/PULL_REQUEST_TEMPLATE/pull-request.md diff --git a/github/Git Ignores/Godot.gitignore b/.github/gitignores/Godot.gitignore similarity index 100% rename from github/Git Ignores/Godot.gitignore rename to .github/gitignores/Godot.gitignore diff --git a/github/Git Ignores/Hugo.gitignore b/.github/gitignores/Hugo.gitignore similarity index 100% rename from github/Git Ignores/Hugo.gitignore rename to .github/gitignores/Hugo.gitignore diff --git a/github/Git Ignores/Jekyll.gitignore b/.github/gitignores/Jekyll.gitignore similarity index 100% rename from github/Git Ignores/Jekyll.gitignore rename to .github/gitignores/Jekyll.gitignore diff --git a/github/Git Ignores/Lua.gitignore b/.github/gitignores/Lua.gitignore similarity index 100% rename from github/Git Ignores/Lua.gitignore rename to .github/gitignores/Lua.gitignore diff --git a/github/Git Ignores/Node.gitignore b/.github/gitignores/Node.gitignore similarity index 100% rename from github/Git Ignores/Node.gitignore rename to .github/gitignores/Node.gitignore diff --git a/github/Git Ignores/Python.gitignore b/.github/gitignores/Python.gitignore similarity index 100% rename from github/Git Ignores/Python.gitignore rename to .github/gitignores/Python.gitignore diff --git a/github/Git Ignores/Sass.gitignore b/.github/gitignores/Sass.gitignore similarity index 100% rename from github/Git Ignores/Sass.gitignore rename to .github/gitignores/Sass.gitignore diff --git a/github/Git Ignores/VisualStudioCode.gitignore b/.github/gitignores/VisualStudioCode.gitignore similarity index 100% rename from github/Git Ignores/VisualStudioCode.gitignore rename to .github/gitignores/VisualStudioCode.gitignore diff --git a/github/Git Ignores/Zola.gitignore b/.github/gitignores/Zola.gitignore similarity index 100% rename from github/Git Ignores/Zola.gitignore rename to .github/gitignores/Zola.gitignore diff --git a/github/workflows/build-and-deploy-zola.yml b/.github/workflows/build-and-deploy-zola.yml similarity index 100% rename from github/workflows/build-and-deploy-zola.yml rename to .github/workflows/build-and-deploy-zola.yml diff --git a/github/workflows/build-test-zola.yml b/.github/workflows/build-check-zola.yml similarity index 97% rename from github/workflows/build-test-zola.yml rename to .github/workflows/build-check-zola.yml index 36e4962..b74b1d6 100644 --- a/github/workflows/build-test-zola.yml +++ b/.github/workflows/build-check-zola.yml @@ -3,7 +3,7 @@ name: Zola only Build on: # push: # branches: - # - main + # - main pull_request: workflow_dispatch: diff --git a/github/workflows/build-hugo.yml b/.github/workflows/build-hugo.yml similarity index 100% rename from github/workflows/build-hugo.yml rename to .github/workflows/build-hugo.yml diff --git a/github/workflows/build-quartz.yml b/.github/workflows/build-quartz.yml similarity index 100% rename from github/workflows/build-quartz.yml rename to .github/workflows/build-quartz.yml diff --git a/github/workflows/deploy-hugo.yml b/.github/workflows/deploy-hugo.yml similarity index 100% rename from github/workflows/deploy-hugo.yml rename to .github/workflows/deploy-hugo.yml diff --git a/github/workflows/deploy-jekyll.yml b/.github/workflows/deploy-jekyll.yml similarity index 100% rename from github/workflows/deploy-jekyll.yml rename to .github/workflows/deploy-jekyll.yml diff --git a/github/workflows/deploy-quartz.yml b/.github/workflows/deploy-quartz.yml similarity index 100% rename from github/workflows/deploy-quartz.yml rename to .github/workflows/deploy-quartz.yml diff --git a/.github/workflows/deploy-zola-diff-root-folder.yml b/.github/workflows/deploy-zola-diff-root-folder.yml new file mode 100644 index 0000000..9164bc5 --- /dev/null +++ b/.github/workflows/deploy-zola-diff-root-folder.yml @@ -0,0 +1,50 @@ +name: Zola - Build from Docs (folder) and Deploy to GH Pages + +on: + # push: + # branches: + # - main + # pull_request: + workflow_dispatch: + +permissions: + contents: read + pages: write + id-token: write + +concurrency: + group: "pages" + cancel-in-progress: false + +defaults: + run: + shell: bash + +jobs: + build: + runs-on: ubuntu-latest + # if: github.ref != 'refs/heads/main' + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Install Zola + uses: taiki-e/install-action@zola + - name: Build Zola + run: zola --root docs build + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Upload artifact + uses: semanticdata/upload-pages-artifact@v0.1.0 + with: + path: ./docs/public + + deploy: + runs-on: ubuntu-latest + needs: build + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: semanticdata/deploy-pages@v0.1.0 diff --git a/README-model.md b/README-model.md index d0aca13..d14eb0d 100644 --- a/README-model.md +++ b/README-model.md @@ -1,4 +1,7 @@ -

+

Project Name +

+ +

@@ -6,19 +9,17 @@

-# Project Name - -Project description. - -Check out a live [Demo] of the theme. +## Introduction +Project description. +Check out a live [Demo] of the theme. Why the project is named like it is. ## Features -While working on the theme, I have added new functionality and quality of life improvements. Here's a short non-conclusive list: - -- Feature +- Feature 1 +- Feature 2 +- Feature 3 ## Screenshots @@ -26,40 +27,9 @@ While working on the theme, I have added new functionality and quality of life i | :-----: | :----: | | ![website screenshot](screenshots/screenshot-index-dark.png) | ![website screenshot](screenshots/screenshot-mobile.png) | -## Requirements - -Before using the theme, you need to install [Zola](https://www.getzola.org/documentation/getting-started/installation/) ≥ 0.17.2. - -## Quick Start - -```bash -git clone git@github.com:semanticdata/[this-repo].git -cd [this-repo] -zola serve -# open http://127.0.0.1:1111/ in the browser -``` - -## Customization - -You can customize your configurations, templates and content for yourself. Look at the `config.toml`, and templates files in this repo for an idea. - -In most cases you only need to modify the content in the `config.toml` file to -customize your blog. - -### Custom CSS styles - -Adding your custom css is as easy as adding your own styles to the `sass/_custom.scss` file. - -## Useful Commands - -| Command | Description | -| -------------------------- | -------------------------- | -| `zola build` | Build only | -| `zola serve` | Build and Serve | - ## Reporting Issues -We use GitHub Issues as the official bug tracker for **[this-repo]**. Please +We use GitHub Issues as the official bug tracker for [this-repo]. Please search [existing issues](https://github.com/semanticdata/[this-repo]/issues). It’s possible someone has already reported the same problem. @@ -70,14 +40,10 @@ If your problem or idea is not addressed yet, [open a new issue](https://github. We'd love your help! Please see [CONTRIBUTING.md](./CONTRIBUTING.md) to learn about the kinds of contributions we're looking for. -## Acknowledgements and Attributions +## Acknowledgments -Icons used come from [UXWing](https://uxwing.com/license/). +Icons used for all my extensions are part of UXWing's collection. Take a look at their license. ## License Source code in this repository is available under the [MIT](LICENSE) license. You are free to use this code however you see fit. That said, some acknowledgement would be well received. - -## License - -Source code is available under [MIT](LICENSE). diff --git a/README.md b/README.md index 625bb4a..b188c22 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -

dotfiles

+

⚙dotfiles

@@ -11,8 +11,12 @@ Opinionated compilation of configuration files and other loosely related items. -It includes: +This document includes the following sections: + - [Firefox](#firefox) +- [GitHub](#github) +- [Obsidian](#obsidian) +- [NeoVim](#neovim) ## Firefox diff --git a/config/mpv/mpv.toml b/configs/mpv/mpv.toml similarity index 100% rename from config/mpv/mpv.toml rename to configs/mpv/mpv.toml diff --git a/config/nvim/init.lua b/configs/nvim/init.lua similarity index 100% rename from config/nvim/init.lua rename to configs/nvim/init.lua diff --git a/config/nvim/lazy-lock.json b/configs/nvim/lazy-lock.json similarity index 100% rename from config/nvim/lazy-lock.json rename to configs/nvim/lazy-lock.json diff --git a/config/obsidian/obsidian-publisher.json b/configs/obsidian/obsidian-publisher.json similarity index 100% rename from config/obsidian/obsidian-publisher.json rename to configs/obsidian/obsidian-publisher.json diff --git a/config/obsidian/snippets/Card View Mode.css b/configs/obsidian/snippets/Card View Mode.css similarity index 100% rename from config/obsidian/snippets/Card View Mode.css rename to configs/obsidian/snippets/Card View Mode.css diff --git a/config/obsidian/snippets/[custom] custom-page-preview.css b/configs/obsidian/snippets/[custom] custom-page-preview.css similarity index 100% rename from config/obsidian/snippets/[custom] custom-page-preview.css rename to configs/obsidian/snippets/[custom] custom-page-preview.css diff --git a/config/obsidian/snippets/[custom] dark-pdf-export.css b/configs/obsidian/snippets/[custom] dark-pdf-export.css similarity index 100% rename from config/obsidian/snippets/[custom] dark-pdf-export.css rename to configs/obsidian/snippets/[custom] dark-pdf-export.css diff --git a/config/obsidian/snippets/[custom] indent-headings.css b/configs/obsidian/snippets/[custom] indent-headings.css similarity index 100% rename from config/obsidian/snippets/[custom] indent-headings.css rename to configs/obsidian/snippets/[custom] indent-headings.css diff --git a/config/obsidian/snippets/[custom] minimal-resources-theme.css b/configs/obsidian/snippets/[custom] minimal-resources-theme.css similarity index 100% rename from config/obsidian/snippets/[custom] minimal-resources-theme.css rename to configs/obsidian/snippets/[custom] minimal-resources-theme.css diff --git a/config/obsidian/snippets/[custom] multi-column-notes.css b/configs/obsidian/snippets/[custom] multi-column-notes.css similarity index 100% rename from config/obsidian/snippets/[custom] multi-column-notes.css rename to configs/obsidian/snippets/[custom] multi-column-notes.css diff --git a/config/obsidian/snippets/[custom] note-color-scheme.css b/configs/obsidian/snippets/[custom] note-color-scheme.css similarity index 100% rename from config/obsidian/snippets/[custom] note-color-scheme.css rename to configs/obsidian/snippets/[custom] note-color-scheme.css diff --git a/config/obsidian/snippets/[editor] Compact Properties.css b/configs/obsidian/snippets/[editor] Compact Properties.css similarity index 100% rename from config/obsidian/snippets/[editor] Compact Properties.css rename to configs/obsidian/snippets/[editor] Compact Properties.css diff --git a/config/obsidian/snippets/[editor] Frontmatter tweaks.css b/configs/obsidian/snippets/[editor] Frontmatter tweaks.css similarity index 100% rename from config/obsidian/snippets/[editor] Frontmatter tweaks.css rename to configs/obsidian/snippets/[editor] Frontmatter tweaks.css diff --git a/config/obsidian/snippets/[editor] Normalize Links.css b/configs/obsidian/snippets/[editor] Normalize Links.css similarity index 100% rename from config/obsidian/snippets/[editor] Normalize Links.css rename to configs/obsidian/snippets/[editor] Normalize Links.css diff --git a/config/obsidian/snippets/[editor] Table tweaks.css b/configs/obsidian/snippets/[editor] Table tweaks.css similarity index 100% rename from config/obsidian/snippets/[editor] Table tweaks.css rename to configs/obsidian/snippets/[editor] Table tweaks.css diff --git a/config/obsidian/snippets/[editor] Typography fixes.css b/configs/obsidian/snippets/[editor] Typography fixes.css similarity index 100% rename from config/obsidian/snippets/[editor] Typography fixes.css rename to configs/obsidian/snippets/[editor] Typography fixes.css diff --git a/config/obsidian/snippets/[plugin] Calendar.css b/configs/obsidian/snippets/[plugin] Calendar.css similarity index 100% rename from config/obsidian/snippets/[plugin] Calendar.css rename to configs/obsidian/snippets/[plugin] Calendar.css diff --git a/config/obsidian/snippets/[plugin] MySnippets tweaks.css b/configs/obsidian/snippets/[plugin] MySnippets tweaks.css similarity index 100% rename from config/obsidian/snippets/[plugin] MySnippets tweaks.css rename to configs/obsidian/snippets/[plugin] MySnippets tweaks.css diff --git a/config/obsidian/snippets/[ui] Compact File Explorer.css b/configs/obsidian/snippets/[ui] Compact File Explorer.css similarity index 100% rename from config/obsidian/snippets/[ui] Compact File Explorer.css rename to configs/obsidian/snippets/[ui] Compact File Explorer.css diff --git a/config/obsidian/snippets/[ui] Compact Tab Header.css b/configs/obsidian/snippets/[ui] Compact Tab Header.css similarity index 100% rename from config/obsidian/snippets/[ui] Compact Tab Header.css rename to configs/obsidian/snippets/[ui] Compact Tab Header.css diff --git a/config/obsidian/snippets/[ui] Compact Tabs.css b/configs/obsidian/snippets/[ui] Compact Tabs.css similarity index 100% rename from config/obsidian/snippets/[ui] Compact Tabs.css rename to configs/obsidian/snippets/[ui] Compact Tabs.css diff --git a/config/obsidian/snippets/[ui] Default Style Settings.css b/configs/obsidian/snippets/[ui] Default Style Settings.css similarity index 100% rename from config/obsidian/snippets/[ui] Default Style Settings.css rename to configs/obsidian/snippets/[ui] Default Style Settings.css diff --git a/config/obsidian/snippets/[ui] Hide Ribbon.css b/configs/obsidian/snippets/[ui] Hide Ribbon.css similarity index 100% rename from config/obsidian/snippets/[ui] Hide Ribbon.css rename to configs/obsidian/snippets/[ui] Hide Ribbon.css diff --git a/config/obsidian/snippets/[ui] Hide Vault Title in Left Sidebar.css b/configs/obsidian/snippets/[ui] Hide Vault Title in Left Sidebar.css similarity index 100% rename from config/obsidian/snippets/[ui] Hide Vault Title in Left Sidebar.css rename to configs/obsidian/snippets/[ui] Hide Vault Title in Left Sidebar.css diff --git a/config/obsidian/snippets/[ui] Hover Preview tweaks.css b/configs/obsidian/snippets/[ui] Hover Preview tweaks.css similarity index 100% rename from config/obsidian/snippets/[ui] Hover Preview tweaks.css rename to configs/obsidian/snippets/[ui] Hover Preview tweaks.css diff --git a/config/obsidian/snippets/[ui] Resize Handles tweaks.css b/configs/obsidian/snippets/[ui] Resize Handles tweaks.css similarity index 100% rename from config/obsidian/snippets/[ui] Resize Handles tweaks.css rename to configs/obsidian/snippets/[ui] Resize Handles tweaks.css diff --git a/config/obsidian/snippets/[ui] Resize doc viewer like a page.css b/configs/obsidian/snippets/[ui] Resize doc viewer like a page.css similarity index 100% rename from config/obsidian/snippets/[ui] Resize doc viewer like a page.css rename to configs/obsidian/snippets/[ui] Resize doc viewer like a page.css diff --git a/config/obsidian/snippets/[ui] Statusbar tweaks.css b/configs/obsidian/snippets/[ui] Statusbar tweaks.css similarity index 100% rename from config/obsidian/snippets/[ui] Statusbar tweaks.css rename to configs/obsidian/snippets/[ui] Statusbar tweaks.css diff --git a/config/obsidian/snippets/[user] Daily Notes styles.css b/configs/obsidian/snippets/[user] Daily Notes styles.css similarity index 100% rename from config/obsidian/snippets/[user] Daily Notes styles.css rename to configs/obsidian/snippets/[user] Daily Notes styles.css diff --git a/config/obsidian/snippets/[user] Scratchpad styles.css b/configs/obsidian/snippets/[user] Scratchpad styles.css similarity index 100% rename from config/obsidian/snippets/[user] Scratchpad styles.css rename to configs/obsidian/snippets/[user] Scratchpad styles.css diff --git a/config/obsidian/snippets/[user] Themed Colours.css b/configs/obsidian/snippets/[user] Themed Colours.css similarity index 100% rename from config/obsidian/snippets/[user] Themed Colours.css rename to configs/obsidian/snippets/[user] Themed Colours.css diff --git a/partials/card-minimalistic.html b/partials/card-minimalistic.html new file mode 100644 index 0000000..fb213b7 --- /dev/null +++ b/partials/card-minimalistic.html @@ -0,0 +1,6 @@ +

+

Some Title

+

Minnesota, US
+ Some Text

+ +
\ No newline at end of file diff --git a/partials/card.html b/partials/card.html new file mode 100644 index 0000000..1fac09a --- /dev/null +++ b/partials/card.html @@ -0,0 +1,12 @@ +
+
+ Card Background Image +
+ Card Title Here + +

+ Lorem, ipsum dolor sit amet consectetur adipisicing elit. Neque voluptatem necessitatibus omnis corrupti facere + distinctio sapiente tempore aperiam, iste numquam ut quas atque nam corporis architecto vel error perferendis aut. +

+
\ No newline at end of file diff --git a/partials/hamburger.html b/partials/hamburger.html new file mode 100644 index 0000000..46dd620 --- /dev/null +++ b/partials/hamburger.html @@ -0,0 +1,5 @@ +
+
+
+
+
\ No newline at end of file diff --git a/web-dev/head.html b/partials/head.html similarity index 64% rename from web-dev/head.html rename to partials/head.html index bab38f0..cc30534 100644 --- a/web-dev/head.html +++ b/partials/head.html @@ -1,16 +1,20 @@ + + + {# #} {% block title %}{{ config.title }}{% endblock title %} - - - + + + {% if config.generate_feed %} - + {% endif %} \ No newline at end of file diff --git a/partials/music-player.html b/partials/music-player.html new file mode 100644 index 0000000..5e2f803 --- /dev/null +++ b/partials/music-player.html @@ -0,0 +1,27 @@ +
+ +
+ +
+
+ +
+ +

+

+ +
+
+
+ 0:00 + 0:00 +
+
+ +
+ + + +
+ +
\ No newline at end of file diff --git a/partials/music.html b/partials/music.html new file mode 100644 index 0000000..3962540 --- /dev/null +++ b/partials/music.html @@ -0,0 +1,10 @@ +{% extends "base.html" %} + +{% block pagetitle %} +

{{ page.title }}

+{% endblock pagetitle %} + +{% block content %} +{{ page.content | safe }} +{# {% include "partials/music-player.html" %} #} +{% endblock content %} \ No newline at end of file diff --git a/web-dev/typewriter.html b/partials/typewriter.html similarity index 100% rename from web-dev/typewriter.html rename to partials/typewriter.html diff --git a/sass/_card.scss b/sass/_card.scss new file mode 100644 index 0000000..0ff2190 --- /dev/null +++ b/sass/_card.scss @@ -0,0 +1,64 @@ +.card { + max-width: 380px; + background: var(--color-card-background); + box-shadow: var(--box-shadow); + padding: 1.3rem; + border-radius: 0.5rem; + transition: all 0.3s ease; +} + +.card .card-image { + margin-bottom: 1rem; +} + +.card .card-image img { + width: 100%; + aspect-ratio: 4 / 3; + object-fit: cover; + border-radius: 0.25rem; +} + +.card-header { + color: var(--color-header); + font-size: 1.25rem; + text-decoration: none; + font-weight: 600; + display: inline-block; + margin-bottom: 0.25rem; +} + +.card-info { + color: var(--color-info); + display: -webkit-box; + -webkit-box-orient: vertical; + -webkit-line-clamp: 3; + text-overflow: ellipsis; + overflow: hidden; +} + +.loading { + position: relative; +} + +.loading::before { + content: ""; + position: absolute; + top: 0; + left: 0; + border-radius: 0.25rem; + width: 100%; + height: 100%; + z-index: 100; + background: var(--color-gradient); + background-size: 200%; + animation: loading 1s infinite reverse; +} + +@keyframes loading { + 0% { + background-position: -100% 0; + } + 100% { + background-position: 100% 0; + } +}F \ No newline at end of file diff --git a/sass/_code.scss b/sass/_code.scss new file mode 100644 index 0000000..b54bcaf --- /dev/null +++ b/sass/_code.scss @@ -0,0 +1,21 @@ +@use "vars"; + +pre, +code { + border: 1px solid vars.$border-color; + background-color: vars.$background-color; + border-radius: 4px; +} + +code { + padding: 1px 2px; +} + +pre { + padding: 0.25rem 0.5rem; + overflow-x: auto; + + > code { + border: 0; + } +} diff --git a/sass/_hamburger.scss b/sass/_hamburger.scss new file mode 100644 index 0000000..3174ab3 --- /dev/null +++ b/sass/_hamburger.scss @@ -0,0 +1,29 @@ +.hamburger-menu { + display: flex; + flex-flow: column wrap; + justify-content: space-between; + height: 2.5rem; + width: 2.5rem; + cursor: pointer; +} + +.hamburger-menu .bar { + height: 5px; + background: black; + border-radius: 5px; + margin: 3px 0px; + transform-origin: left; + transition: all 0.5s; +} + +.hamburger-menu:hover .top { + transform: rotate(45deg); +} + +.hamburger-menu:hover .middle { + opacity: 0; +} + +.hamburger-menu:hover .bottom { + transform: rotate(-45deg); +} diff --git a/sass/_music.scss b/sass/_music.scss new file mode 100644 index 0000000..09a526e --- /dev/null +++ b/sass/_music.scss @@ -0,0 +1,142 @@ +// @import url("https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap"); + +// html { +// box-sizing: border-box; +// } + +// h2 { +// font-size: 25px; +// text-align: center; +// font-weight: 500; +// margin: 10px 0 0; +// } + +// h3 { +// font-size: 18px; +// text-align: center; +// font-weight: 500; +// margin: 10px 0 0; +// } + +// body { +// margin: 0; +// font-size: 12px; +// min-height: 100vh; +// display: flex; +// align-items: center; +// justify-content: center; +// } + +.background { + position: fixed; + width: 200%; + height: 200%; + top: -50%; + left: -50%; + z-index: -1; +} + +.background img { + position: absolute; + margin: auto; + top: 0; + left: 0; + bottom: 0; + right: 0; + min-width: 50%; + min-height: 50%; + filter: blur(15px); + -webkit-filter: blur(50px); + transform: scale(1.1); +} + +.contenedor { + background-color: #e7e7e7; + height: 500px; + width: 400px; + border-radius: 20px; + box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3); + transition: all 0.5s ease; +} + +.contenedor:hover { + box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6); +} + +.player-img { + width: 300px; + height: 300px; + position: relative; + top: -50px; + left: 50px; +} + +.player-img img { + object-fit: cover; + border-radius: 20px; + height: 0; + width: 0; + opacity: 0; + box-shadow: 0 5px 30px 5px rgba(0, 0, 0, 0.5); +} + +.player-img:hover img { + box-shadow: 0 5px 30px 5px rgba(0, 0, 0, 0.8); +} + +.player-img img.active { + width: 100%; + height: 100%; + transition: all 0.5s; + opacity: 1; +} + +.player-progress { + background-color: #fff; + border-radius: 5px; + cursor: pointer; + margin: 40px 20px 35px; + height: 6px; + width: 90%; +} + +.progress { + background-color: #212121; + border-radius: 5px; + height: 100%; + width: 0%; + transition: width 0.1s linear; +} + +.music-duration { + position: relative; + top: -25px; + display: flex; + justify-content: space-between; +} + +.player-controls { + position: relative; + top: -15px; + left: 120px; + width: 200px; +} + +.fa-solid { + font-size: 30px; + color: #666; + margin-right: 30px; + cursor: pointer; + user-select: none; + transition: all 0.3s ease; +} + +.fa-solid:hover { + filter: brightness(40%); +} + +.play-button { + font-size: 44px; + position: relative; + top: 3px; +} diff --git a/sass/_table.scss b/sass/_table.scss new file mode 100644 index 0000000..05be989 --- /dev/null +++ b/sass/_table.scss @@ -0,0 +1,21 @@ +@use "vars"; + +// Tables +table { + margin: 0 auto; + color: vars.$font-color; + border: 1px solid vars.$border-color; + border-collapse: collapse; + font-size: 14px; +} + +table thead th, +table tfoot th { + background: rgba(0, 0, 0, 0.2); +} + +table th, +table td { + padding: 2px 4px; + border: 1px solid vars.$border-color; +} diff --git a/sass/_vars.scss b/sass/_vars.scss new file mode 100644 index 0000000..303ad91 --- /dev/null +++ b/sass/_vars.scss @@ -0,0 +1,34 @@ +// SCSS Variables +$system-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif; +$font-color: #000; +$background-color: #d9d9d9; +$border-color: #807b7b; +$link-color: #4e8641; +$mobile-breakpoint: 1000px; +$page-width: 750px; +$sidebar-width: 250px; + +//Mixins +@mixin min-screen($min-width: $body-width) { + @media screen and (min-width: $min-width) { + @content; + } +} + +@mixin max-screen($max-width: $body-width) { + @media screen and (max-width: $max-width) { + @content; + } +} + +@mixin box-sizing($type: border-box) { + -webkit-box-sizing: $type; + -moz-box-sizing: $type; + box-sizing: $type; +} + +@mixin transition($args...) { + -webkit-transition: $args; + -moz-transition: $args; + transition: $args; +} diff --git a/sass/main.scss b/sass/main.scss new file mode 100644 index 0000000..93c692d --- /dev/null +++ b/sass/main.scss @@ -0,0 +1,6 @@ +@charset "utf-8"; + +// Core Styles +@use "normalize"; +@use "vars"; +@use "base"; diff --git a/snippets/warning-under-development.md b/snippets/warning-under-development.md deleted file mode 100644 index 5bc27cb..0000000 --- a/snippets/warning-under-development.md +++ /dev/null @@ -1,2 +0,0 @@ -

⚠ This repo is under development. Please consider it a Work-in-Progress. ⚠ -

diff --git a/vercel.json b/vercel.json index 9f2cbfb..e742601 100644 --- a/vercel.json +++ b/vercel.json @@ -1,7 +1,7 @@ { - "build": { - "env": { - "ZOLA_VERSION": "0.17.2" - } - } + "build": { + "env": { + "ZOLA_VERSION": "0.17.2" + } + } }