X-Git-Url: https://fortfriendship.online/gitweb/gnargle.github.io.git/blobdiff_plain/e1629297248ecf61f9da889b75db1f8c5fb5321a..e350bf76010d2dbae3f3a0acfe898b565b5ca08d:/main.css diff --git a/main.css b/main.css index 4588fa0..4570d06 100644 --- a/main.css +++ b/main.css @@ -96,6 +96,10 @@ body { padding-right: 5px; } +.footnote { + font-size: 11px; +} + .header { max-width: 1000px; margin: 0 auto; @@ -156,6 +160,34 @@ p { padding-bottom: 5px; } +/* Tooltip container */ +.tooltip { + position: relative; + display: inline-block; + border-bottom: 1px dotted black; + /* If you want dots under the hoverable text */ +} + +/* Tooltip text */ +.tooltip .tooltiptext { + visibility: hidden; + background-color: #ffa2b5; + color: black; + text-align: center; + padding: 5px 0; + border-radius: 6px; + + /* Position the tooltip text - see examples below! */ + position: absolute; + bottom: 100%; + z-index: 1; +} + +/* Show the tooltip text when you mouse over the tooltip container */ +.tooltip:hover .tooltiptext { + visibility: visible; +} + ul { margin-top: 10px; margin-left: 25px;