site: warning banner: make it more visible

This uses a black background and white text which is the opposite of
the default theme. By using black and white, this also makes sure that
color blind people can still see the banner.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
This commit is contained in:
Denis 'GNUtoo' Carikli 2023-11-15 01:23:06 +01:00 committed by Adrien 'neox' Bourmault
parent 4d4518a06a
commit 09fac4ee4b
Signed by: neox
GPG Key ID: 2974E1D5F25DFCC8
1 changed files with 11 additions and 0 deletions

View File

@ -15,6 +15,15 @@ $if(keywords)$
$endif$ $endif$
<title>$if(title-prefix)$$title-prefix$ $endif$$pagetitle$</title> <title>$if(title-prefix)$$title-prefix$ $endif$$pagetitle$</title>
<style type="text/css"> <style type="text/css">
.warning_banner {
background:#000000;
color:#ffffff;
margin:0 auto;
font-family:sans-serif;
line-height:5
}
html{ html{
background:#fff; background:#fff;
color:#222; color:#222;
@ -104,6 +113,7 @@ $endif$
<hr/> <hr/>
$if(x-reviewed)$ $if(x-reviewed)$
$else$ $else$
<div class="warning_banner">
<p> <p>
The information on this page could be outdated or refer to other The information on this page could be outdated or refer to other
boot software related projects instead of GNU Boot. We also need boot software related projects instead of GNU Boot. We also need
@ -113,6 +123,7 @@ $else$
page for more details on how to contribute to GNU Boot. page for more details on how to contribute to GNU Boot.
</p> </p>
<hr/> <hr/>
</div>
$endif$ $endif$
</header> </header>
$endif$ $endif$