Skip to content

Commit

Permalink
center blog post and lil linky
Browse files Browse the repository at this point in the history
  • Loading branch information
ninjamuffin99 committed Mar 12, 2024
1 parent ea0ce30 commit 444cd4a
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
6 changes: 3 additions & 3 deletions 11ty-source/_layouts/blog-post.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ layout: default.liquid
---
<!-- <%- @partial('header-menu.html.eco', {ablog:"class='active'"}) %> -->

<div class="col-12">
<div>
<h1 class="title">
<div class="col-md-9 mx-auto">
<div >
<h1 class="title text-center">
<a
class="icon-link icon-link-hover"
style="color:var(--bs-body-color)"
Expand Down
18 changes: 17 additions & 1 deletion scss/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,25 @@ a.header-anchor::before {
animation-iteration-count: 3;
}

@keyframes fadeIn {
0% {
opacity: 0%;
}
100% {
opacity: 100%;
}
}

.icon-link-hover:active > i::after {
display: inline-block;
position: absolute;
width: auto;
font-size: medium;
top: 0.5em;
text-wrap: nowrap;
content: " link copied to clipboard";
opacity: 0.2;
opacity: 0.8;
animation: fadeIn 0.1s ease-out;
}

.icon-link-hover > i {
Expand Down

0 comments on commit 444cd4a

Please sign in to comment.