Skip to content

Commit

Permalink
Update theme
Browse files Browse the repository at this point in the history
  • Loading branch information
nfrerebeau committed May 22, 2024
1 parent 63a53c9 commit cf0b79f
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 12 deletions.
11 changes: 5 additions & 6 deletions _quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ website:
image: /images/card.png

navbar:
background: "#4F2680"
pinned: true
right:
- text: "Packages"
Expand All @@ -38,7 +37,6 @@ website:
href: https://archaeo.social/@tesselle

page-footer:
# background: "#4F2680"
center: |
<a href="https://www.u-bordeaux-montainge.fr"><img src="/images/logo-ubm.svg" class="logo-institution" /></a><a href="https://www.cnrs.fr"><img src="/images/logo-cnrs.svg" class="logo-institution" /></a>
Expand All @@ -64,9 +62,10 @@ knitr:
format:
html:
include-in-header: _header.html
toc: true
toc-location: left
code-link: true
theme:
- default
- custom.scss

theme:
- custom.scss
# Enable banner style title blocks
title-block-banner: true
18 changes: 13 additions & 5 deletions custom.scss
Original file line number Diff line number Diff line change
@@ -1,22 +1,30 @@
/*-- scss:defaults --*/
$theme: "cosmo" !default;

@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

$headings-font-family: "ubuntu", sans-serif;
$font-family-base: "roboto", sans-serif;
$font-family-sans-serif: "roboto", sans-serif;

/*-- Additional custom styles --*/
$link-color: #D90668;
$navbar-bg: #4F2680;
$navbar-fg: #F1E9DA;
$navbar-hl: #FFD402;
/* $footer-bg: #4F2680; */
/* $footer-fg: #F1E9DA; */

/* Additional custom styles */
p {
font-family: $font-family-sans-serif;
}

/* Add any additional CSS rules below */
.quarto-title-banner {
color: black !important;
background-color: white !important;
background-color: #F1E9DA !important;

h1 {
color: #4F2680 !important;
}
}

/* Logo */
Expand Down
1 change: 0 additions & 1 deletion learn/index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ listing:
filter-ui: true
feed: false
citation: false
title-block-banner: false
page-layout: full
---

Expand Down

0 comments on commit cf0b79f

Please sign in to comment.