Skip to content

Commit

Permalink
test flexbox, add placeholders, basic toctree shifting
Browse files Browse the repository at this point in the history
  • Loading branch information
sneakers-the-rat committed Aug 15, 2020
1 parent b3e8304 commit 0563d49
Show file tree
Hide file tree
Showing 8 changed files with 34 additions and 12 deletions.
6 changes: 4 additions & 2 deletions _docs/_src/sass/_theme_layout.sass
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,8 @@ html
font-weight: bold
display: inline-block
padding: $base-line-height / 6 $base-line-height / 4
margin-bottom: $gutter / 2
//margin-bottom: $gutter / 2
margin-bottom: 0
+font-smooth
&:hover
background: rgba(255,255,255,.1)
Expand All @@ -238,7 +239,8 @@ html
background: rgba(0,0,0,0) // make hover background of parent show up properly
&.icon
img.logo
margin-top: 0.85em // space it away from the title text
margin-top: 0 // space it away from the title text
max-width: 75%
> div.version
margin-top: -1 * ($gutter / 4)
margin-bottom: $gutter / 2
Expand Down
2 changes: 1 addition & 1 deletion _docs/_src/sass/_theme_variables.sass
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ $static-img: "../img/"

$accent-color: darken($red, 15%)

$nav-content-width: 800px
$nav-content-width: 1000px
$nav-media-query: (($nav-desktop-width) + ($nav-content-width))

$mathjax-color: $text-color
Expand Down
26 changes: 21 additions & 5 deletions _docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,11 +1,23 @@

.. image:: assets/images/pvp_logo_fulltext.png
:alt: People's Ventilator Project logo
:alt: The People's Ventilator Project fullpage logo
:width: 60%
:align: center

The People's Ventilator Project
======================================
.. raw:: html
<div style="display: flex;">
<div>
<a class="reference internal image-reference" href="_images/pvp_logo_fulltext.png">
<img alt="People's Ventilator Project logo" class="align-center" src="_images/pvp_logo_fulltext.png" style="width: 60%;">
</a>
</div>
<div>
<h1>A fully-open</h1>
<h1>Supply-chain resilient</h1>
<h1>pressure-control ventilator</h1>
<h1>for the people</h1>
</div>
</div>


Site Contents
Expand All @@ -15,13 +27,17 @@ Site Contents
:maxdepth: 4
:caption: Overview

Control Overview <control_overview>
System Overview <overview>
Hardware <overview_hardware>
Control <overview_control>
GUI <overview_gui>

.. toctree::
:maxdepth: 4
:caption: Hardware:

Hardware Overview <hardware>




.. toctree::
Expand Down
2 changes: 2 additions & 0 deletions _docs/overview.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
System Overview
=================
2 changes: 1 addition & 1 deletion _docs/control_overview.md → _docs/overview_control.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# pvp control pseudocode
# Control Overview
Describes the procedure to operate low-cost ventilator under pressure control

## Pressure control parameters
Expand Down
2 changes: 2 additions & 0 deletions _docs/overview_gui.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
GUI Overview
=============
4 changes: 2 additions & 2 deletions _docs/hardware.rst → _docs/overview_hardware.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Hardware
=========
Hardware Overview
==================

Mechanical Diagram
----------------
Expand Down
2 changes: 1 addition & 1 deletion docs/searchindex.js

Large diffs are not rendered by default.

0 comments on commit 0563d49

Please sign in to comment.