summaryrefslogtreecommitdiff
path: root/src/css/ghrepo.css
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2023-10-13 08:42:10 +0800
committerlittleblack111 <littleblack11111@gmail.com>2023-10-13 08:42:10 +0800
commit153c880c0b93ae19bfed678f79f41582c0e6f4bf (patch)
tree18efb70c7af162706caa7590488dedac80cc4441 /src/css/ghrepo.css
parentcf8351ad76b8aaa883646f31555d44bf9c98cf88 (diff)
updated
Diffstat (limited to 'src/css/ghrepo.css')
-rw-r--r--src/css/ghrepo.css15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/css/ghrepo.css b/src/css/ghrepo.css
index 64903e87..3912c051 100644
--- a/src/css/ghrepo.css
+++ b/src/css/ghrepo.css
@@ -253,6 +253,7 @@ input:active,
justify-content: center;
align-items: flex-start;
background: transparent;
+ scroll-snap-type: y mandatory;
/* background: rgba(128, 128, 128, 0.2); */
}
@@ -270,7 +271,8 @@ input:active,
-ms-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
backdrop-filter: blur(20px);
- -webkit-transition: all 0.5s
+ -webkit-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); */
}
@@ -371,6 +373,17 @@ input:active,
box-shadow: 0 0 10mm rgba(0,0,0,.7);
}
+.rdescription {
+ display: -webkit-box;
+ -webkit-box-orient: vertical;
+ -webkit-line-clamp: 3;
+ overflow: hidden
+}
+
+.rdescription:hover {
+ -webkit-line-clamp: unset;
+}
+
.user-info * {
background: transparent;
}