Skip to content

Commit a27a8a6

Browse files
committed
fix fork me ribbon
1 parent 514a8d9 commit a27a8a6

File tree

3 files changed

+24
-1
lines changed

3 files changed

+24
-1
lines changed

public/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<script src="https://kit.fontawesome.com/5b604ec0cf.js" crossorigin="anonymous"></script>
99
</head>
1010
<body>
11-
<a href="https://github.com/jazzsequence/jazzsequence.github.io"><img loading="lazy" width="149" height="149" src="https://github.blog/wp-content/uploads/2008/12/forkme_right_darkblue_121621.png?resize=149%2C149" class="attachment-full size-full" alt="Fork me on GitHub" data-recalc-dims="1"></a>
11+
<a href="https://github.com/jazzsequence/jazzsequence.github.io" class="fork-me"><img loading="lazy" width="149" height="149" src="https://github.blog/wp-content/uploads/2008/12/forkme_right_darkblue_121621.png?resize=149%2C149" class="attachment-full size-full" alt="Fork me on GitHub" data-recalc-dims="1"></a>
1212
<div id="main"></div>
1313
</body>
1414
</html>

src/assets/sass/base/_main.scss

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,19 @@ html * {
44
font-family: $body;
55
}
66

7+
body
8+
{
9+
a.fork-me {
10+
position: absolute;
11+
top: 0;
12+
right: 0;
13+
border: 0;
14+
width: 100px;
15+
height: 100px;
16+
z-index: 1;
17+
}
18+
}
19+
720
.wrap {
821
margin: -8px; // Offset default margins.
922
padding: 10px;

src/assets/style.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,16 @@ html * {
6161
font-family: "Palanquin", "Open Sans", sans-serif;
6262
}
6363

64+
body a.fork-me {
65+
position: absolute;
66+
top: 0;
67+
right: 0;
68+
border: 0;
69+
width: 100px;
70+
height: 100px;
71+
z-index: 1;
72+
}
73+
6474
.wrap {
6575
margin: -8px;
6676
padding: 10px;

0 commit comments

Comments
 (0)