mirror of
https://github.com/YunoHost/SSOwat.git
synced 2024-09-03 20:06:27 +02:00
make ynh logo loaded with css, not as img tag, it's easier for customization
This commit is contained in:
parent
9845d99398
commit
d2d8fe6155
2 changed files with 5 additions and 5 deletions
|
@ -70,7 +70,6 @@ html {
|
||||||
body {
|
body {
|
||||||
background: #41444f;
|
background: #41444f;
|
||||||
font-family: 'source_sans_proregular';
|
font-family: 'source_sans_proregular';
|
||||||
overflow-y: scroll;
|
|
||||||
font-size: 1em;
|
font-size: 1em;
|
||||||
line-height:1.5;
|
line-height:1.5;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
@ -131,11 +130,12 @@ img {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
opacity: 0.7;
|
opacity: 0.7;
|
||||||
}
|
|
||||||
|
|
||||||
.logo img {
|
|
||||||
margin-top: 4%;
|
margin-top: 4%;
|
||||||
width: 10em;
|
width: 10em;
|
||||||
|
width: 100px;
|
||||||
|
height: 100px;
|
||||||
|
background-image: url("../img/logo-ynh-white.svg");
|
||||||
|
background-repeat: no-repeat;
|
||||||
}
|
}
|
||||||
|
|
||||||
.logged .logo {
|
.logged .logo {
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
<body class="ynh-user-portal {{#connected}}logged{{/connected}}">
|
<body class="ynh-user-portal {{#connected}}logged{{/connected}}">
|
||||||
|
|
||||||
<div id="logo" class="logo">
|
<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>
|
||||||
|
|
||||||
<div class="overlay">
|
<div class="overlay">
|
||||||
|
|
Loading…
Reference in a new issue