Skip to content

Commit

Permalink
Make title more appealing
Browse files Browse the repository at this point in the history
  • Loading branch information
NotFenixio committed May 1, 2024
1 parent 0232665 commit 05927f2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions _layouts/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
<body>
<nav>
{% for item in site.data.navigation %}
<a href="{{ item.link }}" {% if page.url == item.link %}class="current"{% endif %}>{{ item.name }}</a>
<a href="{{ item.link | relative_url }}" {% if page.url == item.link %}class="current"{% endif %}>{{ item.name }}</a>
{% endfor %}
</nav>
<h1 class="font-[Poppins]">{{ page.title }}</h1>
<h1 class="font-[Poppins] text-2xl text-center font-bold bg-gradient-to-r from-indigo-300 via-indigo-700 to-blue-400">{{ page.title }}</h1>
</body>
</html>
6 changes: 5 additions & 1 deletion assets/css/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,8 @@ body {

.current {
color: #1a3819;
}
}

a {
@apply underline text-blue-600 hover:text-blue-800 visited:text-purple-600
}

0 comments on commit 05927f2

Please sign in to comment.