@@ -104,3 +104,35 @@ body.dark-mode .action-btn {
104104body .dark-mode .action-btn : hover {
105105 box-shadow : 0 6px 16px rgba (39 , 174 , 96 , 0.35 );
106106}
107+
108+ # return-btn {
109+ position : absolute; /* 绝对定位 */
110+ top : 20px ; /* 距离顶部 20px */
111+ left : 20px ; /* 距离左侧 20px */
112+ background-color : # f5f7fa ; /* 默认亮色模式背景颜色 */
113+ color : # 333333 ; /* 默认亮色模式文字颜色 */
114+ border : 1px solid # cccccc ; /* 默认亮色模式边框颜色 */
115+ border-radius : 16px ; /* 按钮圆角大小 */
116+ padding : 10px 18px ; /* 按钮内边距 */
117+ font-size : 14px ; /* 按钮字体大小 */
118+ cursor : pointer; /* 鼠标悬停时显示为手型 */
119+ box-shadow : 0 0 10px rgba (0 , 0 , 0 , 0.2 ); /* 按钮阴影 */
120+ transition : background-color 0.3s ease, transform 0.3s ease; /* 背景颜色和缩放的过渡效果 */
121+ z-index : 1001 ; /* 按钮层级 */
122+ }
123+
124+ # return-btn : hover {
125+ background-color : # e0e4e8 ; /* 默认亮色模式悬停背景颜色 */
126+ transform : scale (1.05 ); /* 悬停时放大 5% */
127+ }
128+
129+ /* 暗色模式 */
130+ body .dark-mode # return-btn {
131+ background-color : # 4a4f55 ; /* 更浅的暗色模式背景颜色 */
132+ color : # e0e0e0 ; /* 暗色模式文字颜色 */
133+ border : 1px solid # 555555 ; /* 更浅的暗色模式边框颜色 */
134+ }
135+
136+ body .dark-mode # return-btn : hover {
137+ background-color : # 3b4046 ; /* 更浅的暗色模式悬停背景颜色 */
138+ }
0 commit comments