summaryrefslogtreecommitdiff
path: root/src/css
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2023-10-14 15:04:39 +0800
committerlittleblack111 <littleblack11111@gmail.com>2023-10-14 15:04:39 +0800
commit3fd9400d4dccc25aa29b5702216732e0b7542073 (patch)
treed0eb32421ac850f388ead63805ef6c7c78a81066 /src/css
parent6d9129fcefc3aad0fa0091b03f56c0eee26956c9 (diff)
small updates and replaced css reading from
Diffstat (limited to 'src/css')
-rw-r--r--src/css/about.css7
-rw-r--r--src/css/ghrepo.css2
2 files changed, 5 insertions, 4 deletions
diff --git a/src/css/about.css b/src/css/about.css
index eb9caa37..6f9d9bb6 100644
--- a/src/css/about.css
+++ b/src/css/about.css
@@ -15,11 +15,13 @@ body {
}
.left {
- width: 50%;
+ top: 50%;
+ -ms-transform: translateY(-50%);
+ transform: translateY(-50%);
display: flex;
overflow: hidden;
align-items: center;
- margin: auto;
+ margin: 0;
justify-content: center;
margin-top: 4em;
/* background-color: #f1f1f1; */
@@ -27,7 +29,6 @@ body {
.left img {
max-width: 100%;
- height: auto;
}
.right {
diff --git a/src/css/ghrepo.css b/src/css/ghrepo.css
index 5ef07354..101caf9a 100644
--- a/src/css/ghrepo.css
+++ b/src/css/ghrepo.css
@@ -302,7 +302,7 @@ input:active,
background: rgba(0, 0, 0, 0.3);
transform: scale(0.95);
animation-duration: 0.5s;
- transition: background 0.5s, transform: 1s, all 0.3s;
+ transition: background 0.5s, transform 1s, all 0.3s
}