Skip to content

Commit

Permalink
add basic anchor tag styling for <main> sections (#1151)
Browse files Browse the repository at this point in the history
  • Loading branch information
thilobillerbeck authored Nov 8, 2023
1 parent 6f537a5 commit 071d29c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import { SEO } from "astro-seo";
import Header from "./Header.astro";
import Footer from "./Footer.astro";
import '../styles/base.css';
const {
title = "Nix &amp; NixOS | Reproducible builds and deployments",
description = "Nix is a tool that takes a unique approach to package management and system configuration. Learn how to make reproducible, declarative and reliable systems.",
Expand Down
10 changes: 10 additions & 0 deletions src/styles/base.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/* The integration's default injected base.css file */
@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
main a:-webkit-any-link {
@apply underline decoration-1 underline-offset-2 text-nixsemidarkblue;
}
}

0 comments on commit 071d29c

Please sign in to comment.