-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/jhelvy/surveydown
- Loading branch information
Showing
20 changed files
with
416 additions
and
163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
title: surveydown | ||
author: John Paul Helveston, Pingfan Hu | ||
version: 0.0.1 | ||
quarto-required: ">= 1.2.198" | ||
contributes: | ||
filters: | ||
- surveydown.lua |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// Define a global function to hide all pages | ||
window.hideAllPages = function() { | ||
var pages = document.querySelectorAll("div.sd-page"); | ||
pages.forEach(function(page) { | ||
page.style.display = 'none'; | ||
}); | ||
}; | ||
|
||
// Call the function on initial load to hide all pages except the first | ||
document.addEventListener("DOMContentLoaded", function() { | ||
window.hideAllPages(); | ||
document.querySelectorAll("div.sd-page")[0].style.display = 'block'; | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#progressbar { | ||
background-color: #ECE8DF; | ||
padding: 3px; | ||
width: 100%; | ||
position: fixed; | ||
left: 0; | ||
z-index: 1000; | ||
} | ||
#progressbar.POSITION_PLACEHOLDER { | ||
POSITION_PLACEHOLDER: 0; | ||
} | ||
#progressbar > div { | ||
width: 0%; | ||
height: 10px; | ||
border-radius: 0; | ||
} | ||
|
||
#title-block-header { | ||
margin-block-end: 2rem; | ||
} | ||
|
||
h1, .h1, h2, .h2, h3, .h3 { | ||
font-weight: 800; | ||
} | ||
|
||
body { | ||
padding-top: 20px; | ||
} |
Oops, something went wrong.