Template:Virginia/css/styles

/**

* This page and wiki was built with the help of igem-wikibrick, a tool created by Virginia iGEM 2018
* @version v0.3.22
* @link https://github.com/Virginia-iGEM/igem-wikibrick
* @license MIT
*/

@charset "UTF-8"; /**

* Based on
*
*  - reset.css 2.0 by Eric Meyer
     (public domain)
*    http://meyerweb.com/eric/tools/css/reset/
*
*  - normalize.css 8.0.0 by Nicolas Gallagher and Jonathan Neal
*    (licensed under MIT)
*    https://github.com/necolas/normalize.css
*
*  - Based on Bootstrap 4 Reboot
*    (licensed under MIT)
*    https://github.com/twbs/bootstrap
*/

/**

* IE10+ doesn't honor `<meta name="viewport">` in some cases
*/

@import url(https://fonts.googleapis.com/css?family=Lato:400,700,700italic,900,900italic,500italic,500,400italic); @import url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.css); @-ms-viewport {

 width: device-width; }

/**

* general reset
*/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video, main {

 margin: 0;
 padding: 0;
 border: 0;
 font-size: 100%;
 font: inherit;
 vertical-align: baseline; }

/**

* HTML5 display-role reset for older browsers
*/

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, main, summary {

 display: block; }

/**

* inherit box model for all elements
*/
  • ,
    before,
    after {
 box-sizing: inherit; }

/**

* html root rules
* 1. set border-box for inheritance
* 2. avoid 300ms click delay on touch devices that support the `touch-action`
*    CSS property
* 3. Prevent adjustments of font size after orientation changes in IE, on
*    Windows Phone and iOS.
* 4. Setting @viewport causes scrollbars to overlap content in IE11 and Edge,
*    so we force a non-overlapping, non-auto-hiding scrollbar to counteract.
* 5. Change the default tap highlight to be completely transparent in iOS.
*/

html {

 /* 1 */
 box-sizing: border-box;
 /* 2 */
 touch-action: manipulation;
 /* 3 */
 -webkit-text-size-adjust: 100%;
 -ms-text-size-adjust: 100%;
 /* 4 */
 -ms-overflow-style: scrollbar;
 /* 5 */
 -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }

/**

* body rules
* 1. reset line-height to 1
* 2. set base font-family to sans-serif
*/

body {

 /* 1 */
 line-height: 1;
 /* 2 */
 font-family: sans-serif; }

/**

* Lists
*/

ol, ul {

 list-style: none; }

/**

* Quotes
*/

blockquote, q {

 quotes: none; }

blockquote::before, blockquote::after, q::before, q::after {

 content: ;
 content: none; }

/**

* Tables
*/

table {

 border-collapse: collapse;
 border-spacing: 0; }

/**

* Horizontal Lines
* 1. Add the correct box sizing in Firefox.
* 2. Show the overflow in Edge and IE.
*/

hr {

 /* 1 */
 box-sizing: content-box;
 height: 0;
 /* 2 */
 overflow: visible; }

/**

* Preformatted Text
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Don't allow content to break outside
* 3. We have @viewport set which causes scrollbars to overlap content in IE11
*    and Edge, so we force a non-overlapping, non-auto-hiding scrollbar to
*    counteract.
*/

pre, code, kbd, samp {

 /* 1 */
 font-family: monospace, monospace; }

pre {

 /* 2 */
 overflow: auto;
 /* 3 */
 -ms-overflow-style: scrollbar; }

/**

* Links
* 1. Remove the gray background on active links in IE 10.
* 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
*/

a {

 /* 1 */
 background-color: transparent;
 /* 2 */
 -webkit-text-decoration-skip: objects; }

/**

* 1. Remove the bottom border in Chrome 57-
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/

abbr[title] {

 /* 1 */
 border-bottom: none;
 /* 2 */
 text-decoration: underline;
 -webkit-text-decoration: underline dotted;
         text-decoration: underline dotted; }

/**

* Add the correct font weight in Chrome, Edge, and Safari.
*/

b, strong {

 font-weight: bolder; }

/**

* Add the correct font size in all browsers.
*/

small {

 font-size: 80%; }

/**

* Prevent `sub` and `sup` elements from affecting the line height in
* all browsers.
*/

sub, sup {

 font-size: 75%;
 line-height: 0;
 position: relative; }

sub {

 bottom: -0.25em; }

sup {

 top: -0.5em; }

/**

* Remove the border on images inside links in IE 10.
*/

img {

 border-style: none; }

/**

* Hide SVG overflow in IE
*/

svg:not(:root) {

 overflow: hidden; }

/**

* Remove the default `border-radius` that macOS Chrome adds.
* Details at https://github.com/twbs/bootstrap/issues/24093
*/

button {

 border-radius: 0; }

/**

* Work around a Firefox/IE bug where the transparent `button` background
* results in a loss of the default `button` focus styles.
* Credit: https://github.com/suitcss/base/
*/

button:focus {

 outline: 1px dotted;
 outline: 5px auto -webkit-focus-ring-color; }

/**

* form element resets
* 1. Remove the margin in Firefox and Safari
* 2. inherit font rules
*/

input, button, select, optgroup, textarea {

 /* 1 */
 margin: 0;
 /* 2 */
 font-family: inherit;
 font-size: inherit;
 line-height: inherit; }

/**

* Remove the inheritance of text transform in Firefox
*/

button, select {

 text-transform: none; }

/**

* 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
*    controls in Android 4.
* 2. Correct the inability to style clickable types in iOS and Safari.
*/

button, [type="reset"], [type="submit"], html [type="button"] {

 /* 2 */
 -webkit-appearance: button; }

/**

* Remove the default appearance of temporal inputs to avoid a Mobile Safari
* bug where setting a custom line-height prevents text from being vertically
* centered within the input.
* See https://bugs.webkit.org/show_bug.cgi?id=139848
* and https://github.com/twbs/bootstrap/issues/11266
*/

input[type="date"], input[type="time"], input[type="datetime-local"], input[type="month"] {

 -webkit-appearance: listbox; }

/**

* 1. Remove the default vertical scrollbar in IE.
* 2. Textareas should really only resize vertically so they don't break their
*    (horizontal) containers.
*/

textarea {

 overflow: auto;
 resize: vertical; }

/**

* Show the overflow in IE.
*/

button, input {

 overflow: visible; }

/**

* Remove the inheritance of text transform in Edge, Firefox, and IE.
*/

button, select {

 text-transform: none; }

/**

* Remove the inner border and padding in Firefox.
*/

button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner {

 border-style: none;
 padding: 0; }

/**

* Restore the focus styles unset by the previous rule.
*/

button:-moz-focusring, [type="button"]:-moz-focusring, [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring {

 outline: 1px dotted ButtonText; }

/**

* Suppress the focus outline on elements that cannot be accessed via keyboard.
* This prevents an unwanted focus outline from appearing around elements that
* might still respond to pointer events.
* Credit: https://github.com/suitcss/base
*/

[tabindex="-1"]:focus {

 outline: 0 !important; }

/**

* Browsers set a default `min-width: min-content` on fieldsets,
* unlike e.g. `
`s, which have `min-width: 0` by default.
* So we reset that to ensure fieldsets behave more like a standard block element.
* See https://github.com/twbs/bootstrap/issues/12359
* and https://html.spec.whatwg.org/multipage/#the-fieldset-and-legend-elements
*/

fieldset {

 min-width: 0; }

/**

* 1. Correct the text wrapping in Edge and IE.
* 2. Correct the color inheritance from `fieldset` elements in IE.
* 3. Set display to block for all browsers
*/

legend {

 /* 1 */
 max-width: 100%;
 white-space: normal;
 /* 2 */
 color: inherit;
 /* 3 */
 display: block; }

/**

* Add the correct vertical alignment in Chrome, Firefox, and Opera.
*/

progress {

 vertical-align: baseline; }

/**

* Remove the default vertical scrollbar in IE 10+.
*/

textarea {

 overflow: auto; }

/**

* 1. Add the correct box sizing in IE 10.
* 2. Remove the padding in IE 10.
*/

[type="checkbox"], [type="radio"] {

 /* 1 */
 box-sizing: border-box;
 /* 2 */
 padding: 0; }

/**

* Correct the cursor style of increment and decrement buttons in Chrome.
*/

[type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button {

 height: auto; }

/**

* 1. Correct the odd appearance in Chrome and Safari.
* 2. Correct the outline style in Safari.
*/

[type="search"] {

 /* 1 */
 -webkit-appearance: textfield;
 /* 2 */
 outline-offset: -2px; }

/**

* Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
*/

[type="search"]::-webkit-search-cancel-button, [type="search"]::-webkit-search-decoration {

 -webkit-appearance: none; }

/**

* 1. Correct the inability to style clickable types in iOS and Safari.
* 2. Change font properties to `inherit` in Safari.
*/
-webkit-file-upload-button {
 /* 1 */
 -webkit-appearance: button;
 /* 2 */
 font: inherit; }

/**

* Add the correct display in IE 10+.
*/

template {

 display: none; }

[hidden] {

 display: none; }

/* Override iGEM wiki settings, removing everything but the top navbar. */

  1. sideMenu,
  2. top_title {
 display: none; }
  1. content {
 width: 100vw;
 padding: 0px;
 border: none;
 color: black;
 margin-left: auto;
 margin-right: auto;
 background-color: #fff;
 position: relative; }
  1. globalWrapper {
 font-size: inherit;
 padding-bottom: 0; }
  1. top_menu_under {
 height: 0px; }

ul {

 list-style-image: none;
 /* removes the iGEM wiki bullets */
 padding: 0;
 margin: 0; }
  1. mw-content-text > p {
 width: 0px;
 height: 0px; }
  1. igem-navbar-placeholder {
 height: 16px;
 position: fixed;
 top: 0;
 display: block;
 background-color: #383838;
 border-bottom: solid black 2px;
 color: white;
 z-index: 9999;
 width: 100%;
 font-size: 0.75em;
 margin: 0;
 padding: 0; }
 #igem-navbar-placeholder p {
   margin: 0; }

.MathJax nobr > span.math > span {

 border-left-width: 0 !important; }

@font-face {

 font-family: "OpenSans";
 src: undefined;
 font-weight: normal;
 font-style: normal; }

@font-face {

 font-family: "OpenSans";
 src: undefined;
 font-weight: bold;
 font-style: normal; }

@font-face {

 font-family: "OpenSans";
 src: undefined;
 font-weight: normal;
 font-style: italic; }

@font-face {

 font-family: "OpenSans";
 src: undefined;
 font-weight: bold;
 font-style: italic; }

/* UVA Colors $background-dark-color: #232D4B; $background-light-color: #ffffff; $accent-color: #E57200; $light-accent-color: rgb(255, 191, 128); $text-light: #ffffff; $text-dark-color: #666666; $link-color: #EB5F0C;

  • /

/*Cherenkov Colors*/ /* $background-dark-color:#282828; $background-light-color:#C3C3D8; $accent-color: #BFFBF9; $text-light: #E8F9F9; $text-dark-color: #001C4E; $link-color: #3DD4DF;

  • /

/*Passion Fruit Colors*/ /* $background-dark-color:#FAF4E0; $background-light-color:rgb(128, 39, 81); $accent-color: #F5287F; $light-accent-color: rgb(255, 142, 189); $text-light: #1E0811; $text-dark-color: #FFF0EF; $link-color: #FBB645;

  • /

/*Clean, bright theme*/ /*https://www.canva.com/learn/website-color-schemes*/ /* $background-dark-color: #4484CE; $background-light-color: rgb(255,255,255); $accent-color: #F19F4D; $accent-light-color: #F9CF00; $text-light-color: rgb(255, 255, 255); $text-dark-color: #0A1612; $link-color: rgb(255, 218, 159); $template-dark-color: #D9D9D9;

  • /

/* $background-dark-color: rgb(37, 37, 37); $background-light-color: rgb(247, 245, 233); $accent-color: rgb(44, 106, 148); $accent-light-color: rgb(0, 195, 255); $text-light-color: rgb(255, 253, 255); $text-dark-color: rgb(129, 127, 116); $link-color: rgb(255, 218, 159);

  • /

.row {

 display: flex;
 flex-direction: row;
 flex-wrap: wrap;
 justify-content: center;
 padding: 5px; }

.grid-selection {

 box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
 height: 500px;
 margin: 10px;
 padding: 20px;
 position: relative;
 width: 350px; }
 .grid-selection a.button {
   box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
   background-color: #24bee4;
   border: hidden;
   bottom: 30px;
   color: #fffefb;
   cursor: pointer;
   display: inline-block;
   margin-left: 3em;
   padding: 15px 32px;
   position: absolute; }
 .grid-selection .button:hover {
   box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23); }

a, a:visited {

 color: #24bee4;
 text-decoration: none;
 transition: color text-shadow .2s ease-in-out; }
 a:hover, a:visited:hover {
   color: #aa34ba;
   text-shadow: 0 0 8px #eb00c2; }

img {

 height: auto;
 max-height: 100%;
 max-width: 100%;
 overflow: hidden;
 width: auto; }

main {

 background-color: #f8f8f8;
 display: flex;
 flex-direction: row;
 font-family: "OpenSans";
 font-size: medium;
 height: auto;
 justify-content: right;
 margin: 0 auto;
 position: relative;
 z-index: 1; }
 main h1, main h2, main h3, main h4, main h5, main h6 {
   margin-top: 1em;
   margin-bottom: 2em;
   font-weight: bold;
   font-size: medium;
   font-family: "OpenSans"; }
 main h1 {
   margin-left: 2em;
   font-size: 2.2em; }
 main h2 {
   margin-left: 2em;
   font-size: 2em; }
 main h3 {
   margin-left: 4em;
   font-size: 1.8em; }
 main h4 {
   margin-left: 4em;
   font-size: 1.6em; }
 main h5 {
   margin-left: 4em;
   font-size: 1.4em; }
 main h6 {
   margin-left: 4em;
   font-size: 1.2em; }
 main p {
   margin: 3em 4em;
   line-height: 3em;
   font-size: medium;
   font-family: "OpenSans";
   color: #1a1a1a; }
 main article {
   flex: 0 0 65em;
   margin-top: 5em;
   text-align: justify; }
   main article img {
     clear: both;
     flex: 0 0 30em;
     float: right;
     margin-left: 5em;
     position: relative; }
 main > * {
   background-size: cover; }
  1. rightgutter {
 flex: 1; }

@media screen and (max-width: calc(20em + 65em)) {

 main {
   flex-direction: column; } }

.darkened {

 z-index: 1000;
 position: fixed;
 min-width: 100vw;
 min-height: 100vh;
 color: #1a1a1a;
 background-color: #1a1a1a; }
 .darkened * {
   display: none;
   visibility: 0; }
 .darkened > .logo {
   display: block;
   visibility: 1;
   position: fixed;
   top: 25%;
   left: 50%;
   -webkit-transform: translate(-50%, -50%);
           transform: translate(-50%, -50%);
   overflow: visible;
   max-width: 512px; }

.category-gallery {

 padding: 3% 5%;
 background-color: #fffefb;
 overflow: hidden; }
 .category-gallery::after {
   clear: both;
   content: "";
   display: block; }
 .category-gallery div {
   position: relative; }
   .category-gallery div a {
     position: relative;
     display: block;
     overflow: hidden;
     overflow-y: scroll;
     overflow-x: hidden; }
     .category-gallery div a p {
       font-size: 2em;
       display: none;
       position: absolute;
       top: 50%;
       left: 50%;
       -webkit-transform: translate(-50%, -50%);
               transform: translate(-50%, -50%);
       margin-top: -0.5em;
       margin-left: -0.25em;
       z-index: 9;
       /*overlay text over*/
       transition: all 0.2s;
       text-align: center; }
     .category-gallery div a:hover img {
       image-orientation: from-image;
       opacity: 0.10; }
     .category-gallery div a:hover p {
       display: block; }
     .category-gallery div a img {
       border-radius: 50%;
       image-orientation: from-image;
       margin-bottom: 25px;
       min-width: 90%;
       min-height: 90%;
       transition: opacity ease-in-out 0.2s, background-color ease-in-out 0.7s; }

.petri-dish {

 display: none;
 border-radius: 50%;
 background-color: #1a1a1a;
 -webkit-transform: translate(-50%, -50%);
         transform: translate(-50%, -50%); }
  1. image_gallery {
 padding: 3% 5%;
 background-color: #fffefb;
 overflow: hidden;
 position: relative; }
 #image_gallery::after {
   clear: both;
   content: "";
   display: block; }
 #image_gallery img {
   width: calc(33.33333% - 26.66667px);
   float: left;
   margin-left: 20px;
   margin: 10px;
   border-radius: 50%;
   -o-object-fit: cover;
      object-fit: cover;
   width: 150px;
   height: 150px;
   box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23); }
 #image_gallery a {
   position: relative;
   display: block;
   overflow: hidden;
   overflow-y: scroll;
   overflow-x: hidden; }
   #image_gallery a p {
     font-size: 2em;
     display: none;
     position: absolute;
     top: 50%;
     left: 50%;
     -webkit-transform: translate(-50%, -50%);
             transform: translate(-50%, -50%);
     margin-top: -0.5em;
     margin-left: -0.25em;
     z-index: 9;
     /*overlay text over*/
     transition: all 0.2s;
     text-align: center; }
   #image_gallery a:hover img {
     image-orientation: from-image;
     opacity: 0.10; }
   #image_gallery a:hover p {
     display: block; }
   #image_gallery a img {
     border-radius: 50%;
     width: calc(8.33333% - 21.66667px);
     float: left;
     margin-left: 20px;
     image-orientation: from-image;
     margin-bottom: 25px;
     min-width: 90%;
     min-height: 90%;
     transition: opacity ease-in-out 0.2s, background-color ease-in-out 0.7s; }

.team-bio {

 margin: 6%;
 line-height: 2em;
 font-size: medium;
 font-family: "OpenSans";
 color: #1a1a1a;
 box-shadow: 0 0 5px #999; }

.hidden {

 display: none; }

.unhidden {

 display: block; }
  1. attributions {
 /*custom editing for the attributions page. Flipped so images are on the left rather than the right and images are circular.*/
 margin: 10px;
 border-radius: 50%;
 -o-object-fit: cover;
    object-fit: cover;
 width: 150px;
 height: 150px;
 box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
 flex: 0 0 30em;
 float: left;
 clear: both;
 position: relative;
 margin-left: 5em; }
  1. sponsors {
 /*images in line with the text*/
 float: none; }

header {

 background-color: #424242;
 margin: 0 auto;
 overflow: hidden;
 padding: 0 0;
 position: fixed;
 text-align: center;
 top: 16px;
 transition: all .1s;
 width: -webkit-max-content;
 width: -moz-max-content;
 width: max-content;
 z-index: 999; }
 header h1, header h2, header h3, header h4, header h5, header h6 {
   margin-top: 1em;
   margin-bottom: 2em;
   font-weight: bold;
   font-size: medium;
   font-family: "OpenSans"; }
 header h1 {
   margin-left: 2em;
   font-size: 2.2em; }
 header h2 {
   margin-left: 2em;
   font-size: 2em; }
 header h3 {
   margin-left: 4em;
   font-size: 1.8em; }
 header h4 {
   margin-left: 4em;
   font-size: 1.6em; }
 header h5 {
   margin-left: 4em;
   font-size: 1.4em; }
 header h6 {
   margin-left: 4em;
   font-size: 1.2em; }
 header p {
   margin: 3em 4em;
   line-height: 3em;
   font-size: medium;
   font-family: "OpenSans";
   color: #1a1a1a; }
 header,
 header * {
   box-sizing: border-box; }
 header.scrollUp {
   -webkit-transform: translateY(-3em);
           transform: translateY(-3em); }
 header #navbar {
   display: flex;
   height: 3em;
   justify-content: center;
   padding-bottom: 1em; }
   header #navbar:hover, header #navbar:focus {
     height: auto; }
     header #navbar:hover > ul > li, header #navbar:focus > ul > li {
       height: auto; }
   header #navbar ul {
     display: flex;
     list-style: none;
     margin: 0;
     padding: 0; }
     header #navbar ul li {
       flex: 1;
       float: left;
       line-height: 3em;
       position: relative; }
       header #navbar ul li .divider {
         background-color: #26fffa;
         flex: 0 0 1px;
         overflow: hidden; }
       header #navbar ul li a,
       header #navbar ul li a:visited {
         align-items: center;
         color: #fffefb;
         display: flex;
         font-size: 1em;
         padding: 0 20px;
         transition: all 0.2s ease-in-out;
         white-space: nowrap;
         width: 100%; }
         header #navbar ul li a img,
         header #navbar ul li a:visited img {
           display: inline-block;
           height: auto;
           margin: .1rem;
           min-height: 100%;
           width: auto; }
         header #navbar ul li a:hover,
         header #navbar ul li a:visited:hover {
           color: #26fffa;
           text-shadow: 0 0 8px #26fffa; }
         header #navbar ul li a:not(:only-child):after,
         header #navbar ul li a:visited:not(:only-child):after {
           content: ' ▾';
           padding-left: 4px; }
       header #navbar ul li ul {
         display: flex;
         flex-direction: column;
         transition: all .2s ease-in-out 0s, visibility 0s linear .3s, z-index 0s linear .01s; }
         header #navbar ul li ul li {
           font-size: .8em;
           overflow: hidden; }

/*scroll bar*/ .scrolltop {

 display: none;
 width: 100%;
 margin: 0 auto;
 position: fixed;
 bottom: 20px;
 right: 10px; }

.scroll {

 position: absolute;
 right: 20px;
 bottom: 20px;
 background: #b2b2b2;
 background: rgba(178, 178, 178, 0.7);
 padding: 20px;
 text-align: center;
 margin: 0 0 0 0; }

.scroll:hover {

 background: #b2b2b2;
 transition: 0.5s; }

.scroll:hover .fa {

 padding-top: -10px; }

.scroll .fa {

 font-size: 30px;
 margin-top: -5px;
 margin-left: 1px;
 transition: 0.5s; }

/* Tooltip container */ .tooltip {

 position: relative;
 display: inline-block;
 font-weight: bold;
 color: #0A1612;
 cursor: pointer; }

/* Tooltip text */ .tooltip span {

 display: block;
 visibility: hidden;
 background-color: #1a1a1a;
 color: #fff;
 text-align: center;
 padding: 20px;
 border-radius: 6px;
 font-weight: normal;
 /* Position the tooltip text */
 position: absolute;
 z-index: 1;
 bottom: 125%;
 left: 50%;
 -webkit-transform: translateX(-50%);
         transform: translateX(-50%);
 /* Fade in tooltip */
 opacity: 0;
 transition: opacity 0.8s; }

/* Tooltip arrow */ .tooltip span::after {

 content: "";
 position: absolute;
 top: 100%;
 left: 50%;
 margin-left: -5px;
 border-width: 5px;
 border-style: solid;
 border-color: #1a1a1a transparent transparent transparent; }

/* Show the tooltip text when you mouse over the tooltip container */ .tooltip:hover .shortdef {

 visibility: visible;
 width: 20vw;
 opacity: 1; }

.tooltip:active .longdef {

 width: 40vw;
 visibility: visible;
 opacity: 1; }

.tooltip:active .shortdef {

 visibility: hidden;
 opacity: 0; }

nav {

 flex: 1 0;
 max-width: 30em; }
 nav #toc {
   padding: 6em 2em;
   position: -webkit-sticky;
   position: sticky;
   top: 0;
   white-space: nowrap; }
   nav #toc h1 {
     font-size: 1.5em; }
   nav #toc ul li {
     padding: .5em 0; }
     nav #toc ul li a {
       font-size: 1.3em; }
     nav #toc ul li ul {
       height: 0;
       overflow: hidden;
       padding: .75em 0 .5em 1em; }
       nav #toc ul li ul.current {
         height: auto; }
       nav #toc ul li ul li a {
         font-size: 1em; }

@media screen and (max-width: calc(20em + 65em)) {

 nav > #toc ul > li > ul {
   height: auto; } }

footer {

 font-size: medium;
 font-family: "OpenSans";
 box-sizing: border-box;
 background-color: #1a1a1a;
 color: #fffefb;
 padding: 25px;
 positioN: relative;
 z-index: 999; }
 footer::after {
   clear: both;
   content: "";
   display: block; }
 footer div.footer-name {
   width: calc(41.66667%);
   float: left;
   margin-left: 0px;
   line-height: 6rem;
   height: 6rem; }
   footer div.footer-name * {
     float: left; }
 footer div.spacer {
   width: calc(33.33333%);
   float: left;
   margin-left: 0px;
   line-height: 6rem;
   height: 6rem; }
 footer div.social-container {
   width: calc(25%);
   float: left;
   margin-left: 0px; }

/*Code courtesy of https://codepen.io/brandondward/pen/RpyaKL*/ .social-container {

 width: calc(25% - 25px);
 float: left;
 margin-left: 20px;
 width: 400px; }

.social-icons {

 padding: 0;
 list-style: none;
 margin: 1em; }
 .social-icons li {
   display: inline-block;
   margin: 0.15em;
   position: relative;
   font-size: 1.2em; }
 .social-icons i {
   color: #fff;
   position: absolute;
   top: 21px;
   left: 21px;
   transition: all 265ms ease-out; }
 .social-icons a {
   display: inline-block; }
   .social-icons a:before {
     -webkit-transform: scale(1);
             transform: scale(1);
     content: " ";
     width: 60px;
     height: 60px;
     border-radius: 100%;
     display: block;
     background: linear-gradient(45deg, #eb00c2, #26fffa);
     transition: all 265ms ease-out; }
   .social-icons a:hover:before {
     -webkit-transform: scale(0);
             transform: scale(0);
     transition: all 265ms ease-in; }
   .social-icons a:hover i {
     -webkit-transform: scale(2.2);
             transform: scale(2.2);
     color: #eb00c2;
     background: -webkit-linear-gradient(45deg, #eb00c2, #26fffa);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
transition: all 265ms ease-in; }