Skip to content

Commit b0ac5fb

Browse files
committed
Add subtle 'Admin' link in footer bar -> CONTRIBUTING.md
Anchored at the right edge of the dark bar with low-contrast white text (0.55 alpha; full white on hover) so it sits unobtrusively against the gradient but is discoverable for lab members. Links to the CONTRIBUTING.md walkthrough on GitHub.
1 parent 9526863 commit b0ac5fb

2 files changed

Lines changed: 21 additions & 2 deletions

File tree

_includes/footer.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<footer class="site-footer">
2-
<div class="footer-bars" aria-hidden="true">
3-
<div class="footer-bar-dark"></div>
2+
<div class="footer-bars">
3+
<div class="footer-bar-dark">
4+
<a class="footer-admin" href="https://github.com/DasLab/DasLab.github.io/blob/main/CONTRIBUTING.md" target="_blank" rel="noopener">Admin</a>
5+
</div>
46
<div class="footer-bar-teal"></div>
57
</div>
68
<div class="institutional-logos">

assets/css/style.scss

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -825,6 +825,23 @@ details.show-more {
825825
.footer-bar-dark {
826826
flex: 0 0 68.86%;
827827
background-image: url("{{ '/assets/images/site/public/footer_bar_dark.png' | relative_url }}");
828+
position: relative;
829+
}
830+
831+
/* Subtle "Admin" shortcut for lab members — links to CONTRIBUTING.md.
832+
Anchored in the dark bar, low-contrast text so it doesn't pull
833+
attention from the institutional logos but is discoverable. */
834+
.footer-admin {
835+
position: absolute;
836+
right: 0.6rem;
837+
top: 50%;
838+
transform: translateY(-50%);
839+
font-size: 0.7rem;
840+
letter-spacing: 0.1em;
841+
text-transform: uppercase;
842+
color: rgba(255, 255, 255, 0.55);
843+
text-decoration: none;
844+
&:hover { color: rgba(255, 255, 255, 1); }
828845
}
829846
.footer-bar-teal {
830847
flex: 1 1 auto;

0 commit comments

Comments
 (0)