Skip to content

Commit

Permalink
uncrimmas and rm paketmeqa
Browse files Browse the repository at this point in the history
  • Loading branch information
meqativ committed Jan 8, 2025
1 parent e901bf4 commit b3865f6
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 29 deletions.
Binary file modified assets/avatar/normal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/avatar/normal.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 5 additions & 11 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -186,24 +186,18 @@ <h3 translate="no">osu!profile</h3>
<h3 translate="no">geometry dash</h3>
</button>
</a>
<a href="https://t.me/paketmeqa/1482">
<button id="tg" title="my Telegram channel">
<a href="https://t.me/@meqativ">
<button id="tg" title="my Telegram account">
<div class="logo_container">
<img draggable="false" src="./assets/services/telegram/logo.svg" />
</div>
<h3 translate="no" style="width: 100%; opacity: 1;">telegram stuff</h3>
<h3 style="width: 0px; opacity: 0; text-align: center; font-size: 0px;">channel</h3>
<h3 translate="no" style="width: 100%; opacity: 1;">telegram</h3>
<h3 style="width: 0px; opacity: 0; text-align: center; font-size: 0px;">@meqativ</h3>
<div aria-label="Expand buttons below" tabindex="0" role="button" aria-pressed="false"
style="display: none; transform: rotate(0turn);" class="logo_container pointer">&lt;</div>
</button>
</a>
<div closed="true" style="display: none;" class="telegram-btns">
<button title="Telegram profile" disabled onclick="window.open(`https://t.me/meqativ`)">
<h3>profile</h3>
<div class="logo_container">
<img draggable="false" class="round" src="./assets/avatar/normal.png" />
</div>
</button>
<button title="Telegram language pack" disabled onclick="window.open(`https://t.me/setlanguage/meqalang`)">
<h3>language</h3>
<div class="logo_container">
Expand Down Expand Up @@ -231,4 +225,4 @@ <h3 translate="yes">emojis</h3>
</main>
</body>

</html>
</html>
4 changes: 2 additions & 2 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ tg_btn_arrow.style.display = ""; // show if js enabled
tg_btns.style.display = ""; // show if js enabled



// there is probably alot of redundant stuff left but
tg_btn.addEventListener("click", (e) => {
if (!tg_btn_arrow.matches(":hover, :focus")) return window.open(`https://t.me/paketmeqa`);
if (!tg_btn_arrow.matches(":hover, :focus")) return window.open(`https://t.me/meqativ`);
absorbEvent(e);
if /* close the fold */ (tg_btns.getAttribute("closed") === "false") {
tg_btn_arrow.style.transform = "rotate(0turn)";
Expand Down
16 changes: 2 additions & 14 deletions style.css
Original file line number Diff line number Diff line change
@@ -1,18 +1,5 @@
@import url("./modules/scrollbars.css");

button:nth-child(4n-2) {
--accent-rgb: 255, 255, 0;
}
button:nth-child(4n-1) {
--accent-rgb: 0, 255, 0;
}
button:nth-child(4n) {
--accent-rgb: 0, 0, 255;
}
button:nth-child(4n+1) {
--accent-rgb: 255, 0, 255;
}

img {
max-width: 100%;
height: auto;
Expand Down Expand Up @@ -136,6 +123,7 @@ button,
background-color: rgba(var(--accent-rgb), 0.133);
border: rgb(var(--accent-rgb)) solid 1px;
border-radius: 0.5rem;
cursor: pointer;
}

button:hover {
Expand Down Expand Up @@ -349,4 +337,4 @@ span#ua_flag img {
vertical-align: sub;
aspect-ratio: 3/2;
border-radius: .5rem;
}
}

0 comments on commit b3865f6

Please sign in to comment.