diff --git a/config.toml b/config.toml index 577b3ee..946d8cb 100644 --- a/config.toml +++ b/config.toml @@ -1,7 +1,11 @@ -baseURL = "https://moontools.github.io" +baseURL = "/" languageCode = "en-us" title = "Bonk Docs" - theme = "hugo-theme-learn" + [outputs] -home = ["HTML", "RSS", "JSON"] \ No newline at end of file +home = ["HTML", "RSS", "JSON"] + +[params] +themeVariant = "bonk" +author = "Evan Hemsley" \ No newline at end of file diff --git a/content/broad_phase/introduction.md b/content/broad_phase/overview.md similarity index 90% rename from content/broad_phase/introduction.md rename to content/broad_phase/overview.md index 7dab1ec..73ba145 100644 --- a/content/broad_phase/introduction.md +++ b/content/broad_phase/overview.md @@ -1,5 +1,5 @@ --- -title: "Introduction" +title: "Overview" date: 2019-09-14T18:36:07-07:00 weight: 5 --- diff --git a/content/shapes/introduction.md b/content/shapes/overview.md similarity index 93% rename from content/shapes/introduction.md rename to content/shapes/overview.md index 1ccd6b8..2baaa17 100644 --- a/content/shapes/introduction.md +++ b/content/shapes/overview.md @@ -1,5 +1,5 @@ --- -title: "Introduction" +title: "Overview" date: 2019-09-14T19:19:03-07:00 weight: 5 --- diff --git a/layouts/partials/logo.html b/layouts/partials/logo.html new file mode 100644 index 0000000..e3c5da2 --- /dev/null +++ b/layouts/partials/logo.html @@ -0,0 +1,36 @@ + \ No newline at end of file diff --git a/static/css/theme-bonk.css b/static/css/theme-bonk.css new file mode 100644 index 0000000..19704c1 --- /dev/null +++ b/static/css/theme-bonk.css @@ -0,0 +1,103 @@ + +:root{ + + --MAIN-TEXT-color:#323232; /* Color of text by default */ + --MAIN-TITLES-TEXT-color: #5e5e5e; /* Color of titles h2-h3-h4-h5 */ + --MAIN-LINK-color:#f433ab; /* Color of links */ + --MAIN-LINK-HOVER-color:#cb04a5; /* Color of hovered links */ + --MAIN-ANCHOR-color: #71b986; /* color of anchors on titles */ + + --MENU-HEADER-BG-color:#06122F; /* Background color of menu header */ + --MENU-HEADER-BORDER-color:#f000a4; /*Color of menu header border */ + + --MENU-SEARCH-BG-color:#4C8D90; /* Search field background color (by default borders + icons) */ + --MENU-SEARCH-BOX-color: #93B7C1; /* Override search field border color */ + --MENU-SEARCH-BOX-ICONS-color: #C8DCE2; /* Override search field icons color */ + + --MENU-SECTIONS-ACTIVE-BG-color:#65334d; /* Background color of the active section and its childs */ + --MENU-SECTIONS-BG-color:#65334d; /* Background color of other sections */ + --MENU-SECTIONS-LINK-color: #ccc; /* Color of links in menu */ + --MENU-SECTIONS-LINK-HOVER-color: #e6e6e6; /* Color of links in menu, when hovered */ + --MENU-SECTION-ACTIVE-CATEGORY-color: #fff; /* Color of active category text */ + --MENU-SECTION-ACTIVE-CATEGORY-BG-color: #f433ab; /* Color of background for the active category (only) */ + + --MENU-VISITED-color: #71b986; /* Color of 'page visited' icons in menu */ + --MENU-SECTION-HR-color: #20272b; /* Color of
separator in menu */ + +} + +body { + color: var(--MAIN-TEXT-color) !important; +} + +textarea:focus, input[type="email"]:focus, input[type="number"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="text"]:focus, input[type="url"]:focus, input[type="color"]:focus, input[type="date"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, select[multiple=multiple]:focus { + border-color: none; + box-shadow: none; +} + +h2, h3, h4, h5 { + color: var(--MAIN-TITLES-TEXT-color) !important; +} + +a { + color: var(--MAIN-LINK-color); +} + +.anchor { + color: var(--MAIN-ANCHOR-color); +} + +a:hover { + color: var(--MAIN-LINK-HOVER-color); +} + +#sidebar ul li.visited > a .read-icon { + color: var(--MENU-VISITED-color); +} + +#body a.highlight:after { + display: block; + content: ""; + height: 1px; + width: 0%; + -webkit-transition: width 0.5s ease; + -moz-transition: width 0.5s ease; + -ms-transition: width 0.5s ease; + transition: width 0.5s ease; + background-color: var(--MAIN-LINK-HOVER-color); +} +#sidebar { + background-color: var(--MENU-SECTIONS-BG-color); +} +#sidebar #header-wrapper { + background: var(--MENU-HEADER-BG-color); + color: var(--MENU-SEARCH-BOX-color); + border-color: var(--MENU-HEADER-BORDER-color); +} +#sidebar .searchbox { + border-color: var(--MENU-SEARCH-BOX-color); + background: var(--MENU-SEARCH-BG-color); +} +#sidebar ul.topics > li.parent, #sidebar ul.topics > li.active { + background: var(--MENU-SECTIONS-ACTIVE-BG-color); +} +#sidebar .searchbox * { + color: var(--MENU-SEARCH-BOX-ICONS-color); +} + +#sidebar a { + color: var(--MENU-SECTIONS-LINK-color); +} + +#sidebar a:hover { + color: var(--MENU-SECTIONS-LINK-HOVER-color); +} + +#sidebar ul li.active > a { + background: var(--MENU-SECTION-ACTIVE-CATEGORY-BG-color); + color: var(--MENU-SECTION-ACTIVE-CATEGORY-color) !important; +} + +#sidebar hr { + border-color: var(--MENU-SECTION-HR-color); +}