diff --git a/src/assets/css/components.css b/src/assets/css/components.css index eeddd770..258c84e1 100644 --- a/src/assets/css/components.css +++ b/src/assets/css/components.css @@ -128,6 +128,19 @@ p + .adoptables { margin-top: 1em; } +/* Tooltips */ +.tooltip { display: none; } +.tipcontainer { position: relative; } + +.tipactivator:hover + .tooltip, +.tipactivator:focus + .tooltip { + display: inline-block; + position: absolute; + background-color: var(--clr-quote-bg); + border: 0.15em solid var(--clr-title-border); + padding: 0.25em 0.5em; +} + /* Web button lists */ .web-btn-wrapper { display: flex;