Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
petry committed Oct 25, 2023
1 parent 618ec04 commit 141cbd0
Show file tree
Hide file tree
Showing 5 changed files with 29 additions and 79 deletions.
6 changes: 4 additions & 2 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ module.exports = {
}),
],
theme: defaultTheme({
colorModeSwitch: false,
colorMode: 'dark',
navbar: [
{
text: 'Spells',
Expand All @@ -18,7 +20,7 @@ module.exports = {
{
text: 'About',
link: '/about.md',
}
]
},
],
}),
}
22 changes: 22 additions & 0 deletions docs/.vuepress/styles/index.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
@import url('https://fonts.googleapis.com/css2?family=Inconsolata&display=swap');

* {
font-family: 'Courier Prime', monospace;
}

body {
background-color: #0d1117 !important
}

header {
background-color: #0d1117 !important
}

aside {
background-color: #0d1117 !important
}

::-moz-selection {
background: rgb(255, 255, 0);
color: black;
}
30 changes: 3 additions & 27 deletions docs/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,33 +7,9 @@ footer: Made with VuePress 2 and Markdown — Guilherme M. Petry 2022
---

<style>
@import url('https://fonts.googleapis.com/css2?family=Inconsolata&display=swap');

* {
font-family: 'Courier Prime', monospace;
}

.theme-container {
background-color: #0d1117
}

header {
background-color: #0d1117 !important
}

aside {
background-color: #0d1117 !important
}

main {
height: 100vh;
}

::-moz-selection {
background: rgb(255, 255, 0);
color: black;
}

main {
min-height: 94vh;
}
</style>

# About
Expand Down
25 changes: 0 additions & 25 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,31 +6,6 @@ tagline: Documentations, writings, spells and other stuff
footer: Made with VuePress 2 and Markdown — Guilherme M. Petry 2022
---

<style>
@import url('https://fonts.googleapis.com/css2?family=Inconsolata&display=swap');

* {
font-family: 'Courier Prime', monospace;
}

#app {
background-color: #0d1117;
}

header {
background-color: #0d1117 !important;
}

aside {
background-color: #0d1117 !important;
}

::-moz-selection {
background: rgb(255, 255, 0);
color: black;
}
</style>

---

### :milky_way: API enchantment with JavaScript
Expand Down
25 changes: 0 additions & 25 deletions docs/posts/2023-07-01-api-enchantment-with-javascript.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,31 +8,6 @@ tags:
- Fetch API
---

<style>
@import url('https://fonts.googleapis.com/css2?family=Inconsolata&display=swap');

* {
font-family: 'Courier Prime', monospace;
}

body {
background-color: #0d1117
}

header {
background-color: #0d1117 !important
}

aside {
background-color: #0d1117 !important
}

::-moz-selection {
background: rgb(255, 255, 0);
color: black;
}
</style>

# API enchantment with JavaScript

{Intro on APIs and RESTful APIs}
Expand Down

0 comments on commit 141cbd0

Please sign in to comment.