finished logos on home page #1258

This commit is contained in:
2023-02-19 21:19:44 +01:00
parent acc36bb1e9
commit 58523311a2
4 changed files with 26 additions and 13 deletions
+13 -3
View File
@@ -1336,17 +1336,27 @@ footer[role="tools"]{
} }
; ;
#logos{ #logos{
// max-height: 100%;
position: relative;
flex-shrink: 1;
// display: flex;
// flex-direction: row;
// justify-content: flex-end;
.wrapper{
position: relative;
box-sizing: content-box; box-sizing: content-box;
max-height: 50px; // max-height: 50px;
padding:1em; padding:1em;
text-align: right; text-align: right;
height: 50px;
img{ img{
display: inline-block; // display: inline-block;
max-height: 100%; height: 100%;
padding-left: 1em; padding-left: 1em;
} }
} }
} }
}
h2{ h2{
margin:0; margin:0;
font-size: 0.756em; font-size: 0.756em;
+6 -3
View File
@@ -27,10 +27,13 @@
<div <div
v-if="$route.name === 'home' && (!searchResults || !searchResults.length)" v-if="$route.name === 'home' && (!searchResults || !searchResults.length)"
id="logos" id="logos"
class="col-7" class="small-col-12 med-col-7 large-col-7"
> >
<img src="/static/img/logos/labex.jpg" alt=""> <div class="wrapper">
<img src="/static/img/logos/PIA logo.png" alt=""> <img src="/static/img/logos/labex.jpg" alt="Labex">
<img src="/static/img/logos/PIA logo.png" alt="PIA">
<img src="/static/img/logos/Logo-HAR-Unite-de-recherche.png" alt="HAR">
</div>
</div> </div>
</div> </div>
</footer> </footer>
+2 -2
View File
@@ -116,9 +116,9 @@ export default {
wrapperClass () { wrapperClass () {
console.log('this.$route.name', this.$route.name) console.log('this.$route.name', this.$route.name)
if (this.$route.name === 'home' && (!this.results || !this.results.length)) { if (this.$route.name === 'home' && (!this.results || !this.results.length)) {
return 'col-4' return 'small-col-11 med-col-4 large-col-4'
} else { } else {
return 'col-11' return 'med-col-11 large-col-11'
} }
}, },
firstFieldsetClass () { firstFieldsetClass () {
Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB