Skip to content
This repository was archived by the owner on May 2, 2025. It is now read-only.

Commit 5244af7

Browse files
committed
Add wiki replacement warning
1 parent 9bc54a2 commit 5244af7

3 files changed

Lines changed: 12 additions & 1 deletion

File tree

hedgedocs/web/overrides/main.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script>
1919
{% endblock %}
2020

21+
{% block announce %}
22+
ANNOUNCEMENT: HedgeDocs will soon be replaced with a wiki version! However, for a limited time, both versions can be accessed, with the wiki being available <a href="https://wiki.hedgedocs.com">here</a>.
23+
{% endblock %}
2124

2225
{% block content %}
2326
<div class="imagePreview">

hedgedocs/web/stylesheets/extra.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@ body {
3636
}
3737

3838
.md-banner {
39-
background-color: #b71c1c;
39+
text-align: center;
40+
font-weight: bold;
41+
color: #FFFFFF;
42+
background-color: #820000;
4043
}
4144

4245
.md-copyright {

hedgedocs/web/stylesheets/ultradark.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@
3232
--ultradark-anchor-link-color: #0074ff;
3333
}
3434

35+
[data-md-color-scheme='ultradark'] .md-banner {
36+
background-color: #cbcbcb;
37+
color: #000000;
38+
}
39+
3540
[data-md-color-scheme='ultradark'] .contributor {
3641
color: var(--md-default-fg-color);
3742
word-break: break-word;

0 commit comments

Comments
 (0)