Skip to content

Commit

Permalink
Docs update style (#509)
Browse files Browse the repository at this point in the history
* clean up style sheet

* clean up

* update section update floodadapt
  • Loading branch information
Santonia27 authored Aug 2, 2024
1 parent 9344ea9 commit 9aa46b8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 28 deletions.
4 changes: 2 additions & 2 deletions docs/5_update_model/index.qmd
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Updating the CFRSS
title: Updating FloodAdapt
---

I put some text here. Will it show?
Soon to come...
35 changes: 9 additions & 26 deletions docs/_static/theme-light.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ $navbar-hl: $links ;
// general sidebar settings
#quarto-sidebar {
margin-top: -30px;
width: 230px;
width: 250px;
}

.navbar-logo{
Expand All @@ -54,13 +54,13 @@ $navbar-hl: $links ;
display: none !important;
}
.collapse.list-unstyled.sidebar-section.depth1 .sidebar-item .sidebar-item-container {
font-size: 15px;
font-size: 17px;
font-weight: 200 !important;
}

// Style 2nd level selection
.collapse.list-unstyled.sidebar-section.depth2 .sidebar-item .sidebar-item-container {
font-size: 13px;
font-size: 15px;
font-weight: 200 !important;
}

Expand All @@ -70,7 +70,7 @@ $navbar-hl: $links ;
font-weight: 200 !important;
}
.collapse.list-unstyled.sidebar-section a:hover{
background-color:rgb(226, 228, 238);
//background-color:rgb(226, 228, 238);
width:100%;
padding: 5px;
margin-left: -20px;
Expand All @@ -92,31 +92,26 @@ $navbar-hl: $links ;

// Refining section by section

#quarto-sidebar-section-3 .sidebar-item:nth-child(2) {
padding-bottom: 15px;
}
#quarto-sidebar-section-3 .sidebar-item:nth-child(3) {
padding-bottom: 15px;
}

#quarto-sidebar-section-3 .sidebar-item:nth-child(2) a:hover {
height: 170%;
width: 105%
}
#quarto-sidebar-section-3 .sidebar-item:nth-child(3) a:hover {
height: 170%;
}


#quarto-sidebar-section-7 .sidebar-item:nth-child(3) {
padding-bottom: 20px;
}
#quarto-sidebar-section-7 .sidebar-item:nth-child(3) a:hover {
height: 170%;
}
#quarto-sidebar-section-8 .sidebar-item:nth-child(2) a:hover {
height: 170%;
#quarto-sidebar-section-9 .sidebar-item:nth-child(1) {
padding-bottom: 15px;
}

#quarto-sidebar-section-9 .sidebar-item:nth-child(3) {
padding-top: 15px;
}
Expand All @@ -126,9 +121,6 @@ $navbar-hl: $links ;
#quarto-sidebar-section-9 .sidebar-item:nth-child(1) a:hover {
width: 105%;
}
#quarto-sidebar-section-9 .sidebar-item:nth-child(1) a:hover {
width: 105%;
}
#quarto-sidebar-section-9 .sidebar-item:nth-child(2) a:hover {
height: 140%;
}
Expand All @@ -143,19 +135,10 @@ $navbar-hl: $links ;
#quarto-sidebar-section-9 .sidebar-item:first-child a:hover {
width: 105%;
}
#quarto-sidebar-section-10 .sidebar-item-container:nth-child(1) {
height: 30px !important;
}
#quarto-sidebar-section-10 .sidebar-item:nth-child(1) a:hover {
width: 115%
}
#quarto-sidebar-section-10 .sidebar-item:nth-child(3) a:hover {
height: 105%;
width: 115%
#quarto-sidebar-section-10 .sidebar-item:nth-child(1) {
padding-bottom: 15px;
}



// Container size
.collapse.list-unstyled.sidebar-section.depth2 .sidebar-item .sidebar-item-container {
height: 25px
Expand Down

0 comments on commit 9aa46b8

Please sign in to comment.