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
This commit is contained in:
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 { .centered {
background-color: #ffffff; margin: 0 auto;
width: 100%; text-align: center;
}
.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 { text-align: center; } .pad-side {
.pad-side { padding: 0 .25em; } padding: 0 .25em;
}

View File

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