summaryrefslogtreecommitdiff
path: root/src
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
parentcf8351ad76b8aaa883646f31555d44bf9c98cf88 (diff)
updated
Diffstat (limited to 'src')
-rw-r--r--src/css/about.css22
-rw-r--r--src/css/ghrepo.css15
-rw-r--r--src/css/index.css2
-rw-r--r--src/css/style.css1
4 files changed, 30 insertions, 10 deletions
diff --git a/src/css/about.css b/src/css/about.css
index 0cb28985..eb9caa37 100644
--- a/src/css/about.css
+++ b/src/css/about.css
@@ -21,6 +21,7 @@ body {
align-items: center;
margin: auto;
justify-content: center;
+ margin-top: 4em;
/* background-color: #f1f1f1; */
}
@@ -30,29 +31,34 @@ body {
}
.right {
- flex: 1;
- padding: 20px;
+ /* flex: 1; */
+ display: flex;
+ height: 100%;
+ margin-top: 10em;
}
-.info {
- margin-bottom: 20px;
+.main {
+ margin: auto;
}
-.info h2 {
+.main h2 {
font-size: 24px;
margin-bottom: 10px;
}
-.info p {
+.main p {
font-size: 16px;
margin: 0;
}
+.info {
+ height: 80%;
+}
+
.name {
font-family: smooth;
- font-size: 5vw;
-
+ font-size: 10vw;
}
.background {
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;
}
diff --git a/src/css/index.css b/src/css/index.css
index d699d868..1b6f2641 100644
--- a/src/css/index.css
+++ b/src/css/index.css
@@ -115,7 +115,7 @@
/* z-index: -1; */
/* transform: translateZ(30px); */
font-family: rocksalt;
- font-size: 1.5vw;
+ font-size: 1.75vw;
}
diff --git a/src/css/style.css b/src/css/style.css
index 3f9236bf..7fcc5ea7 100644
--- a/src/css/style.css
+++ b/src/css/style.css
@@ -46,6 +46,7 @@
body {
top: 0;
left: 0;
+ transition: background 1s ease-in-out;
}
body::-webkit-scrollbar {