From 42f179b73745cd6684eb7ca43945a83e3f3cd99d Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Wed, 29 Jan 2025 17:42:53 +0100 Subject: Update Sass --- resources/pug/finals/index.pug | 26 +++++++++++++------------- resources/pug/finals/publications.pug | 2 -- 2 files changed, 13 insertions(+), 15 deletions(-) (limited to 'resources/pug/finals') diff --git a/resources/pug/finals/index.pug b/resources/pug/finals/index.pug index 7ff99b2..041e2ec 100644 --- a/resources/pug/finals/index.pug +++ b/resources/pug/finals/index.pug @@ -6,23 +6,23 @@ block extra_head block titleContainer block append js - script(src='/assets/js/jquery.slim.min.js') - script(src='/assets/js/scrollspy.min.js') + script(src='/assets/js/bootstrap.min.js') - script $('body').scrollspy({target: '#sticky-nav'}); + script new bootstrap.ScrollSpy(document.body, {target: '#sticky-nav'}); block content #sticky-nav - ul.nav.nav-pills - li(role='presentation') #[a(href='#introduction') Introduction] - li(role='presentation') #[a(href='#publications') Publications] - li(role='presentation') #[a(href='#talks') Talks] - li(role='presentation') #[a(href='#projects') Software projects] - li(role='presentation') #[a(href='#teaching') Teaching] - li(role='presentation') #[a(href='#service') Service] - li(role='presentation') #[a(href='#grants') Grants] - li(role='presentation') #[a(href='#employment') Employment] - li(role='presentation') #[a(href='#education') Education] + ul.nav.flex-column.nav-pills + li.nav-item(role='presentation') #[a.nav-link(href='#introduction') Introduction] + li.nav-item(role='presentation') #[a.nav-link(href='#publications') Publications] + li.nav-item(role='presentation') #[a.nav-link(href='#talks') Talks] + li.nav-item(role='presentation') #[a.nav-link(href='#service') Service] + li.nav-item(role='presentation') #[a.nav-link(href='#statistics') Statistics] + li.nav-item(role='presentation') #[a.nav-link(href='#projects') Software projects] + li.nav-item(role='presentation') #[a.nav-link(href='#teaching') Teaching] + li.nav-item(role='presentation') #[a.nav-link(href='#grants') Grants] + li.nav-item(role='presentation') #[a.nav-link(href='#employment') Employment] + li.nav-item(role='presentation') #[a.nav-link(href='#education') Education] .container#content header#introduction diff --git a/resources/pug/finals/publications.pug b/resources/pug/finals/publications.pug index e88db1f..6a46390 100644 --- a/resources/pug/finals/publications.pug +++ b/resources/pug/finals/publications.pug @@ -109,7 +109,6 @@ block content chart: { spacingLeft: 0, spacingRight: 0, - style: {fontSize: '1.5rem'}, zooming: {type: 'x'}, }, scrollbar: { @@ -175,7 +174,6 @@ block content type: 'scatter', spacingLeft: 0, spacingRight: 0, - style: {fontSize: '1.5rem'}, }, title: null, xAxis: [{ -- cgit v1.2.3