Skip to content

Commit 0e67e35

Browse files
Add more theme color options
我把原本的按钮只是切换两个颜色变成有弹窗询问要什么颜色。
1 parent 52c69a2 commit 0e67e35

21 files changed

+362
-26
lines changed

.idea/.gitignore

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/Beautiify_A2.iml

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/checkstyle-idea.xml

Lines changed: 24 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css_files/about.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@
55
padding: 0;
66
margin: 0;
77
}
8+
.color-picker-popup {
9+
position: fixed;
10+
top: 50%;
11+
left: 50%;
12+
transform: translateX(-50%);
13+
z-index: 9999; /* 确保弹窗位于页面最上层 */
14+
}
815

916
body {
1017
font-family: 'Playfair Display', serif;

assets/css_files/commonstyle.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@
77
--light: #f7f26c;
88
--dark: #f50414;
99
}
10+
.color-picker-popup {
11+
position: fixed;
12+
top: 50%;
13+
left: 50%;
14+
transform: translateX(-50%);
15+
z-index: 9999; /* 确保弹窗位于页面最上层 */
16+
}
1017

1118
* {
1219
margin: 0;

assets/css_files/contact.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
margin: 0;
44
box-sizing: border-box;
55
}
6+
.color-picker-popup {
7+
position: fixed;
8+
top: 50%;
9+
left: 50%;
10+
transform: translateX(-50%);
11+
z-index: 9999; /* 确保弹窗位于页面最上层 */
12+
}
613

714
body {
815
background-image: url(../images/bg3.png);

assets/css_files/contributor.css

Lines changed: 31 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,19 +60,35 @@ body {
6060
background-color: grey;
6161
border: 2px solid black;
6262
}
63-
63+
.blue-mode .contributors .heading-box {
64+
background-color: #1a2a4a; /* 更深的蓝色背景 */
65+
border: 2px solid #3a5fcd; /* 亮蓝色边框 */
66+
}
67+
.yellow-mode .contributors .heading-box {
68+
background-color: yellow;
69+
border: 2px solid yellowgreen;
70+
}
6471
.dark-mode .contributors .heading-box:after {
6572
border-top-color: grey;
6673
}
67-
74+
.blue-mode .contributors .heading-box:after {
75+
border-top-color: blue;
76+
}
77+
.yellow-mode .contributors .heading-box:after {
78+
border-top-color: yellow;
79+
}
6880
.dark-mode .contributors .heading {
6981
color: white;
7082
}
71-
83+
.blue-mode .contributors .heading {
84+
color: white;
85+
}
7286
.dark-mode .contributors .heading:hover {
7387
color: lightgrey;
7488
}
75-
89+
.blue-mode .contributors .heading:hover {
90+
color: lightgrey;
91+
}
7692
.contributors {
7793
margin: 0;
7894
padding: 0;
@@ -81,12 +97,21 @@ body {
8197
.dark-mode .contributors h1 {
8298
color: beige;
8399
}
84-
100+
.blue-mode .contributors h1 {
101+
color: beige;
102+
}
85103
.dark-mode header.header2 {
86104
background-image: none;
87105
background-color: black;
88106
}
89-
107+
.blue-mode header.header2 {
108+
background-image: none;
109+
background-color: blue;
110+
}
111+
.yellow-mode header.header2 {
112+
background-image: none;
113+
background-color: yellow;
114+
}
90115
#contributor {
91116
margin-top: 10px;
92117
display: flex;

0 commit comments

Comments
 (0)