diff --git a/src/main/webapp/index.xhtml b/src/main/webapp/index.xhtml index dd8449c..d011908 100644 --- a/src/main/webapp/index.xhtml +++ b/src/main/webapp/index.xhtml @@ -8,47 +8,111 @@ User Information - My Portfolio +
- -
- -

- -

-
-

- Introduction: - -

-
-
-

- Interests: - -

-
-
-

- Experiences: - -

-
-
-

- Skills: - -

-
-
-

- Career Goals: - -

-
-
+ + +
+ + +

+ +

+
+

+ Introduction: + +

+
+
+

+ Interests: + +

+
+
+

+ Experiences: + +

+
+
+

+ Skills: + +

+
+
+

+ Career Goals: + +

+
+ +
+ +
+ +

Click to go to the project page

diff --git a/src/main/webapp/resources/css/styles.css b/src/main/webapp/resources/css/styles.css index cca8795..034c2b4 100644 --- a/src/main/webapp/resources/css/styles.css +++ b/src/main/webapp/resources/css/styles.css @@ -201,7 +201,7 @@ footer { } /* 通用样式 */ -.project-form { +.project-form, #user-info-edit { font-family: Arial, sans-serif; background-color: #f9f9f9; padding: 20px; @@ -211,7 +211,7 @@ footer { margin: 20px auto; } -.project-form h2 { +.project-form h2, #user-info-edit h2 { text-align: center; color: #333; margin-bottom: 20px; @@ -284,7 +284,7 @@ footer { } /* 保存按钮样式 */ -#saveButton { +#saveButton,.saveButton { background-color: #007bff; color: white; border: none; @@ -321,4 +321,42 @@ footer { margin-bottom: 15px; /* 底部外边距 */ text-align: justify; /* 文本对齐 */ color: #555; /* 文字颜色 */ +} + +.edit-button { + background-color: #4CAF50; /* 绿色背景 */ + color: white; /* 白色文字 */ + border: none; /* 无边框 */ + padding: 10px 20px; /* 内边距 */ + text-align: center; /* 文字居中 */ + text-decoration: none; /* 无下划线 */ + display: inline-block; /* 行内块 */ + font-size: 16px; /* 字体大小 */ + margin: 4px 2px; /* 外边距 */ + cursor: pointer; /* 鼠标指针 */ + border-radius: 4px; /* 圆角 */ + transition: background-color 0.3s; /* 背景色过渡效果 */ +} + +.edit-button:hover { + background-color: #45a049; /* 悬停时背景颜色 */ +} + +.cancel-button { + background-color: #ffffff; /* 红色背景 */ + color: #000000; /* 黑色文字 */ + border: none; /* 无边框 */ + padding: 10px 20px; /* 内边距 */ + text-align: center; /* 文字居中 */ + text-decoration: none; /* 无下划线 */ + display: inline-block; /* 行内块 */ + font-size: 16px; /* 字体大小 */ + margin: 4px 2px; /* 外边距 */ + cursor: pointer; /* 鼠标指针 */ + border-radius: 4px; /* 圆角 */ + transition: background-color 0.3s; /* 背景色过渡效果 */ +} + +.cancel-button:hover { + background-color: #d2d2d2; /* 悬停时背景颜色 */ } \ No newline at end of file