3 $footer-link-color: darken(theme-color("success"), 10%);
4 $footer-link-hover-color: darken($footer-link-color, 10%);
6 // apply this to a div inside the body tag
7 // prevents page shifting to left/right as scrollbar appears/disappears
8 // it works by calculating the width of the scrollbar and then adding
9 // the corresponding amount of padding to left to keep things centered
10 // see https://stackoverflow.com/questions/45524214/how-do-i-stop-my-web-content-from-shifting-left-when-the-vertical-scrollbar-appe
12 padding-left: calc(100vw - 100%);
15 // place a container div around entire page, and then use this
16 // to make the background on navbar or footer appear full-width
18 margin-left: calc(-.5 * (100vw - 100%));
19 margin-right: calc(-.5 * (100vw - 100%));
20 padding-left: calc(.5 * (100vw - 100%));
21 padding-right: calc(.5 * (100vw - 100%));
24 // needed for svg icons inside buttons, card headers, etc
25 // creates an inline element with correct width but no height
26 // the svg is positioned within this to vertically centre on a capital letter
33 @each $icon-size, $icon-size-px in $icon-sizes {
34 .icon#{$icon-size}-outer {
35 display: inline-block;
39 vertical-align: baseline;
41 .icon#{$icon-size}-inner {
44 top: calc(-.5 * $icon-size-px - .35em); // .35em = approx half cap height
46 height: $icon-size-px;
52 // use this to display the pi symbol without horrible blocky look in Sans
54 font-family: $font-family-serif;
57 // apply this to table to get an icon with vertically centred text next to it
59 vertical-align: middle;
72 background-color: $gray-400;
74 color: $footer-link-color;
78 color: $footer-link-hover-color;
79 //background-color: $footer-link-hover-bg;