Skip to content

Commit 2d73554

Browse files
committed
added homepage
1 parent 1ac9a2a commit 2d73554

File tree

4 files changed

+43
-22
lines changed

4 files changed

+43
-22
lines changed

_quarto.yml

Lines changed: 11 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,32 +3,22 @@ project:
33
output-dir: docs
44

55
website:
6-
title: "Course Title"
7-
sidebar:
8-
background: primary
9-
# logo: "images/logo.png"
10-
pinned: true
11-
align: center
12-
tools:
13-
- icon: github
14-
href: https://github.com/Pakillo/quarto-course-website-template
15-
text: GitHub
16-
style: docked
17-
contents:
6+
title: "ES654"
7+
navbar:
8+
right:
189
- href: index.qmd
1910
text: Home
20-
- href: schedule.qmd
21-
text: Schedule
22-
- href: materials.qmd
23-
text: Materials
24-
- href: https://github.com/Pakillo/quarto-course-website-template/discussions
25-
text: Forum
2611

2712
format:
2813
html:
29-
theme: cosmo
30-
# css: styles.css
31-
toc: true
14+
theme:
15+
light: [litera, styles.scss]
16+
dark: [darkly, styles-dark.scss]
17+
highlight-style: a11y-dark
18+
mainfont: "Roboto"
19+
code-copy: true
20+
code-overflow: wrap
21+
3222

3323
execute:
3424
freeze: auto

styles-dark.scss

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
/*-- scss:defaults --*/
2+
3+
@import 'https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap';
4+
5+
$font-family: "Roboto", sans-serif;
6+
$font-family-serif: "Roboto", sans-serif;
7+
8+
$primary: #2c2c2c;
9+
10+
/*-- scss:rules --*/
11+
12+
kbd,
13+
.kbd {
14+
background-color: #222222 !important;
15+
}
16+
17+
.navbar {
18+
padding-top: 0.5rem;
19+
padding-bottom: 0.5rem;
20+
}

styles.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

styles.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/*-- scss:defaults --*/
2+
3+
@import 'https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap';
4+
5+
$font-family: "Roboto", sans-serif;
6+
$font-family-serif: "Roboto", sans-serif;
7+
8+
/*-- scss:rules --*/
9+
.navbar {
10+
padding-top: 0.5rem;
11+
padding-bottom: 0.5rem;
12+
}

0 commit comments

Comments
 (0)