Navigation Menu

Skip to content

Commit

Permalink
Merge pull request #2 from bethcollins92/add-vanilla-to-sphinx
Browse files Browse the repository at this point in the history
Add vanilla to sphinx
  • Loading branch information
evildmp committed Sep 23, 2021
2 parents a2af586 + 728b3a9 commit dcb1f89
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 22 deletions.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -25,7 +25,7 @@ html:
. $(VENV); $(SPHINXBUILD) -b dirhtml . _build/html

run:
. $(VENV); sphinx-autobuild $(ALLSPHINXOPTS) --ignore ".git/*" --ignore "*.scss" . -b dirhtml -a _build/html --host 0.0.0.0 --port $(PORT)
. $(VENV); sphinx-autobuild $(ALLSPHINXOPTS) --ignore ".git/*" --ignore "*.scss" . -b dirhtml -a _build/html --host 0.0.0.0 --port 8000

spelling:
sphinx-build -b spelling "$(SOURCEDIR)" "$(BUILDDIR)"
Expand Down
7 changes: 0 additions & 7 deletions _static/my.css

This file was deleted.

2 changes: 1 addition & 1 deletion conf.py
Expand Up @@ -48,7 +48,7 @@
html_theme = 'vanilla'

html_css_files = [
'my.css',
'styles.css',
]

# Add any paths that contain custom static files (such as style sheets) here,
Expand Down
2 changes: 1 addition & 1 deletion vanilla/_static/styles.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion vanilla/_static/styles.css.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions vanilla/page.html
Expand Up @@ -52,7 +52,7 @@
</div>
</div>
</div>
<main class="col-8">
<main class="col-7">
{% block content %}{{ body }}{% endblock %}
<footer>
{% block footer %}
Expand Down Expand Up @@ -113,7 +113,7 @@
{% endblock footer %}
</footer>
</main>
<div class="col-2">
<div class="col-3">
<aside class="p-side-navigation--raw-html is-sticky">
{% block right_sidebar %}
<h3>
Expand Down
15 changes: 6 additions & 9 deletions vanilla/scss/styles.scss
Expand Up @@ -3,15 +3,12 @@ $grid-max-width: 92rem;

@include vanilla;

.current {
box-shadow: $box-shadow;
.current.reference.internal {
@include vf-highlight-bar($colors--light-theme--text-default, left);
background: $colors--light-theme--background-active;
color: $colors--light-theme--text-default;
}

.p-strip {
background-color: lightblue;
.headerlink {
color: $colors--light-theme--text-default;
}

//TODO
// Add styles for current side nav hover
// Paragraph icon re style
// Change screen width for collapsing contents

0 comments on commit dcb1f89

Please sign in to comment.