Skip to content

Commit

Permalink
Merge pull request #159 from ClubCedille/etienneoh-cedille.etsmtl.ca
Browse files Browse the repository at this point in the history
Etienneoh cedille.etsmtl.ca
  • Loading branch information
etienneoh authored Oct 4, 2024
2 parents 6c0b3d9 + 200c96a commit 3a96922
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 19 deletions.
16 changes: 7 additions & 9 deletions themes/cedille/layouts/partials/header.html
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
<header>
<nav class="navbar navbar-expand-lg py-3">
<div class="container">
{{ if in .Name "Accueil" }}
<a class="navbar-brand d-none" href="{{ relref . "/" }}">
{{ .Site.Title | upper }} $ <span class="blink">&#9608;</span>
</a>
{{ else }}
<a class="navbar-brand" href="{{ relref . "/" }}">
{{ .Site.Title | upper }} $
</a>
<span contenteditable="true" id="editable-underscore" class="blink">&#9608;</span>
{{ if not (in .Name "Accueil") }}
<div class="">
<a class="navbar-brand" href="{{ relref . "/" }}">
{{ .Site.Title | upper }} $
</a>
<span contenteditable="true" id="editable-underscore" class="blink">&#9608;</span>
</div>
<span id="flag" style="display:none; margin-left: 10px;">Défi réussi! réponse : Hello, CEDILLE</span>
<span id="error-message" style="display:none; color:red; margin-left: 10px;">Insufficient privileges</span>
{{ end }}
Expand Down
2 changes: 1 addition & 1 deletion themes/cedille/layouts/partials/hero.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="container py-5">
<div class="row g-0 mt-4 mx-5">
<div class="col-12 mb-3 text-center d-block d-md-none">
<img style="width: 15rem; height: 16rem; object-fit: fill;" src="{{ .logoCedille }}" alt="logo-cedille">
<img style="width: 15rem; height: 16rem; object-fit: contain;" src="{{ .logoCedille }}" alt="logo-cedille">
</div>
<div class="col-12 col-lg-5 col-md-5 text-center text-lg-start text-md-start my-auto">
<div class="container">
Expand Down
10 changes: 1 addition & 9 deletions themes/cedille/static/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ header{

.navbar-brand{
color: rgba(255, 166, 0, 0.748);
margin-right: 0.4rem;
margin-right: 0px;
}

.navbar-brand:hover{
Expand Down Expand Up @@ -355,10 +355,6 @@ header{
.projets-recents .panel .col-sm-9{
margin-right: -45px;
}

.navbar-brand {
margin-right: -28.6rem;
}
}

/* -------- Partenaire ----------*/
Expand Down Expand Up @@ -544,10 +540,6 @@ header{
width: 190px;
height: 100px;
}

.navbar-brand {
margin-right: -2.9rem;
}
}


Expand Down

0 comments on commit 3a96922

Please sign in to comment.