Skip to content

Commit

Permalink
added default bg
Browse files Browse the repository at this point in the history
  • Loading branch information
domonik committed Oct 25, 2023
1 parent 0083eb5 commit a8fbdf9
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 2 deletions.
61 changes: 61 additions & 0 deletions assets/img/default-background.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions assets/js/restylePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ function halloweenTheme(){

function christmasTheme(){

document.documentElement.style.setProperty('--ufr-main-blue', "#007550");
document.documentElement.style.setProperty('--active-item-color', "#e30613ff");
//document.documentElement.style.setProperty('--ufr-main-blue', "#007550");
//document.documentElement.style.setProperty('--active-item-color', "#007550");
document.documentElement.style.setProperty('--exercise-bg-color', "white");

document.body.style.backgroundColor = "#0F8A5F";
Expand Down
9 changes: 9 additions & 0 deletions bioinf-style.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@
--font-family: "Source Sans Pro",Calibri,Candara,Arial,sans-serif;
--exercise-bg-color: white;
}

body {
background-image: url('assets/img/default-background.svg');
background-size: cover;
background-attachment: fixed;
background-position: center bottom;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
font-family: var(--font-family);
}
Expand All @@ -19,6 +27,7 @@ a:hover {
.toc-content {
background-color: var(--exercise-bg-color);
border-radius: 10px;
border: 1px solid grey;
}
.list-group-item.active, .list-group-item.active:hover, .list-group-item.active:focus {
background-color: var(--active-item-color);
Expand Down

0 comments on commit a8fbdf9

Please sign in to comment.