diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2023-10-14 15:04:39 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2023-10-14 15:04:39 +0800 |
| commit | 3fd9400d4dccc25aa29b5702216732e0b7542073 (patch) | |
| tree | d0eb32421ac850f388ead63805ef6c7c78a81066 | |
| parent | 6d9129fcefc3aad0fa0091b03f56c0eee26956c9 (diff) | |
small updates and replaced css reading from
| -rw-r--r-- | index.html | 4 | ||||
| -rw-r--r-- | pages/info/about.html | 4 | ||||
| -rw-r--r-- | pages/repo/github/repos.html | 4 | ||||
| -rw-r--r-- | src/css/about.css | 7 | ||||
| -rw-r--r-- | src/css/ghrepo.css | 2 |
5 files changed, 11 insertions, 10 deletions
@@ -16,8 +16,8 @@ <meta property="title" content="littleblack111"> <title>littleblack111</title> <link rel="icon" href="https://avatars.githubusercontent.com/u/97672521" type="image/png"/> - <link rel="stylesheet" href="/src/css/style.css"> - <link rel="stylesheet" href="/src/css/index.css"> + <link rel="stylesheet" href="/dest/style.css"> + <link rel="stylesheet" href="/dest/index.css"> </head> <body class="animate reveal"> <!-- headers --> diff --git a/pages/info/about.html b/pages/info/about.html index 1100f3f6..c48ee380 100644 --- a/pages/info/about.html +++ b/pages/info/about.html @@ -4,8 +4,8 @@ <title>About Me</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> - <link href="/src/css/style.css" rel="stylesheet"> - <link href="/src/css/about.css" rel="stylesheet"> + <link href="/dest/style.css" rel="stylesheet"> + <link href="/dest/about.css" rel="stylesheet"> <link rel="icon" href="https://avatars.githubusercontent.com/u/97672521" type="image/png"> </head> <body class="animate reveal"> diff --git a/pages/repo/github/repos.html b/pages/repo/github/repos.html index 55e7502b..be8c9489 100644 --- a/pages/repo/github/repos.html +++ b/pages/repo/github/repos.html @@ -7,8 +7,8 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0"></meta> <title>Github Projects</title> <link rel="icon" href="https://avatars.githubusercontent.com/u/97672521" type="image/png"></link> - <link rel="stylesheet" href="/src/css/style.css"></link> - <link rel="stylesheet" href="/src/css/ghrepo.css"></link> + <link rel="stylesheet" href="/dest/style.css"></link> + <link rel="stylesheet" href="/dest/ghrepo.css"></link> <link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/devicons/devicon@v2.15.1/devicon.min.css"> <script src="/src/js/getrepo.js" defer></script> </head> 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 } |
