Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switching handbook to guidebook. Adjusting styles #963

Merged
merged 9 commits into from
Dec 19, 2022
68 changes: 8 additions & 60 deletions docs/css/extra.css
Original file line number Diff line number Diff line change
@@ -1,63 +1,11 @@
h1,
h2,
h3,
h4,
h5,
h6,
p,
li,
blockquote {
font-family: "Ubuntu", sans-serif;
:root {
--md-primary-fg-color: #a23737;
--md-accent-fg-color: #3b4eb7;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: 900;
[data-md-color-scheme="slate"] {
--md-typeset-a-color: #ffa8a8;
--md-accent-fg-color: #afbbff;
}
.wy-nav-side {
background: #002f43;
}
.wy-nav-content {
color: #002f43;
}
.wy-nav-content a,
.wy-nav-content a:visited {
color: #db1b3b;
}
.wy-menu-vertical ul.subnav li.current span {
color: #484849;
}
.wy-menu-vertical span {
color: #edf0f2;
font-weight: bold;
}
.wy-menu-vertical a:active {
background-color: #db1b3b;
}
.wy-menu-vertical a:hover {
color: #e7e7e7;
}
.wy-menu-vertical li.current a {
color: #404040;
}
.wy-side-nav-search {
background-color: #db1b3b;
}
.wy-side-nav-search > div.version {
color: #fff7f6;
}
code {
color: #9d3429;
}
a code {
color: #1e5d86;
}
a:hover code {
color: #1f5d86;
}
footer {
color: #545454;
.md-search__form {
background-color: #d83933;
}
6 changes: 3 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CivicActions Handbook
# CivicActions Guidebook

[![Documentation Status](https://readthedocs.org/projects/civicactions-handbook/badge/?version=latest)](https://handbook.civicactions.com/en/latest/?badge=latest)

Expand All @@ -11,9 +11,9 @@ Lafayette, CA 94549
888.714.7388 | fax
civicactions.com

### <a name="purpose"></a>Handbook Purpose
### <a name="purpose"></a>Guidebook Purpose

This Handbook has been prepared to describe the CivicActions philosophy, working methods and processes, employment practices, policies, benefits, and conduct we expect from members of our team.
This Guidebook has been prepared to describe the CivicActions philosophy, working methods and processes, employment practices, policies, benefits, and conduct we expect from members of our team.

## License

Expand Down
4 changes: 2 additions & 2 deletions lint/remark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ MASTER=master
if [[ -z ${LOCAL_MASTER} ]]; then
MASTER=origin/master
fi
# Only check paths changed on branch to avoid excessive output.
export REMARK_PATHS=$(git diff --diff-filter=AM --name-only "${MASTER}" | grep '^docs')
# Only check paths changed on branch to avoid excessive output. Exclude CSS.
export REMARK_PATHS=$(git diff --diff-filter=AM --name-only "${MASTER}" ':!docs/css/extra.css' | grep '^docs')

if [[ -n "${INPUT_GITHUB_TOKEN:-}" ]]; then
export REVIEWDOG_GITHUB_API_TOKEN="${INPUT_GITHUB_TOKEN}"
Expand Down
19 changes: 18 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,27 @@
site_name: CivicActions Handbook
site_name: CivicActions Guidebook - Beta
repo_url: https://github.com/CivicActions/handbook/
site_url: https://handbook.civicactions.com/en/latest/
theme:
name: material
features:
- navigation.tabs
- navigation.expand
favicon: img/favicon.ico
palette:
# Palette toggle for light mode
- scheme: default
toggle:
icon: material/brightness-7
name: Switch to dark mode
# Palette toggle for dark mode
- scheme: slate
toggle:
icon: material/brightness-4
name: Switch to light mode
markdown_extensions:
- toc:
title: On this page
plugins:
- search
extra_css:
- css/extra.css