Skip to content

Commit

Permalink
deploy: 3b549bd
Browse files Browse the repository at this point in the history
  • Loading branch information
digimbyte committed Jun 23, 2024
1 parent d91db96 commit 9d0dbe8
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
28 changes: 28 additions & 0 deletions assets/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,34 @@ footer a {
text-decoration: none;
}

.tooltip {
position: relative;
display: inline-block;
cursor: pointer;
}

.tooltip .tooltiptext {
visibility: hidden;
background-color: black;
color: #fff;
text-align: center;
border-radius: 5px;
padding: 5px;
position: absolute;
z-index: 1;
left: 50%;
transform: translateX(-50%);
white-space: nowrap; /* Prevents text from wrapping */
opacity: 0;
transition: opacity 0.3s;
font-family: 'Times New Roman', Times, serif;
}

.tooltip:hover .tooltiptext {
visibility: visible;
opacity: 1;
}

.language-selector {
margin-bottom: 10px;
}
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<header>
<div class="title">
<img src="/assets/images/icon.png" alt="Icon">
<h1><a href="#" onclick="loadContent('home')" style="color: white;">Firebase Me</a> <span class="alpha">αλφα</span></h1>
<h1><a href="#" onclick="loadContent('home')" style="color: white;">Firebase Me</a> <span class="alpha tooltip">αλφα<span class="tooltiptext">Alpha</span></span></h1>
</div>
<div class="categories" id="category-list">
<!-- Categories will be dynamically loaded here -->
Expand Down

0 comments on commit 9d0dbe8

Please sign in to comment.