1
1
mirror of https://github.com/neosubhamoy/neosubhamoy-portfolio.git synced 2025-12-20 02:19:34 +05:30
Files
neosubhamoy-portfolio/htdocs/assets/extra-style.css

294 lines
5.3 KiB
CSS

/* --- Scrollbar Styling--- */
::-webkit-scrollbar {
width: 4px;
}
::-webkit-scrollbar-track {
background: #0F172A;
}
::-webkit-scrollbar-thumb {
background: rgba(56, 189, 248, 0.30);
}
::-webkit-scrollbar-thumb:hover {
background: #38BDF8;
}
/* --- Hello Container Styling --- */
#helloContainer {
position: relative;
}
.slideUpFade {
display: inline-block;
opacity: 0;
transform: translateY(0px);
animation: slideUpFade 4s ease-in-out;
animation-fill-mode: forwards;
}
@keyframes slideUpFade {
0% {
opacity: 0;
}
30% {
opacity: 1;
}
70% {
opacity: 0.9;
transform: translateY(0);
}
100% {
opacity: 0;
transform: translateY(-20px);
}
}
/* --- Scrool Down to Explore Btn Styling --- */
@keyframes scroll {
0% {
transform: translateY(0);
}
30% {
transform: translateY(100px);
}
}
.animate-scroll {
animation: scroll ease 1.5s infinite;
}
@keyframes slide-up {
0% {
opacity: 1;
transform: translateY(0);
}
100% {
opacity: 0;
transform: translateY(-100%);
}
}
.animate-slide-up {
animation: slide-up 0.5s ease-in-out;
}
/* --- Hover Animated Container Styling --- */
.hoverAnimatedContainer:hover::before {
opacity: 1;
}
.hoverAnimatedContainer::before {
background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(255,255,255,0.06), transparent 40%);
border-radius: inherit;
content: "";
height: 100%;
width: 100%;
position: absolute;
left: 0px;
top: 0px;
opacity: 0;
transition: opacity 500ms;
}
/* .z-20 rect {
transition: fill 0.3s ease-in-out;
}
.z-20 rect:hover {
fill: red;
}
.z-20 path:hover + .z-20 rect {
fill: red;
}
.z-20 g:hover + .z-20 rect {
fill: red;
} */
/* --- Floating Bar Styling --- */
.floatingbar-slide-down {
transform: translateY(20vh);
transition: transform 0.5s ease-in-out;
}
.floatingbar-slide-up {
transform: translateY(-10%);
transition: transform 0.5s ease-in-out;
}
.floatingbar-click-slide-up {
transform: translateY(-70vh);
transition: transform 0.5s ease-in-out;
}
.floatingbar-click-slide-down {
transform: translateY(0);
transition: transform 0.5s ease-in-out;
}
.searchbar-click-increase-width {
animation: increaseSearchbarWidth 0.5s ease-in-out;
width: 40vw;
transition: width 1s ease-in-out;
}
.searchbar-click-decrease-width {
animation: decreaseSearchbarWidth 0.5s ease-in-out;
width: fit-content;
transition: width 1s ease-in-out;
}
@keyframes increaseSearchbarWidth {
from {
width: 10vw;
}
to {
width: 40vw;
}
}
@keyframes decreaseSearchbarWidth {
from {
width: 40vw;
}
to {
width: 10vw;
}
}
@media only screen and (max-width: 768px) {
.searchbar-click-increase-width {
animation: increaseSearchbarWidth 0.5s ease-in-out;
width: 80vw;
transition: width 1s ease-in-out;
}
.searchbar-click-decrease-width {
animation: decreaseSearchbarWidth 0.5s ease-in-out;
width: fit-content;
transition: width 1s ease-in-out;
}
@keyframes increaseSearchbarWidth {
from {
width: 10vw;
}
to {
width: 80vw;
}
}
@keyframes decreaseSearchbarWidth {
from {
width: 80vw;
}
to {
width: 30vw;
}
}
}
.flotingbar-window-wrapper-show {
animation: blurWindowWrapper 0.5s ease-in-out;
backdrop-filter: blur(16px);
}
@keyframes blurWindowWrapper {
from {
backdrop-filter: blur(0px);
}
to {
backdrop-filter: blur(16px);
}
}
.floatingsearch-window-show {
display: flex;
animation: searchWindowShow 0.5s ease-in-out;
}
@keyframes searchWindowShow {
from {
width: 25vw;
height: 30vh;
opacity: 0;
}
to {
width: 44vw;
height: 60vh;
opacity: 1;
}
}
.floatingshare-window-show {
display: flex;
animation: shareWindowShow 0.5s ease-in-out;
}
@keyframes shareWindowShow {
from {
bottom: -100vh;
opacity: 0;
}
to {
bottom: 20vh;
opacity: 1;
}
}
@media only screen and (max-width: 768px) {
@keyframes searchWindowShow {
from {
width: 25vw;
height: 30vh;
opacity: 0;
}
to {
width: 90vw;
height: 45vh;
opacity: 1;
}
}
@keyframes shareWindowShow {
from {
bottom: -100vh;
opacity: 0;
}
to {
bottom: 20vh;
opacity: 1;
}
}
}
/* --- Tooltip Styling --- */
.tippy-box[data-theme~='neosubhamoy'] {
background-color: #1b2536;
color: #FFFFFF;
}
.tippy-box[data-theme~='neosubhamoy'][data-placement^='top'] > .tippy-arrow::before {
border-top-color: #1b2536;
}
.tippy-box[data-theme~='neosubhamoy'][data-placement^='bottom'] > .tippy-arrow::before {
border-bottom-color: #1b2536;
}
.tippy-box[data-theme~='neosubhamoy'][data-placement^='left'] > .tippy-arrow::before {
border-left-color: #1b2536;
}
.tippy-box[data-theme~='neosubhamoy'][data-placement^='right'] > .tippy-arrow::before {
border-right-color: #1b2536;
}