Skip to content

Commit

Permalink
Update site CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
robe2037 committed Feb 22, 2024
1 parent 70aeedd commit 25fb4ef
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 21 deletions.
3 changes: 3 additions & 0 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,14 @@ template:
body-color: "#00263a"
headings-color: "#00263a"
table-hover-bg: "rgba(17,55,75,0.15)"
table-bg: "white"

development:
mode: release

navbar:
bg: primary
type: dark
title: "ipumsr"
left:
- icon: "fa-home"
Expand Down
2 changes: 1 addition & 1 deletion docs/deps/bootstrap-5.2.2/bootstrap.min.css

Large diffs are not rendered by default.

17 changes: 8 additions & 9 deletions docs/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,6 @@ b, strong {
font-weight: 100;
}

/* active navbar tab styling */
.navbar-dark .navbar-nav .active > .nav-link {
background: #00263A;
color: white;
}

/* searchbar */
#search-input {
background-color: white;
Expand All @@ -56,8 +50,8 @@ thead th {
vertical-align: middle;
}

thead {
background-color: #11374b;
.table > :not(caption) > * > th {
background-color: #00263A;
color: white;
}

Expand All @@ -72,6 +66,11 @@ thead {
.navbar-dark .navbar-nav .nav-item > .nav-link:focus
{
background-color: #11374b;
color: white;
}

.navbar-dark .navbar-nav .active > .nav-link {
background-color: #11374b;
}

/* sidebar tab hover background */
Expand Down Expand Up @@ -107,5 +106,5 @@ thead {
.table-proj-summary {
border-left: solid 1px #c1d4e0;
border-right: solid 1px #c1d4e0;
border-top: solid 1px #c1d4e0;
}

2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ articles:
ipums-read: ipums-read.html
ipums: ipums.html
value-labels: value-labels.html
last_built: 2024-02-21T21:33Z
last_built: 2024-02-22T15:23Z
urls:
reference: http://tech.popdata.org/ipumsr/reference
article: http://tech.popdata.org/ipumsr/articles
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/figures/check-solid.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 8 additions & 9 deletions pkgdown/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,6 @@ b, strong {
font-weight: 100;
}

/* active navbar tab styling */
.navbar-dark .navbar-nav .active > .nav-link {
background: #00263A;
color: white;
}

/* searchbar */
#search-input {
background-color: white;
Expand All @@ -56,8 +50,8 @@ thead th {
vertical-align: middle;
}

thead {
background-color: #11374b;
.table > :not(caption) > * > th {
background-color: #00263A;
color: white;
}

Expand All @@ -72,6 +66,11 @@ thead {
.navbar-dark .navbar-nav .nav-item > .nav-link:focus
{
background-color: #11374b;
color: white;
}

.navbar-dark .navbar-nav .active > .nav-link {
background-color: #11374b;
}

/* sidebar tab hover background */
Expand Down Expand Up @@ -107,5 +106,5 @@ thead {
.table-proj-summary {
border-left: solid 1px #c1d4e0;
border-right: solid 1px #c1d4e0;
border-top: solid 1px #c1d4e0;
}

0 comments on commit 25fb4ef

Please sign in to comment.