summaryrefslogtreecommitdiff
path: root/dest/css/ghrepo.css
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2023-11-05 17:23:37 +0800
committerlittleblack111 <littleblack11111@gmail.com>2023-11-05 17:23:37 +0800
commit2cdf0cb352ab6a2d0f8cb25120e4ebc92c5316e3 (patch)
tree6b088c99810bd013f17b80522c936ca6dfc09858 /dest/css/ghrepo.css
parentf8ee6ef722e6c560c4a1c879e04dbdf0b01f0316 (diff)
removed autoprefix hover as it will have a high chance of making hover stopped working
Diffstat (limited to 'dest/css/ghrepo.css')
-rw-r--r--dest/css/ghrepo.css381
1 files changed, 1 insertions, 380 deletions
diff --git a/dest/css/ghrepo.css b/dest/css/ghrepo.css
index 28315d87..d1e819a2 100644
--- a/dest/css/ghrepo.css
+++ b/dest/css/ghrepo.css
@@ -1,380 +1 @@
-/* @media (prefers-color-scheme: light) { */
-/* :root { */
-/* --text: #151515; */
-/* --accent: #1688f0; */
-/* --bg-main: #fff; */
-/* --bg-repo: #f0f0f0; */
-/* --bg-user: #f5f5f5; */
-/* } */
-/* } */
-/* @media (prefers-color-scheme: dark) { */
-html {
- --text: #e5e5e5;
- --accent: #1688f0;
- --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);
- }
-/* } */
-* {
- box-sizing: border-box;
- /* background-image: url(/images/backgroundNightCity.jpg); */
- background: transparent;
- transition: transform 0.5s;
-}
-body {
- margin: 0;
- margin-top: (3em);
- font-family: 'Open Sans', sans-serif;
-}
-main {
- margin-top: 3em
-}
-.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-position: center;
- background-repeat: no-repeat;
- background-size: cover;
- align-items: center;
- display: flex;
- justify-content: center;
- color: #F4E8C1;
- 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 {
- display: none !important;
-}
-.hide {
- /* '!important' is to make sure that when we add the class using JS, it takes precendence */
-}
-h1 {
- color: #1688f0;
- color: var(--accent);
- margin-bottom: 4px;
-}
-small {
- width: 100%;
- text-align: center;
- display: block;
- margin-bottom: 20px;
-}
-h2 {
- width: 100%;
- text-align: center;
- color: #e5e5e5;
- color: var(--text);
- margin: 0;
-}
-a {
- background: transparent;
- color: #1688f0;
- color: var(--accent);
- -webkit-text-decoration: none;
- text-decoration: none;
- transition: background 0.5s
-}
-.github-img {
- width: 45px;
- margin-right: 8px;
-}
-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: #e5e5e5;
- 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 #1688f0;
- border: 2px solid var(--accent);
- box-shadow: 0 0px 6px #1688f0, 0 0px 6px #1688f0;
- box-shadow: 0 0px 6px var(--accent), 0 0px 6px var(--accent);
- max-width: 100%;
- height: auto;
- box-shadow: 0 0 10mm rgba(0,0,0,.7);
- border-radius: 100%;
-}
-.using-mouse .using-mouse .user-info img:hover {
- border-radius: 5%;
-}
-.using-mouse .using-mouse .user-info img:hover {
-transform: scale(1.1);
-box-shadow: 0 0 100mm rgba(255, 238, 16,.7);
-}
-.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 #e5e5e5;
- border-bottom: 1px solid var(--text);
- padding-bottom: 18px;
- background: transparent;
-}
-.using-mouse .using-mouse .user-info *:hover {
- transform: scale(1.1);
-}
-.user-info .usertitle {
- font-family: audiowide;
- text-transform: uppercase;
- font-size: 2vw;
-}
-.filter-repos,
-input {
- background: #0a0a0f;
- background: rgba(10, 10, 15, 0.3);
- width: 50%;
- border-radius: 20px;
- min-width: 300px;
- margin-top: 1em;
- padding: 1em;
- margin-bottom: 1em;
- border: 2px solid #1688f0;
- border: 2px solid var(--accent);
- box-shadow: 0 0 10mm rgba(0,0,0,.7);
- text-align: center;
- transition: all 0.5s
-}
-.using-mouse .using-mouse input:hover,
-.using-mouse .using-mouse .filter-repos:hover {
- /* background: rgba(10, 10, 15, 0.5); */
- transition: all 0.5s;
- -webkit-backdrop-filter: blur(5px);
- backdrop-filter: blur(5px);
- box-shadow: 0 0 50mm rgba(0,0,0,.7);
- transform: scale(1.1);
- transition: all 0.5s;
-}
-input:active,
-.filter-repos:active {
- /* background: #F4E8C1; */
- box-shadow: 0 0 10mm rgba(0,0,0,.7);
- background: #f4e8c1;
- background: rgba(244, 232, 193, 0.3);
-}
-.repos {
- display: flex;
- flex-wrap: wrap;
- justify-content: center;
- background: #808080;
- 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); */
-}
-.using-mouse .using-mouse .repos:hover {
- background: #000000;
- 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: all 0.5s;
-}
-.repo-title {
- margin: 4px;
- width: 100%;
- font-weight: bold;
- text-align: center;
- color: #1688f0;
- color: var(--accent);
-}
-.repo-list {
- width: 100%;
- display: flex;
- flex-wrap: wrap;
- justify-content: center;
- align-items: flex-start;
- background: transparent;
- -ms-scroll-snap-type: y mandatory;
- 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 #1688f0;
- border: 1px solid var(--accent);
- padding: 1em;
- text-align: center;
- background: transparent;
- -webkit-backdrop-filter: blur(20px);
- backdrop-filter: blur(20px);
- 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;
-}
-.using-mouse .using-mouse .repo:hover {
- /* box-shadow: 0 3px 6px var(--accent), 0 3px 6px var(--accent); */
- box-shadow: 0 0 50mm rgba(255, 238, 16,.7);
- background: #000000;
- background: rgba(0, 0, 0, 0.5);
- border-radius: 10px;
- transform: scale(1.05);
- transition: background 0.5s, transform 1s, boarder 1.5s, all 0.3s
-}
-.using-mouse .using-mouse .repo-list:hover:has(li:hover) li:not(:hover) {
- /* background: rgba(0, 0, 0, 0.3); */
- background: #000000;
- background: rgba(0, 0, 0, 0.3);
- transform: scale(0.95);
- -webkit-animation-duration: 0.5s;
- 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: #808080;
- background: rgba(128, 128, 128, 0.1);
- border-radius: 30px;
- border: 2px solid #1688f0;
- border: 2px solid var(--accent);
- color: #e5e5e5;
- color: var(--text);
- transition: background 0.5s, transform 0.5s, border 0.5, all 0.3s;
-}
-.using-mouse .using-mouse .link-btn:hover {
- background: #1688f0;
- background: rgba(22, 136, 240, 0.5);
- border: 2px solid #e5e5e5;
- border: 2px solid var(--text);
- border-radius: 16px;
- transform: scale(1.1);
- box-shadow: 0 0 50mm rgba(0, 156, 255,.7);
- 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;
-}
-.using-mouse .using-mouse .intro:hover,
-.using-mouse .using-mouse .user-info:hover {
- -webkit-backdrop-filter: blur(8px);
- backdrop-filter: blur(8px);
- transform: scale(1.1);
- transition: all 0.5s;
-}
-.user-info {
- /* background: transparent; */
- background: #808080;
- background: rgba(128, 128, 128, 0.2);
- -webkit-backdrop-filter: blur(2px);
- backdrop-filter: blur(2px);
- /* box-shadow: 0 0 10mm rgba(0,0,0,.7); */
-}
-.repo {
- -webkit-backdrop-filter: blur(20px);
- backdrop-filter: blur(20px);
- box-shadow: 0 0 10mm rgba(0,0,0,.7);
- overflow: auto;
- overflow-x: hidden;
-}
-.rdescription {
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 3;
- overflow: hidden;
-}
-.using-mouse .using-mouse .rdescription:hover {
- -webkit-line-clamp: unset;
-}
-@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%;
- }
-}
-/* TODO: Make all webkit-transition do with normal transition as well */
+html{--text:#e5e5e5;--accent:#1688f0;--bg-main:#000;--bg-repo:#0f0f1a;--bg-user:#0a0a0f;--purple:#7b1fa2;--violet:#673ab7;--pink:#f48fb1;--light-yellow:#ffc;--pale-yellow:#ff9;--lemon-yellow:#fffacd}*{background:transparent;box-sizing:border-box;transition:transform .5s}body{font-family:Open Sans,sans-serif;margin:(3em) 0 0}main{margin-top:3em}.bgWrap{background-color:#303c64;background-image:url(/images/heigh-grass.jpg),url(/images/heigh-grass.webp);background-position:50%;background-repeat:no-repeat;background-size:cover;color:#f4e8c1;font-size:16px;height:100%;left:0;margin:0;overflow:hidden;padding:0;top:0;width:100%;z-index:-1}.bgWrap,.container{align-items:center;display:flex;justify-content:center}.container{flex-direction:row;flex-wrap:wrap;max-width:1280px;position:center;width:90%}.container small,h1{background:transparent}.hide{display:none!important}h1{color:var(--accent);margin-bottom:4px}small{display:block;margin-bottom:20px}h2,small{text-align:center;width:100%}h2{color:var(--text);margin:0}a{background:transparent;color:var(--accent);text-decoration:none;-webkit-transition:background .5s;transition:background .5s}.github-img{margin-right:8px;width:45px}ul{list-style:none;padding:0}.user-info,.user-info *{background:transparent}.user-info{background-position:50%;background-repeat:no-repeat;background-size:cover;border-radius:16px;color:var(--text);display:flex;flex-wrap:wrap;font-size:18px;justify-content:center;padding:2em}.user-info figure{background:transparent;max-width:250px;width:90%}.user-info img{border:2px solid var(--accent);border-radius:100%;box-shadow:0 0 6px var(--accent),0 0 6px var(--accent);box-shadow:0 0 10mm rgba(0,0,0,.7);height:auto;max-width:100%}.user-info img:hover{border-radius:5%}.user-info img:hover{box-shadow:0 0 100mm rgba(255,238,16,.7);transform:scale(1.1)}.user-info div{align-items:center;display:flex;flex-wrap:wrap;padding-left:5%;text-align:center;width:100%}.user-info div p{background:transparent;border-bottom:1px solid var(--text);margin:0;padding:0 0 18px;width:100%}.user-info :hover{transform:scale(1.1)}.user-info .usertitle{font-family:audiowide;font-size:2vw;text-transform:uppercase}.filter-repos,input{background:#0a0a0f;background:rgba(10,10,15,.3);border:2px solid var(--accent);border-radius:20px;box-shadow:0 0 10mm rgba(0,0,0,.7);margin-bottom:1em;margin-top:1em;min-width:300px;padding:1em;text-align:center;-webkit-transition:all .5s;transition:all .5s;width:50%}.filter-repos:hover,input:hover{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);box-shadow:0 0 50mm rgba(0,0,0,.7);transform:scale(1.1);transition:all .5s}.filter-repos:active,input:active{background:#f4e8c1;background:hsla(46,70%,86%,.3);box-shadow:0 0 10mm rgba(0,0,0,.7)}.repos{background:grey;background:hsla(0,0%,50%,.2);border-radius:16px;display:flex;flex-wrap:wrap;justify-content:center;margin-bottom:4em;margin-top:0;padding:2em}.repos:hover{background:#000;background:rgba(0,0,0,.3);box-shadow:0 0 10mm rgba(0,0,0,.7);box-shadow:0 0 20mm hsla(0,0%,50%,.7);transform:scale(1.01);transition:all .5s}.repo-title{color:var(--accent);font-weight:700;margin:4px;text-align:center;width:100%}.repo-list{align-items:flex-start;display:flex;flex-wrap:wrap;justify-content:center;scroll-snap-type:y mandatory}.repo-list,.repo-list li{background:transparent;width:100%}.repo-list li{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border:1px solid var(--accent);border-radius:16px;margin:1em 0;min-height:180px;padding:1em;scroll-snap-align:center;text-align:center;-webkit-transition:all .5s;transition:all .5s}.repo-list h3,span{background:transparent}.repo:hover{background:#000;background:rgba(0,0,0,.5);border-radius:10px;box-shadow:0 0 50mm rgba(255,238,16,.7);transform:scale(1.05);transition:background .5s,transform 1s,boarder 1.5s,all .3s}.repo-list:hover:has(li:hover) li:not(:hover){animation-duration:.5s;background:#000;background:rgba(0,0,0,.3);transform:scale(.95);transition:background .5s,transform 1s,all .3s}.link-btn{background:grey;background:hsla(0,0%,50%,.1);border:2px solid var(--accent);border-radius:30px;color:var(--text);padding:10px 20px;-webkit-transition:background .5s,transform .5s,border .5s,all .5s;transition:background .5s,transform .5s,border .5,all .3s}.link-btn:hover{background:#1688f0;background:rgba(22,136,240,.5);border:2px solid var(--text);border-radius:16px;box-shadow:0 0 50mm rgba(0,156,255,.7);transform:scale(1.1);-webkit-transition:background .5s,transform .5s,border .5s,all .5s;transition:background .5s,transform .5s,border .5s,all .5s}.repo-list p{background:transparent;margin:.5em 0;padding:0 .5em}.intro:hover,.user-info:hover{-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transform:scale(1.1);transition:all .5s}.user-info{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:grey;background:hsla(0,0%,50%,.2)}.repo{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);box-shadow:0 0 10mm rgba(0,0,0,.7);overflow:auto;overflow-x:hidden}.rdescription{-webkit-box-orient:vertical;-webkit-line-clamp:3;display:-webkit-box;overflow:hidden}.rdescription:hover{-webkit-line-clamp:unset}@media (min-width:700px){.user-info div{background:transparent;text-align:left;width:45%}.user-info div p{margin:10px}.repo-list{justify-content:space-around}.repo-list li{margin:2% 1.5%;width:48%}}@media (min-width:1200px){.repo-list li{width:30%}} \ No newline at end of file