/* @media (prefers-color-scheme: light) { */ /* :root { */ /* --text: #151515; */ /* --accent: #1688f0; */ /* --bg-main: #fff; */ /* --bg-repo: #f0f0f0; */ /* --bg-user: #f5f5f5; */ /* } */ /* } */ /* @media (prefers-color-scheme: dark) { */ :root { --text: #e5e5e5; --accent: rgba(22,136,240,0.4); --bg-main: #000; --bg-repo: #0f0f1a; --bg-user: #0a0a0f; --purple: rgb(123, 31, 162); --violet: rgb(103, 58, 183); --pink: rgb(244, 143, 177); --light-yellow: rgb(255, 255, 204); --pale-yellow: rgb(255, 255, 153); --lemon-yellow: rgb(255, 250, 205); --gold-color: #F4E8C1; --box-shadow: rgba(255, 238, 16,.4); --neon-red: #f83a3a; --neon-pink: #f13dd4; --neon-purple: #7000ff; } * { box-sizing: border-box; /* background-image: url(/images/backgroundNightCity.jpg); */ background: transparent; } span,p,div,a { transition: transform .3s, scale 0.3s; } body { margin: 0; font-family: inter, 'Open Sans', sans-serif; } main { margin-top: var(--topBarHeight) } .bgWrap { overflow: hidden; top: 0; left: 0; margin: 0; padding: 0; width: 100%; height: 100%; /* background-color: rgb(48, 60, 100); */ /* background-image: url(/images/heigh-grass.jpg), url(/images/heigh-grass.webp); */ background-color: var(--neon-bg-color); background-position: center; background-repeat: no-repeat; background-size: cover; align-items: center; display: flex; justify-content: center; color: var(--gold-color); z-index: -1; font-size: 16px; } .container { display: flex; justify-content: center; flex-direction: row; flex-wrap: wrap; align-items: center; width: 90%; max-width: 1280px; /* background: transparent; */ position: center; } .container small, h1 { background: transparent; } .hide { /* '!important' is to make sure that when we add the class using JS, it takes precendence */ animation-name: fadeOut !important; animation-fill-mode: forwards !important; animation-duration: .5s !important; position: absolute; transition: all .5s; } .unHide { animation-name: fadeIn !important; animation-fill-mode: forwards !important; animation-duration: .5s !important; } h1 { color: var(--accent); margin-bottom: 4px; } small { width: 100%; text-align: center; display: block; margin-bottom: 20px; } h2 { width: 100%; text-align: center; color: var(--text); margin: 0; } a { background: transparent; color: var(--accent); text-decoration: none; -webkit-transition: all 0.5s; transition: all 0.5s } ul { list-style: none; padding: 0; } .user-info * { background: transparent; } .user-info { display: flex; flex-wrap: wrap; justify-content: center; /* background-image: url(/images/backgroundNightCity.jpg); */ background: transparent; background-position: center; background-repeat: no-repeat; background-size: cover; color: var(--text); font-size: 18px; padding: 2em; border-radius: 16px; /* border: 0.1px solid var(--accent); */ } .user-info figure { width: 90%; max-width: 250px; background: transparent; } .user-info img { border: 2px solid var(--accent); box-shadow: 0 0px 6px var(--accent), 0 0px 6px var(--accent); max-width: 100%; height: auto; opacity: 0.85; -webkit-backdrop-filter: blur(64px) saturate(1.6); backdrop-filter: blur(64px) saturate(1.6); box-shadow: 0 0 10mm rgba(0,0,0,.7); border-radius: 100%; transition: transform 0.3s, border-radius 0.5s; } .user-info img:hover { border-radius: 5%; transition: transform 0.3s, border-radius 0.5s; } .user-info img:hover { transform: scale(1.1); box-shadow: 0 0 100mm var(--box-shadow); } .user-info div { display: flex; text-align: center; flex-wrap: wrap; align-items: center; width: 100%; padding-left: 5%; } .user-info div p { width: 100%; margin: 0; padding: 0; border-bottom: 1px solid var(--text); padding-bottom: 18px; background: transparent; } .user-info *:hover { transform: scale(1.1); transition: transform 0.3s; } .user-info .usertitle { font-family: audiowide; text-transform: uppercase; font-size: 2vw; } .filter-repos, input { /* background: rgba(10, 10, 15, 0.3); */ background: rgba(255, 255, 255, 0.01); color: white; width: 50%; border-radius: 20px; min-width: 300px; margin-top: 1em; padding: 1em; margin-bottom: 1em; border: 2px solid var(--accent); box-shadow: 0 0 10mm rgba(0,0,0,.7); text-align: center; -webkit-transition: all 0.5s; transition: all 0.5s } input:hover, .filter-repos:hover { /* background: rgba(10, 10, 15, 0.5); */ transition: all 0.5s; -webkit-backdrop-filter: blur(64px) saturate(1.6); backdrop-filter: blur(64px) saturate(1.6); box-shadow: 0 0 50mm rgba(0,0,0,.7); transform: scale(1.05); transition: all 0.5s; } input:active, .filter-repos:active { /* background: #F4E8C1; */ box-shadow: 0 0 10mm rgba(0,0,0,.7); /* background: rgba(244, 232, 193, 0.3); */ -webkit-backdrop-filter: blur(256px) saturate(1.6); backdrop-filter: blur(256px) saturate(1.6); } .repo > * { animation-name: scroll; animation-fill-mode: forwards; animation-timing-function: linear; animation-timeline: view(); font-family: inter; } .repos { display: flex; flex-wrap: wrap; justify-content: center; /* background: rgba(128, 128, 128, 0.2); */ margin-top: 0; padding: 2em; /* border-bottom-left-radius: 20px; */ /* border-bottom-right-radius: 20px; */ border-radius: 16px; /* border: 0.1px solid var(--accent); */ margin-bottom: 4em; /* box-shadow: 0 0 10mm rgba(0,0,0,.7); */ transition: transform 0.3s, background-color 0.5s;; } .repos:hover { /* background: rgba(0, 0, 0, 0.3); */ /* box-shadow: 0 0 10mm rgba(0,0,0,.7); */ /* transform: scale(1.01); */ /* box-shadow: 0 0 20mm rgba(128,128,128,.7); */ transition: transform 0.5s, background-color 0.5s; } .repo-title { margin: 4px; width: 100%; font-weight: bold; text-align: center; color: var(--accent); font-family: liga; } .rdescriptiontext { font-family: inter; } .repo-list { width: 100%; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; background: transparent; scroll-snap-type: y mandatory; /* background: rgba(128, 128, 128, 0.2); */ } .repo-list li { width: 100%; min-height: 180px; border-radius: 16px; margin: 1em 0; border: 1px solid var(--accent); padding: 1em; text-align: center; background: transparent; -webkit-backdrop-filter: blur(256px) saturate(1.6); backdrop-filter: blur(256px) saturate(1.6); -webkit-transition: all 0.5s; transition: all 0.5s; scroll-snap-align: center; /* box-shadow: 0 0 10mm rgba(0,0,0,.7); */ /* background: rgba(128, 128, 128, 0.1); */ } .repo-list h3, span{ background: transparent; } .repo:hover { /* box-shadow: 0 3px 6px var(--accent), 0 3px 6px var(--accent); */ box-shadow: 0 0 50mm var(--box-shadow); /* background: rgba(0, 0, 0, 0.1); */ -webkit-backdrop-filter: blur(128px) saturate(1.6); backdrop-filter: blur(128px) saturate(1.6); border-radius: 10px; transform: scale(1.05); transition: background 0.5s, transform 1s, boarder 1.5s, all 0.3s } .repo-list:hover:has(li:hover) li:not(:hover,.hide) { background: rgba(0, 0, 0, 0.3); -webkit-backdrop-filter: blur(128px) saturate(1.6); backdrop-filter: blur(128px) saturate(1.6); transform: scale(0.95); animation-duration: 0.5s; transition: background 0.5s, transform 1s, all 0.3s; } .link-btn { padding: 10px 20px; /* background: var(--bg-main); */ /* background: rgba(0, 0, 0, 0.5); */ background: rgba(128, 128, 128, 0.1); border-radius: 30px; border: 2px solid var(--accent); color: var(--text); -webkit-transition: background 0.5s, transform 0.5s, border 0.5s, all 0.5s; transition: background 0.5s, transform 0.5s, border 0.5, all 0.3s; } .link-btn:hover { background: rgba(22, 136, 240, 0.5); border: 2px solid var(--text); border-radius: 16px; transform: scale(1.1); box-shadow: 0 0 50mm rgba(0, 156, 255,.7); -webkit-transition: background 0.5s, transform 0.5s, border 0.5s, all 0.5s; transition: background 0.5s, transform 0.5s, border 0.5s, all 0.5s; } .repo-list p { padding: 0em 0.5em; margin: 0.5em 0; background: transparent; } .intro:hover, .user-info:hover { -webkit-backdrop-filter: blur(128px) saturate(1.6); backdrop-filter: blur(128px) saturate(1.6); /* transform: scale(1.1); */ } .intro { transform-style: preserve-3d; perspective: 1000px; border-radius: 16px; } .user-info { /* background: transparent; */ /* background: rgba(128, 128, 128, 0.2); */ -webkit-backdrop-filter: blur(128px) saturate(1.6); backdrop-filter: blur(128px) saturate(1.6); /* box-shadow: 0 0 10mm rgba(0,0,0,.7); */ border: 2px solid #fff } .floattext { transform: translateZ(200px); } .repo { -webkit-backdrop-filter: blur(256px) saturate(1.6); backdrop-filter: blur(256px) saturate(1.6); box-shadow: 0 0 10mm rgba(0,0,0,.7); overflow: auto; overflow-x: hidden; transition: all 0.3s; break-inside: avoid; } .rdescription { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; } .rdescription:hover { -webkit-line-clamp: unset; } .btn-code:hover { box-shadow: 0 0 50mm linear-gradient( 45deg, var(--neon-red) 10%, var(--neon-pink) 50%, var(--neon-purple) 90% ); border: 2px solid linear-gradient(45deg,var(--neon-red) 10%,var(--neon-pink) 50%,var(--neon-purple) 90%) } @media (min-width: 700px) { .user-info div { width: 45%; text-align: left; /* background: rgba(10, 10, 15, 0.1); */ background: transparent; } .user-info div p { margin: 10px; } .repo-list { justify-content: space-around; } .repo-list li { width: 48%; margin-right: 1.5%; margin-left: 1.5%; margin-top: 2%; margin-bottom: 2%; } } @media (min-width: 1200px) { .repo-list li { width: 30%; } }