Background image
This commit is contained in:
parent
9b7c651a8f
commit
bd632e3ed1
|
@ -11,6 +11,7 @@ static STATIC_FILES: &[(&str, &[u8])] = &[
|
|||
"LinBiolinum_R.otf",
|
||||
include_bytes!("../static/LinBiolinum_R.otf"),
|
||||
),
|
||||
("background.jpg", include_bytes!("../static/background.jpg")),
|
||||
];
|
||||
|
||||
pub fn init_static_files(dir: &Path) {
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 1.2 MiB |
|
@ -17,6 +17,10 @@ html, body {
|
|||
font-size: 110%;
|
||||
}
|
||||
|
||||
body {
|
||||
background-image: linear-gradient(rgba(255,255,255,0.2), rgba(255,255,255,0.2)), url("/static/background.jpg");
|
||||
}
|
||||
|
||||
h1, h2, h3, h4 {
|
||||
font-family: "Karma";
|
||||
}
|
||||
|
@ -48,6 +52,10 @@ h1, h2, h3, h4 {
|
|||
padding: 4px;
|
||||
}
|
||||
|
||||
.page {
|
||||
background-color: rgba(255,255,255,0.95);
|
||||
}
|
||||
|
||||
@media screen and (min-width: 801px) {
|
||||
.center {
|
||||
width: 800px;
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<link rel="shortcut icon" href="/static/icon.png"/>
|
||||
</head>
|
||||
<body>
|
||||
<div class="center">
|
||||
<div class="center page">
|
||||
<a href="/"><img id="banner" alt="ĞMarché" src="/static/banner.jpg"/></a>
|
||||
|
||||
<h1>Administration – ĞMarché</h1>
|
||||
|
@ -55,7 +55,8 @@
|
|||
<p><a href="https://forum.duniter.org">Toutes les questions techniques ont leur place sur le forum.</a></p>
|
||||
|
||||
<p><a href="https://git.p2p.legal/tuxmain/gmarche-rs">Code source</a> sous licence <a href="https://www.gnu.org/licenses/licenses.html#AGPL">GNU AGPL v3</a>. 🦀 Écrit en <a href="https://www.rust-lang.org">Rust</a>. Images de Attilax.<br/>
|
||||
CopyLeft 2020 Pascal Engélibert</p>
|
||||
CopyLeft 2020 Pascal Engélibert<br/>
|
||||
Image de fond : Claudia Peters, FreeImages.com</a></p>
|
||||
|
||||
<p><a href="/">Accueil</a> – <a href="/admin/logout">Verrouiller</a></p>
|
||||
</div>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<link rel="shortcut icon" href="/static/icon.png"/>
|
||||
</head>
|
||||
<body>
|
||||
<div class="center">
|
||||
<div class="center page">
|
||||
<a href="/"><img id="banner" alt="ĞMarché" src="/static/banner.jpg"/></a>
|
||||
|
||||
<h1>Administration – ĞMarché</h1>
|
||||
|
@ -36,7 +36,8 @@
|
|||
<p><a href="https://forum.duniter.org">Toutes les questions techniques ont leur place sur le forum.</a></p>
|
||||
|
||||
<p><a href="https://git.p2p.legal/tuxmain/gmarche-rs">Code source</a> sous licence <a href="https://www.gnu.org/licenses/licenses.html#AGPL">GNU AGPL v3</a>. 🦀 Écrit en <a href="https://www.rust-lang.org">Rust</a>. Images de Attilax.<br/>
|
||||
CopyLeft 2020 Pascal Engélibert</p>
|
||||
CopyLeft 2020 Pascal Engélibert<br/>
|
||||
Image de fond : Claudia Peters, FreeImages.com</a></p>
|
||||
|
||||
<p><a href="/">Accueil</a></p>
|
||||
</div>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<link rel="shortcut icon" href="/static/icon.png"/>
|
||||
</head>
|
||||
<body>
|
||||
<div class="center">
|
||||
<div class="center page">
|
||||
<a href="/"><img id="banner" alt="ĞMarché" src="/static/banner.jpg"/></a>
|
||||
|
||||
<h1>ĞMarché</h1>
|
||||
|
@ -84,7 +84,8 @@
|
|||
<p><a href="https://forum.duniter.org">Toutes les questions techniques ont leur place sur le forum.</a></p>
|
||||
|
||||
<p><a href="https://git.p2p.legal/tuxmain/gmarche-rs">Code source</a> sous licence <a href="https://www.gnu.org/licenses/licenses.html#AGPL">GNU AGPL v3</a>. 🦀 Écrit en <a href="https://www.rust-lang.org">Rust</a>. Images de Attilax.<br/>
|
||||
CopyLeft 2020 Pascal Engélibert</p>
|
||||
CopyLeft 2020 Pascal Engélibert<br/>
|
||||
Image de fond : Claudia Peters, FreeImages.com</a></p>
|
||||
|
||||
<p><a href="/admin">Administration</a></p>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue