make ynh logo loaded with css, not as img tag, it's easier for customization

This commit is contained in:
chateau 2019-03-12 19:05:05 +01:00
parent 9845d99398
commit d2d8fe6155
2 changed files with 5 additions and 5 deletions

View file

@ -70,7 +70,6 @@ html {
body {
background: #41444f;
font-family: 'source_sans_proregular';
overflow-y: scroll;
font-size: 1em;
line-height:1.5;
margin: 0;
@ -131,11 +130,12 @@ img {
text-align: center;
margin-bottom: 0;
opacity: 0.7;
}
.logo img {
margin-top: 4%;
width: 10em;
width: 100px;
height: 100px;
background-image: url("../img/logo-ynh-white.svg");
background-repeat: no-repeat;
}
.logged .logo {

View file

@ -36,7 +36,7 @@
<body class="ynh-user-portal {{#connected}}logged{{/connected}}">
<div id="logo" class="logo">
<img src="assets/img/logo-ynh-white.svg"/><span class="element-invisible">Yunohost</span>
<span class="element-invisible">Yunohost</span>
</div>
<div class="overlay">