Skip to content

Commit

Permalink
feat: Add .gitignore files for vault and pages
Browse files Browse the repository at this point in the history
- Added a new .gitignore file in the "vault" directory to ignore certain files except for specific ones.
- Added a new .gitignore file in the "pages/vault" directory to ignore all files except for ".gitignore" and ".astro".
- Updated the import URL for the Nunito font in "_global.scss" to use a protocol-relative URL.
- Removed the text-align property from the @mixin "font-styles" in "_mixins.scss".
  • Loading branch information
SakuraIsayeki committed Aug 5, 2023
1 parent 7b906fd commit 3553b6c
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 6 deletions.
6 changes: 6 additions & 0 deletions nodsoft_moltenobsidian_web/src/pages/vault/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Ignore everything
*

# Except these files
!.gitignore
!.astro
12 changes: 8 additions & 4 deletions nodsoft_moltenobsidian_web/src/styles/_global.scss
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
@use "variables" as *;
@use "mixins" as *;
@import url("https://fonts.googleapis.com/css2?family=Nunito");

@import url("//fonts.googleapis.com/css2?family=Nunito");

html {
html, .html {
font-family: Nunito, system-ui, sans-serif;
background: #13151A;
background-size: 224px;
}

code {
code, .code {
font-family: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono,
Bitstream Vera Sans Mono, Courier New, monospace;
}

main {
main, .main {
margin: auto;
padding: 1rem;
width: 800px;
Expand All @@ -34,6 +34,10 @@ main {
z-index: -1;
}

.center {
text-align: center;
}

h1 {
@include font-styles(4rem);
}
Expand Down
3 changes: 1 addition & 2 deletions nodsoft_moltenobsidian_web/src/styles/_mixins.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
@mixin font-styles($size, $weight: 700, $line-height: 1, $align: center, $margin-bottom: 1em) {
@mixin font-styles($size, $weight: 700, $line-height: 1, $margin-bottom: 1em) {
font-size: $size;
font-weight: $weight;
line-height: $line-height;
text-align: $align;
margin-bottom: $margin-bottom;
}
8 changes: 8 additions & 0 deletions nodsoft_moltenobsidian_web/vault/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.obsidian/*
!.obsidian/app.json
!.obsidian/appearance.json
!.obsidian/config
!.obsidian/community-plugins.json
!.obsidian/core-plugins.json
!.obsidian/graph.json
!.obsidian/hotkeys.json

0 comments on commit 3553b6c

Please sign in to comment.