Spaces:
Running
Running
Update assets/css/custom_style.css
Browse files- assets/css/custom_style.css +13 -0
assets/css/custom_style.css
CHANGED
|
@@ -92,6 +92,18 @@ input[type='radio'] { visibility: hidden; display: none; }
|
|
| 92 |
}
|
| 93 |
|
| 94 |
.example-selector {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 95 |
margin-bottom: 20px;
|
| 96 |
}
|
| 97 |
|
|
@@ -105,6 +117,7 @@ input[type='radio'] { visibility: hidden; display: none; }
|
|
| 105 |
color: white;
|
| 106 |
transition: background-color 0.3s;
|
| 107 |
}
|
|
|
|
| 108 |
|
| 109 |
.example-selector button:hover {
|
| 110 |
background-color: #0056b3;
|
|
|
|
| 92 |
}
|
| 93 |
|
| 94 |
.example-selector {
|
| 95 |
+
display: flex;
|
| 96 |
+
flex-direction: column; /* 垂直排列 */
|
| 97 |
+
gap: 10px; /* 设置按钮之间的间距 */
|
| 98 |
+
}
|
| 99 |
+
.example-selector button {
|
| 100 |
+
width: 100%; /* 让按钮宽度占满容器 */
|
| 101 |
+
padding: 10px; /* 增加按钮的内边距 */
|
| 102 |
+
font-size: 16px; /* 设置字体大小 */
|
| 103 |
+
text-align: left; /* 文本左对齐 */
|
| 104 |
+
}
|
| 105 |
+
|
| 106 |
+
/*.example-selector {
|
| 107 |
margin-bottom: 20px;
|
| 108 |
}
|
| 109 |
|
|
|
|
| 117 |
color: white;
|
| 118 |
transition: background-color 0.3s;
|
| 119 |
}
|
| 120 |
+
*/
|
| 121 |
|
| 122 |
.example-selector button:hover {
|
| 123 |
background-color: #0056b3;
|