Skip to content

Commit

Permalink
chore: add a break banner (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcanouil authored Jan 6, 2024
1 parent 8331603 commit c448a0f
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions _quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ website:
site: "@RLilleRUG"
creator: "@MickaelCanouil"
card-style: summary_large_image
comments:
utterances:
repo: mcanouil/rlille.fr
page-navigation: true
page-footer:
left: |
Expand Down Expand Up @@ -55,3 +52,22 @@ format:
css: styles.css
lang: fr
date-format: long
include-after-body:
text: |
<script type="text/javascript">
var banner = document.createElement("div");
banner.innerHTML = "Le groupe est actuellement en pause.";
banner.classList.add("banner");
banner.style.fontStyle = "italic";
var body = document.body;
body.insertBefore(banner, body.firstChild);
</script>
<style type="text/css">
.banner {
background-color: #f0f0f0;
color: #000;
padding: 1em;
text-align: center;
z-index: 9999;
}
</style>

0 comments on commit c448a0f

Please sign in to comment.