Skip to content

Commit

Permalink
feat: link-styling
Browse files Browse the repository at this point in the history
  • Loading branch information
therobrob committed Jan 26, 2025
1 parent 5bb9e69 commit a4683ed
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
3 changes: 3 additions & 0 deletions themes/fiptheme/assets/sass/navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@
padding: 1rem;
margin: .3rem;
pointer-events: none;
background-color: gainsboro;
border-radius: .4rem;
color: black;

&:focus {
opacity: 1;
Expand Down
16 changes: 14 additions & 2 deletions themes/fiptheme/assets/sass/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,20 @@ body {
a {
color: #ec0016;

&:hover {
color: green;
&:hover,
&:focus {
color: #c50014;
}
}

.o-footer__link {
text-decoration: underline;
color: black;
font-weight: 700;

&:hover,
&:focus {
color: red;
}
}

Expand Down
2 changes: 1 addition & 1 deletion themes/fiptheme/layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</head>
<body class="bg-light">
<header>{{ partial "header.html" . }}</header>
<main id="content "data-pagefind-body>{{ block "main" . }}{{ end }}</main>
<main id="content" data-pagefind-body>{{ block "main" . }}{{ end }}</main>
<footer>{{ partial "footer.html" . }}</footer>
</body>
</html>

0 comments on commit a4683ed

Please sign in to comment.