Skip to content

Commit

Permalink
actually just using fuckin sass lol
Browse files Browse the repository at this point in the history
  • Loading branch information
sneakers-the-rat committed Aug 15, 2020
1 parent 6c58cce commit 145cd61
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 2 deletions.
16 changes: 16 additions & 0 deletions _docs/_src/sass/_theme_etc_local.sass
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
.header-img {
display: flex
align-items: end
margin-bottom: 2rem
@media (min-width: $breakpoint-tablet){
flex-wrap: wrap
}

& > img {
width: 40%
//min-width: 400px
@media (min-width: $breakpoint-tablet){
width: 100%
}
}
}
4 changes: 4 additions & 0 deletions _docs/_src/sass/_theme_variables.sass
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ $static-img: "../img/"

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

$breakpoint-full: 1300px
$breakpoint-tablet: 1100px
$breakpoint-half: 840px

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

Expand Down
1 change: 1 addition & 0 deletions _docs/_src/sass/theme.sass
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,4 @@
@import theme_mathjax
@import theme_font_awesome_compatibility
@import theme_font_local
@import theme_etc_local
4 changes: 2 additions & 2 deletions _docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. raw:: html

<div style="display: flex; align-items:end; margin-bottom: 2rem; flex-wrap: wrap;">
<img alt="People's Ventilator Project logo" src="images/pvp_logo_fulltext.png" style="width: 40%; min-width: 400px">
<div class="header-img" >
<img alt="People's Ventilator Project logo" src="images/pvp_logo_fulltext.png">
<div style="margin-left: 2em;">
<h1>A fully-open</h1>
<h1>Supply-chain resilient</h1>
Expand Down

0 comments on commit 145cd61

Please sign in to comment.