diff --git a/templates/OldManualVersionWarning.php b/templates/OldManualVersionWarning.php deleted file mode 100644 index ae33e985..00000000 --- a/templates/OldManualVersionWarning.php +++ /dev/null @@ -1,7 +0,0 @@ - - - - diff --git a/www/css/manual-dark.css b/www/css/manual-dark.css index dbbc0955..f0372398 100644 --- a/www/css/manual-dark.css +++ b/www/css/manual-dark.css @@ -1,4 +1,8 @@ @media(prefers-color-scheme: dark){ + main.manual.outdated{ + background: url('/images/outdated-dark.svg'); + } + blockquote, figure.text{ background: rgba(0,0,0,.25); @@ -8,7 +12,6 @@ background-color: var(--light-body-text); } - .manual > article > section > section[id] > ol ol > li aside.number::after, .manual > article > section > section[id] section > ol > li aside.number::after, .manual > article > section > section[id] section > aside.number::after{ diff --git a/www/css/manual.css b/www/css/manual.css index 9ede6134..9e65fab4 100644 --- a/www/css/manual.css +++ b/www/css/manual.css @@ -50,6 +50,10 @@ main.manual{ font-variant-numeric: initial; } +main.manual.outdated{ + background: url('/images/outdated.svg'); +} + main code:first-child{ margin-top: 0; } diff --git a/www/images/outdated-dark.svg b/www/images/outdated-dark.svg new file mode 100644 index 00000000..dd0896e2 --- /dev/null +++ b/www/images/outdated-dark.svg @@ -0,0 +1,108 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + diff --git a/www/images/outdated.svg b/www/images/outdated.svg new file mode 100644 index 00000000..6a1ee84f --- /dev/null +++ b/www/images/outdated.svg @@ -0,0 +1,108 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + +