Use a better image for the logo on the main page

- do not construct it via two separate svg images and glue it together
  with css magic
- simplify the existing custom css
- make the existing `centered` class also listen to block elements
- use the correct text color instead of a black logo color
pull/2/head
sixtus 2021-07-05 21:44:27 +02:00
parent d43ace367b
commit 71c15a6c13
5 changed files with 7 additions and 21 deletions

View File

@ -1,17 +1,8 @@
.dz-main {
background-color: #ffffff;
width: 100%;
}
.dz-logo {
background: url('logo.svg') top center no-repeat;
background-size: 22rem 18rem;
height: 18rem;
}
.dz-text {
background: url('dezentrale.svg') top center no-repeat;
background-size: 22rem 4rem;
height: 4rem;
.centered {
margin: 0 auto;
text-align: center;
}
.centered { text-align: center; }
.pad-side { padding: 0 .25em; }
.pad-side {
padding: 0 .25em;
}

View File

@ -11,10 +11,7 @@ showmetadates: false
showmetalinks: false
---
<div class="dz-main">
<div class="dz-logo"></div>
<div class="dz-text"></div>
</div>
<img class="centered" src="logo.png" alt="Logo">
<br>

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 8.1 KiB

BIN
static/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 13 KiB