Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Discontinuation Banner #29

Merged
merged 3 commits into from
Feb 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Jan Hohenheim <[email protected]> <[email protected]>
Tau <[email protected]> <[email protected]>
Tau <[email protected]> <[email protected]>
Tau <[email protected]> <[email protected]>
Tau <[email protected]> <[email protected]>

2 changes: 1 addition & 1 deletion config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ username = "janhohenheim"
image_url = "https://avatars2.githubusercontent.com/u/9047632"

[[additional.people]]
name = "Ruben Schmidmeister"
name = "Tau Gärtli"
username = "bash"
image_url = "https://avatars2.githubusercontent.com/u/4602612"

Expand Down
15 changes: 15 additions & 0 deletions sass/components/page-banner.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
.page-banner {
font-size: .8em;
font-weight: 600;
background-color: #E8CB68;
color: color-mix(in srgb, #E8CB68, #000 70%);
box-shadow: 1px 1px 2px color-mix(in srgb, #E8CB68, #000 20%);
text-align: center;
padding: .4em;
position: sticky;
top: 0;

@media (prefers-color-scheme: dark) {
box-shadow: 1px 1px 2px color-mix(in srgb, #E8CB68, #000 80%);
}
}
1 change: 1 addition & 0 deletions sass/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@
@import 'components/landing-feature';
@import 'components/landing-features';
@import 'components/content-paragraph';
@import 'components/page-banner.scss';
3 changes: 3 additions & 0 deletions template.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
<title>{{title}}</title>
</head>
<body>
<aside class="page-banner">
The Myelin project is discontinued; we are no longer actively updating this website. Please do not contact us about this project.
</aside>
<header class="page-header">
<nav class="page-header-nav">
<ul class="items">
Expand Down
Loading