Skip to content

Commit

Permalink
More styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Saltssaumure committed Nov 3, 2023
1 parent 4a95951 commit 85bbb64
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 5 deletions.
6 changes: 5 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@ remote_theme: pages-themes/[email protected]
plugins:
- jekyll-remote-theme # add this line to the plugins list if you already have one
title: Learn To Theme
description: A step-by-step guide to creating Discord themes, from beginner to advanced.
description: A step-by-step guide to creating Discord themes, from beginner to advanced.

github:
owner_url: https://github.com/Saltssaumure
owner_name: Saltssaumure
2 changes: 1 addition & 1 deletion _includes/navigation.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<nav>
<nav class="navbar">
<a href="{{ '/step/1.html' | relative_url }}" class="btn">Step 1</a>
<a href="{{ '/step/2.html' | relative_url }}" class="btn">Step 2</a>
<a href="{{ '/step/3.html' | relative_url }}" class="btn">Step 3</a>
Expand Down
3 changes: 1 addition & 2 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,9 @@
<header class="page-header" role="banner">
<h1 class="project-name">{{ page.title | default: site.title | default: site.github.repository_name }}</h1>
<h2 class="project-tagline">{{ page.description | default: site.description | default: site.github.project_tagline }}</h2>
{% include navigation.html %}
</header>

{% include navigation.html %}

<main id="content" class="main-content" role="main">
{{ content }}

Expand Down
14 changes: 13 additions & 1 deletion assets/css/style.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
---
---
$header-bg-color: #6f15b8;
$header-bg-color-secondary: #4e2802;

@import "{{ site.theme }}";

// other stuff
body {
background: invert($body-text-color);
}

// Step navigation
.navbar {
display: flex;
justify-content: center;
position: sticky;
top: 0;
}

0 comments on commit 85bbb64

Please sign in to comment.