Pārlūkot izejas kodu

serve: add footer

master
Astro pirms 12 mēnešiem
vecāks
revīzija
cd6cb485f2
  1. 8
      ticker-serve/src/index.rs
  2. 15
      ticker-serve/static/style.css

8
ticker-serve/src/index.rs

@ -122,6 +122,14 @@ fn render_index(app_state: &AppState) -> String {
)) }
</div>)
}) }
<footer>
<p>
"Ein Projekt des "
<a href="https://www.c3d2.de/">"C3D2"</a>
" - "
<a href="https://gitea.c3d2.de/astro/ticker">"Code"</a>
</p>
</footer>
</body>
</html>
);

15
ticker-serve/static/style.css

@ -1,7 +1,7 @@
body {
font-family: sans-serif;
margin: 0 auto;
padding: 1rem 0;
padding: 1rem 0 0 0.5rem;
background-color: #373737;
color: #e7e7e7;
max-width: 40rem;
@ -78,3 +78,16 @@ h3 a {
line-height: 1.1em;
display: inline;
}
footer {
text-align: center;
}
footer p {
margin: 1rem 0 0;
}
footer a {
color: #F7F7F7;
text-decoration: none;
font-size: 85%;
font-weight: 500;
}

Notiek ielāde…
Atcelt
Saglabāt