From fb16a87d85d711a990acf7b522850822c40b8304 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Wed, 11 Oct 2023 22:29:14 +0800 Subject: new font, new style and updates --- src/css/ghrepo.css | 33 +++++++++++++++++++++------------ 1 file changed, 21 insertions(+), 12 deletions(-) (limited to 'src/css/ghrepo.css') diff --git a/src/css/ghrepo.css b/src/css/ghrepo.css index 772cfe08..64903e87 100644 --- a/src/css/ghrepo.css +++ b/src/css/ghrepo.css @@ -38,7 +38,7 @@ main { } .bgWrap { - overflow: hidden; + overflow: hidden; top: 0; left: 0; margin: 0; @@ -117,12 +117,6 @@ a { -webkit-transition: background 0.5s } -a:hover { - /* color: var(--text); */ - background: rgba(0, 0, 0, 0.1); - transition: background 0.5s -} - .github-img { width: 45px; margin-right: 8px; @@ -181,6 +175,12 @@ ul { transform: scale(1.1); } +.user-info .usertitle { + font-family: audiowide; + text-transform: uppercase; + font-size: 2vw; +} + .filter-repos, input { background: rgba(10, 10, 15, 0.3); @@ -239,7 +239,7 @@ input:active, transition: all 0.5s; } -h3 { +.repo-title { margin: 4px; width: 100%; text-align: center; @@ -282,14 +282,19 @@ h3 { .repo-list li:hover { /* box-shadow: 0 3px 6px var(--accent), 0 3px 6px var(--accent); */ background: rgba(0, 0, 0, 0.5); - transform: scale(1.1); + transform: scale(1.05); transition: background 0.5s, transform 1s, all 0.3s } -.repo-list:hover .repo:not(:hover) { +.repo-list:hover li:not(:hover) { + /* background: rgba(0, 0, 0, 0.3); */ background: rgba(0, 0, 0, 0.3); - transition: all 1s + 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); */ @@ -345,11 +350,15 @@ h3 { } .repo-list { - justify-content: space-between; + justify-content: space-around; } .repo-list li { width: 48%; + margin-right: 1.5%; + margin-left: 1.5%; + margin-top: 2%; + margin-bottom: 2%; } } -- cgit v1.2.3