Skip to content

Commit

Permalink
Merge pull request #7 from Dott-rus/litt-upd
Browse files Browse the repository at this point in the history
Litt upd
  • Loading branch information
Dott-rus authored Nov 23, 2024
2 parents 94e05c8 + 4946399 commit e91f39f
Show file tree
Hide file tree
Showing 14 changed files with 562 additions and 1,448 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
*.md
*.md
*.ps1
126 changes: 0 additions & 126 deletions css/hat.css

This file was deleted.

61 changes: 61 additions & 0 deletions css/langSwitcher.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
.lang-switcher {
position: fixed;
top: 1rem;
right: 1rem;
z-index: 50;
margin: 0;
transform: none;
}

.lang-options {
position: absolute;
top: 100%;
right: 0;
margin-top: 0.5rem;
opacity: 0;
transform: translateY(-10px);
pointer-events: none;
transition: all 0.3s ease;
z-index: 51;
}

.lang-options.active {
opacity: 1;
transform: translateY(0);
pointer-events: auto;
}

.lang-option {
transform: translateX(20px);
opacity: 0;
transition: all 0.3s ease;
}

.lang-options.active .lang-option {
transform: translateX(0);
opacity: 1;
}

.lang-options.active .lang-option:nth-child(1) { transition-delay: 0.1s; }
.lang-options.active .lang-option:nth-child(2) { transition-delay: 0.2s; }

.current-lang {
position: relative;
overflow: hidden;
}

.current-lang::after {
content: '';
position: absolute;
bottom: -2px;
left: 0;
width: 100%;
height: 2px;
background: #6c5ce7;
transform: translateX(-100%);
transition: transform 0.3s ease;
}

.current-lang:hover::after {
transform: translateX(0);
}
4 changes: 0 additions & 4 deletions discord

This file was deleted.

Loading

0 comments on commit e91f39f

Please sign in to comment.