Switch out old hometown logo for new one

Also tidies up a bunch of svgs that were hardcoded and shouldn't have been
This commit is contained in:
Emma Winston
2019-10-02 00:57:31 +01:00
parent 08f6148334
commit 682afe8d2d
10 changed files with 51 additions and 17 deletions

View File

@ -3033,9 +3033,8 @@ a.status-card.compact:hover {
}
&__figure {
background: url('../images/defaultmascotlight.svg') no-repeat center 0;
width: 100%;
height: 160px;
height: 10px;
background-size: contain;
position: absolute;
top: 50%;
@ -3045,14 +3044,10 @@ a.status-card.compact:hover {
&.missing-indicator {
padding-top: 20px + 48px;
.regeneration-indicator__figure {
background-image: url('../images/defaultmascotlight.svg');
}
}
&__label {
margin-top: 200px;
margin-top: 0px;
strong {
display: block;
@ -6027,7 +6022,7 @@ noscript {
.drawer__inner__mastodon svg#hometownlogo {
position: absolute;
fill: $secondary-text-color;
width: 90px;
width: 100px;
height: 100px;
bottom: 0;
}
@ -6041,4 +6036,4 @@ div.status__content--with-spoiler {
margin: 0.25rem 0 0 0;
}
}
}
}

View File

@ -392,8 +392,42 @@
border-radius: 4px 4px 0 0;
}
.originalheader {
width: 100%;
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: center;
align-items: center;
align-content: space-between;
svg {
fill: $secondary-text-color;
height: 300px;
}
h1 {
flex-grow: 2;
text-align: center;
white-space: nowrap;
font-family: $font-sans-serif, sans-serif;
}
}
@media screen and (max-width: 600px) {
height: 200px;
.originalheader {
svg {
height: 200px;
}
h1 {
font-size: 0.5rem;
}
}
}
}

View File

@ -15,7 +15,6 @@
> * {
flex: 1;
max-height: 235px;
background: url('../images/defaultmascotlight.svg') no-repeat left bottom / contain;
}
}