From 1f4760d4572c372f836a1d52015c34f7a16c6111 Mon Sep 17 00:00:00 2001 From: James Dinh Date: Wed, 29 Jun 2022 11:38:57 -0700 Subject: [PATCH] Updated spots --- css/general.css | 51 ++++++++++++++++++++++++++----------------------- index.html | 6 ++++-- 2 files changed, 31 insertions(+), 26 deletions(-) diff --git a/css/general.css b/css/general.css index 43f81d8..fdfea7b 100644 --- a/css/general.css +++ b/css/general.css @@ -150,16 +150,6 @@ nav ul li { top: 16px; font-size: 20px; margin: auto; - /* height: 100%; - width: 50%; - width: 380px; - margin: auto; - font-size: 20px; - display: inline-flex; - position: relative; - justify-content: left; - overflow: hidden; - align-items: center; */ } #banner-text { @@ -174,10 +164,6 @@ nav ul li { padding: 2px 5px; } -.tooltip-nav { - text-decoration: none; -} - #timer-link { color:rgb(252, 188, 93); text-decoration: none; @@ -200,16 +186,33 @@ nav ul li { opacity: 1; } } -/* @keyframes headline { - 0% { - transform: translateX(600px); - } - 50% { - transform: translateX(-600px); - } - 100% { - transform: translateX(-600px); - } +/* +.tooltip-nav { + position: relative; + display: inline-block; + border-bottom: 1px dotted black; + text-decoration: none; + +} + +.tooltip-nav .tooltiptext { + visibility: hidden; + width: 120px; + background-color: black; + color: #fff; + text-align: center; + border-radius: 6px; + padding: 5px 0; + + position: absolute; + z-index: 100; + top: 100%; + left: 50%; + margin-left: -60px; +} + +.tooltip-nav:hover .tooltiptext { + visibility: visible; } */ /* .notification { diff --git a/index.html b/index.html index 758cd06..06326fb 100644 --- a/index.html +++ b/index.html @@ -50,7 +50,9 @@