Skip to content

Commit

Permalink
data prep page
Browse files Browse the repository at this point in the history
  • Loading branch information
ElcoK committed Feb 14, 2025
1 parent f5bd765 commit d603921
Show file tree
Hide file tree
Showing 2 changed files with 162 additions and 1 deletion.
5 changes: 4 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
title : Global Infrastructure Risk Assesments
author : Institute for Environmental Studies, Vrije Universiteit Amsterdam
logo : _static/images/IVM_logo_kort.jpg
announcement : "This Jupyter Book is work in progress!" # A banner announcement at the top of the site.
copyright : "2025"


# Force re-execution of notebooks on each build.
# See https://jupyterbook.org/content/execute.html
Expand Down Expand Up @@ -37,6 +38,8 @@ repository:
html:
use_issues_button: true
use_repository_button: true
home_page_in_navbar : false # Whether to include your home page in the left Navigation Bar


# add parsing
parse:
Expand Down
158 changes: 158 additions & 0 deletions _static/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
/* Style changes*/
@import url('https://fonts.googleapis.com/css2?family=Raleway&display=swap');

/* update font variable */
:root {
--font-family-sans-serif: 'Raleway', -apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
--pst-font-family-base: var(--font-family-sans-serif);
--pst-background-color: #f5f4e9;
}

p {
text-align: justify;
}

div.math {
overflow-x: hidden !important;
}

/* The Modal (background) */
#wh-modal {
display: none;
/* Hidden by default */
position: fixed;
/* Stay in place */
z-index: 9999;
/* Sit on top */
padding-top: 100px;
/* Location of the box */
left: 0;
top: 0;
width: 100%;
/* Full width */
height: 100%;
/* Full height */
overflow: auto;
/* Enable scroll if needed */
background-color: rgb(0, 0, 0);
/* Fallback color */
background-color: rgba(0, 0, 0, 0.9);
/* Black w/ opacity */
}

/* Modal Content (Image) */
#wh-modal-img {
margin: auto;
display: block;
max-width: min(1200px, 100%);
}


/* The Close Button */
#wh-modal-close {
position: absolute;
top: 15px;
right: 35px;
color: #f1f1f1;
font-size: 40px;
font-weight: bold;
}

#wh-modal-close:hover,
#wh-modal-close:focus {
color: #bbb;
text-decoration: none;
cursor: pointer;
}

.wh-fig-a:hover {
cursor: pointer;
}

.wh-venti-button {
background-color: transparent;
max-width: min(1200px, 100%);
border: none;
}

.wh-wrapper {
/*width: 500px;*/
}

.wh-progress-bar {
width: 100%;
background-color: #e0e0e0;
padding: 3px;
border-radius: 3px;
box-shadow: inset 0 1px 3px rgba(0, 0, 0, .2);
}

.wh-progress-bar-fill {
display: block;
height: 22px;
background-color: #1BBC9B;
border-radius: 3px;
text-align: center;
color: #ffffff;
transition: width 500ms ease-in-out;
}

td>p {
margin-bottom: 0;
margin-top: 0;
}

.table td,
.table th {
padding: 0.2rem 0.75rem 0.2rem 0.75rem;
}

.wh-container {
position: relative;
text-align: center;
color: white;
}

.wh-div-centered {
position: absolute;
top: 50%;
left: 25%;
transform: translate(-17%, -50%);
background: rgba(0, 0, 0, .75);
}

.wh-hero {
color: #FFFFFF !important;
padding: 1em;
margin: 0;
height: 100%;
}

/* Not sure why, but pasted images are going display:blocks(??)*/

.pasted-inline>img {
display: inline !important;
}

/* div.sidebar,
aside.sidebar {
border: none;
clear: right;
width: 31% !important;
margin: 0 -35% 0 0 !important;
padding: 0 !important;
font-size: 0.9rem;
line-height: 1.3;
vertical-align: baseline;
position: relative;
background-color: #FFF;
} */

.wh-flex-center {
display: flex;
justify-content: center;
}

div.output .text_html {
overlfow-x: auto;
}

0 comments on commit d603921

Please sign in to comment.