Skip to content

Commit

Permalink
Small visual updates to site
Browse files Browse the repository at this point in the history
  • Loading branch information
spsmith committed Aug 4, 2020
1 parent 566aabf commit 111adaa
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ header_links:
path: pages/contact.html

- title: Donate
path: pages/donate.html
button: pages/donate.html
6 changes: 4 additions & 2 deletions docs/_includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@

{%- if titles_size > 0 -%}
<nav class="site-nav">
<input type="checkbox" id="nav-trigger" class="nav-trigger" />
<input class="nav-trigger" id="nav-trigger" type="checkbox" />
<label for="nav-trigger">
<span class="menu-icon">
<svg viewBox="0 0 18 15" width="18px" height="15px">
<svg height="15px" viewbox="0 0 18 15" width="18px">
<path
d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.032C17.335,0,18,0.665,18,1.484L18,1.484z M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.032C17.335,6.031,18,6.696,18,7.516L18,7.516z M18,13.516C18,14.335,17.335,15,16.516,15H1.484 C0.665,15,0,14.335,0,13.516l0,0c0-0.82,0.665-1.483,1.484-1.483h15.032C17.335,12.031,18,12.695,18,13.516L18,13.516z" />
</svg>
Expand All @@ -23,6 +23,8 @@
{%- assign my_link = link -%}
{%- if my_link.path -%}
<a class="page-link" href="{{ my_link.path | relative_url }}">{{ my_link.title | escape }}</a>
{%- elsif my_link.button -%}
<a class="button-link" href="{{ my_link.button | relative_url }}">{{ my_link.title | escape }}</a>
{%- elsif my_link.link -%}
<a class="page-link" href="{{ my_link.link | absolute_url }}">{{ my_link.title | escape }}</a>
{%- endif -%}
Expand Down
16 changes: 16 additions & 0 deletions docs/_sass/minima/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,22 @@
}
}

.button-link {
color: $uw-text;
line-height: $base-line-height;

padding: 10px;
border-color: $uw-text;
border-width: thick;
border-radius: 20px;
border-style: solid;

// Gaps between nav items, but not on the last one
&:not(:last-child) {
margin-right: 20px;
}
}

@include media-query($on-palm) {
position: absolute;
top: 9px;
Expand Down
Binary file added docs/icons/favicon-0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/icons/favicon-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 4 additions & 2 deletions docs/pages/donate.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ title: Donate

UniCAVE is an open source project and has no steady stream of funding behind it. Donations to UniCAVE will help support hourly undergraduate students and staff to maintain and enhance the plugin. If you are interested in supporting the UniCAVE project, you may donate to the link below and please let us know if you do through e-mail.

[Donate here!](https://secure.supportuw.org/give/?id=ac987d37-46b8-46f5-b2ae-71bba33ead5f)
[![Donate](https://img.shields.io/badge/Donate-UW--Madison-green?style=for-the-badge&logo=data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAABGdBTUEAALGPC%2FxhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAPFBMVEXHAAPGAQPHAgTIAgTtg4bZMDX%2F%2F%2F%2FUHiXeQUbnYmbwkpbODBL0oqX%2B7%2FH5wcPiUVf94eH60dL2s7Tqc3bB7ZpmAAAAA3RSTlNgv4A8RD6pAAAAAWJLR0QGYWa4fQAAAAd0SU1FB%2BQIBA8SEJAMCCgAAAEvSURBVDjLfZNRgoQgDEPdFSIjgoL3v%2Bu2pSgwunzMiDxKkuI0%2Ffw%2Fpt%2B5H2aYj4CFfQIWw4OfHD6lEA13Aw48ZAGrADw3N%2BA3IMiGDVGA%2FUBaGg0LcMhDLIXmOelZVWQAFi0tlbzOLyBDdtB7nHIEQm%2FzhKhjtVsRm3vAAqlw8k9azBAUrXjeqHZVSgOQ%2FF1%2BZclVMzdgJJhDAzrLQS1AeyJXphqZTW0jwAZZqpHIgsbUdjPR4TspZbUUrP0CVorIUDwkY%2F%2FUmFqAdmduFWVqass6gMqGSHGSiJhgvoFqkeyEK6YO2EpIXi6PfwC4D9zjo%2FZjBKz2IdeOjgBfmlRCv2LqgZIy%2B23ufguUfonf%2BRFwWjrcMQ1fltqPMC9AhB7lXoA1aFf8C2CLu%2BVs3v0BdtkSZsLXpyEAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjAtMDgtMDRUMTU6MTg6MTYtMDQ6MDB1NLtPAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIwLTA4LTA0VDE1OjE4OjE2LTA0OjAwBGkD8wAAAABJRU5ErkJggg%3D%3D.svg)](https://secure.supportuw.org/give/?id=ac987d37-46b8-46f5-b2ae-71bba33ead5f)

Prefer not to donate? If you like the plugin, feel free to [Say Thanks!](https://saythanks.io/to/virtualenvironments%40wid.wisc.edu)
Prefer not to donate? If you like the plugin, feel free to send a thank you message:

[![Say thanks](https://img.shields.io/badge/Say%20Thanks-!-blue?style=for-the-badge&logo=data%3Aimage%2Fpng%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAABGdBTUEAALGPC%2FxhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAPFBMVEXHAAPGAQPHAgTIAgTtg4bZMDX%2F%2F%2F%2FUHiXeQUbnYmbwkpbODBL0oqX%2B7%2FH5wcPiUVf94eH60dL2s7Tqc3bB7ZpmAAAAA3RSTlNgv4A8RD6pAAAAAWJLR0QGYWa4fQAAAAd0SU1FB%2BQIBA8SEJAMCCgAAAEvSURBVDjLfZNRgoQgDEPdFSIjgoL3v%2Bu2pSgwunzMiDxKkuI0%2Ffw%2Fpt%2B5H2aYj4CFfQIWw4OfHD6lEA13Aw48ZAGrADw3N%2BA3IMiGDVGA%2FUBaGg0LcMhDLIXmOelZVWQAFi0tlbzOLyBDdtB7nHIEQm%2FzhKhjtVsRm3vAAqlw8k9azBAUrXjeqHZVSgOQ%2FF1%2BZclVMzdgJJhDAzrLQS1AeyJXphqZTW0jwAZZqpHIgsbUdjPR4TspZbUUrP0CVorIUDwkY%2F%2FUmFqAdmduFWVqass6gMqGSHGSiJhgvoFqkeyEK6YO2EpIXi6PfwC4D9zjo%2FZjBKz2IdeOjgBfmlRCv2LqgZIy%2B23ufguUfonf%2BRFwWjrcMQ1fltqPMC9AhB7lXoA1aFf8C2CLu%2BVs3v0BdtkSZsLXpyEAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjAtMDgtMDRUMTU6MTg6MTYtMDQ6MDB1NLtPAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIwLTA4LTA0VDE1OjE4OjE2LTA0OjAwBGkD8wAAAABJRU5ErkJggg%3D%3D.svg)](https://saythanks.io/to/virtualenvironments%40wid.wisc.edu)

0 comments on commit 111adaa

Please sign in to comment.