updated styles

This commit is contained in:
wt committed 2025-06-28 20:19:24 +07:00
1 parent 9bbe325488
commit e487d6d3a2
4 files changed
+56 -48

No files matched your search

+30 -28
View File
@@ -9,11 +9,6 @@
border-radius: 10px; border-radius: 10px;
} }
.cardicon:hover {
box-shadow: white 0 0 30px;
transform: translateY(-2px);
}
.cardicon>img { .cardicon>img {
width: 100%; width: 100%;
height: 100%; height: 100%;
@@ -33,18 +28,6 @@
z-index: 10; z-index: 10;
} }
.card:hover {
width: 300px;
height: 300px;
}
.card:hover>.cardicon {
top: 30px;
right: 30px;
width: 150px;
height: 150px;
}
.card>.text>.mail { .card>.text>.mail {
position: relative; position: relative;
font-size: 17px; font-size: 17px;
@@ -83,14 +66,6 @@
transition: 0.3s; transition: 0.3s;
} }
.card>.text>.username:hover::after {
width: 50%;
}
.card>.text>.mail:hover::after {
width: 100%;
}
.card>.text { .card>.text {
opacity: 0; opacity: 0;
position: absolute; position: absolute;
@@ -99,6 +74,33 @@
transition: 0.3s; transition: 0.3s;
} }
.card:hover>.text { @media (hover: hover) {
opacity: 1; .cardicon:hover {
} box-shadow: white 0 0 30px;
transform: translateY(-2px);
}
.card:hover {
width: 300px;
height: 300px;
}
.card:hover>.cardicon {
top: 30px;
right: 30px;
width: 150px;
height: 150px;
}
.card>.text>.username:hover::after {
width: 50%;
}
.card>.text>.mail:hover::after {
width: 100%;
}
.card:hover>.text {
opacity: 1;
}
}
+12 -10
View File
@@ -21,12 +21,6 @@
transition: 0.3s; transition: 0.3s;
} }
.usericon:hover {
border-radius: 10px;
transform: translateY(-10px);
box-shadow: white 0 0 30px;
}
.usericon > img { .usericon > img {
width: 100%; width: 100%;
height: 100%; height: 100%;
@@ -47,12 +41,20 @@
transition: 0.3s; transition: 0.3s;
} }
.time:hover {
text-shadow: white 0 0 20px;
}
@media screen and (max-width: 500px) { @media screen and (max-width: 500px) {
.header { .header {
flex-direction: column; flex-direction: column;
} }
} }
@media (hover: hover) {
.usericon:hover {
border-radius: 10px;
transform: translateY(-10px);
box-shadow: white 0 0 30px;
}
.time:hover {
text-shadow: white 0 0 20px;
}
}
+8 -6
View File
@@ -22,12 +22,6 @@
transition: 0.3s; transition: 0.3s;
} }
.icon:hover {
border-radius: 10px;
transform: translateY(-10px);
box-shadow: white 0 0 30px;
}
.icon > a { .icon > a {
width: 100%; width: 100%;
height: 100%; height: 100%;
@@ -43,3 +37,11 @@
width: 90%; width: 90%;
} }
} }
@media (hover: hover) {
.icon:hover {
border-radius: 10px;
transform: translateY(-10px);
box-shadow: white 0 0 30px;
}
}
+6 -4
View File
@@ -26,13 +26,15 @@
transition: 0.3s; transition: 0.3s;
} }
#search-in-google:hover {
box-shadow: white 0 0 20px;
}
@media screen and (max-width: 500px) { @media screen and (max-width: 500px) {
#search-in-google { #search-in-google {
max-width: 200px; max-width: 200px;
font-size: 12px; font-size: 12px;
} }
} }
@media (hover: hover) {
#search-in-google:hover {
box-shadow: white 0 0 20px;
}
}