Skip to content

Commit

Permalink
Merge pull request #3 from DUQIA/v0.0.01
Browse files Browse the repository at this point in the history
revamp
  • Loading branch information
DUQIA authored Sep 25, 2024
2 parents f6d288f + 125a142 commit 4dec5b5
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 26 deletions.
50 changes: 25 additions & 25 deletions admin/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
--text-color-light: #636363;
--link-color: dodgerblue;
--white-color: white;
--tr-color: #dddddd;
--tr-color: #ddd;
--select-color: #1e90ff;
}

Expand Down Expand Up @@ -47,7 +47,7 @@ body {
font-size: xx-large;
align-items: stretch;
-webkit-text-fill-color: transparent;
background: linear-gradient(94.75deg, rgb(250, 189, 137) 0%, rgb(242, 119, 110) 43.66%, rgb(168, 20, 113) 64.23%, rgb(29, 17, 121) 83.76%, rgb(8, 170, 236) 100%);
background: linear-gradient(94.75deg, rgb(250 189 137) 0%, rgb(242 119 110) 43.66%, rgb(168 20 113) 64.23%, rgb(29 17 121) 83.76%, rgb(8 170 236) 100%);
background-clip: text;
}

Expand All @@ -65,25 +65,25 @@ body {

/* 文本 */
.menu td a {
display: inline-block; /* 使链接成为行内块元素 */
padding: 8px 0;
width: 100%;
display: flex;
align-items: flex-end;
border-radius: 5px;
}

/* 图标 */
.menu td a img {
padding: 0 10px 0 28px;
}

/* 链接样式 */
a {
color: black;
text-decoration: none;
}

/* 图标 */
.menu td a img {
padding: 0 10px 0 28px;
}


/* 容器 */
.container {
min-height: 100vh;
Expand All @@ -109,18 +109,18 @@ a {
}

/* 页眉 */
.header {
margin: 10px;
display: flex
}

.header a {
float: left;
padding: 10px 30px;
border-radius: 5px;
margin-right: 2px;
}

.header {
margin: 10px;
display: flex
}

/* 布局 */
.layout {
display: flex;
Expand Down Expand Up @@ -230,6 +230,13 @@ a {
height: 100%;
}

/* 悬停样式 */
.menu td a:hover, .header a:hover {
cursor: pointer;
color: var(--link-color);
transition: color 0.3s ease;
}

/* 图片滤镜 */
.menu td:hover img {
filter: invert(50%) sepia(100%) saturate(500%) hue-rotate(180deg);
Expand All @@ -242,26 +249,19 @@ a {
transition: font-weight 0.3s ease;
}

/* 悬停样式 */
.menu td a:hover, .header a:hover {
cursor: pointer;
color: var(--link-color);
transition: color 0.3s ease;
}

/* 菜单选中 */

a.selected img {
filter: invert(50%) sepia(100%) saturate(500%) hue-rotate(180deg);
transition: filter 0.3s ease;
}
.selected {
cursor: pointer;
color: var(--link-color);
outline: 2px solid var(--select-color);
transition: color 0.3s ease;
}

a.selected img {
filter: invert(50%) sepia(100%) saturate(500%) hue-rotate(180deg);
transition: filter 0.3s ease;
}

/* 页眉切换 */
.select {
cursor: pointer;
Expand Down
2 changes: 1 addition & 1 deletion css/style.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
:root {
--border-color: #cccccc;
--border-color: #ccc;
--link-color: dodgerblue;
--white-color: white;
}
Expand Down

0 comments on commit 4dec5b5

Please sign in to comment.