style: update border-radius and padding values across components

- standardize border-radius from 8px to 6px for consistent styling
- adjust padding values from 1rem to 0.75rem for better visual hierarchy
- remove redundant overflow-y properties for cleaner code
This commit is contained in:
sanbuphy
2026-02-14 20:23:34 +08:00
parent 81e4284b87
commit d35211071a
373 changed files with 3441 additions and 5629 deletions
@@ -250,7 +250,7 @@ function sendRequest() {
background: var(--vp-c-brand);
color: white;
border: none;
border-radius: 8px;
border-radius: 6px;
font-weight: 600;
cursor: pointer;
transition: opacity 0.2s;
@@ -303,7 +303,7 @@ function sendRequest() {
font-family: monospace;
font-size: 12px;
overflow-x: auto;
overflow-y: auto;
max-height: 200px;
margin: 0;
}
@@ -150,7 +150,7 @@ const isHuman = ref(false)
.api-doc {
background: #1e293b;
border-radius: 8px;
border-radius: 6px;
padding: 20px;
color: #e2e8f0;
font-family: monospace;
@@ -237,7 +237,7 @@
.method-examples {
background: var(--vp-c-bg-soft);
padding: 12px;
border-radius: 8px;
border-radius: 6px;
margin-bottom: 12px;
}
@@ -249,7 +249,7 @@
.method-tip {
padding: 10px 12px;
border-radius: 8px;
border-radius: 6px;
font-size: 12px;
line-height: 1.5;
}
@@ -339,7 +339,7 @@ tr:last-child td {
.tips {
background: var(--vp-c-bg);
padding: 16px;
border-radius: 8px;
border-radius: 6px;
font-size: 14px;
line-height: 1.8;
color: var(--vp-c-text-2);
@@ -345,7 +345,7 @@ function sendRequest() {
background: var(--vp-c-brand);
color: white;
border: none;
border-radius: 8px;
border-radius: 6px;
font-weight: 600;
cursor: pointer;
margin-top: 8px;
@@ -415,7 +415,7 @@ function sendRequest() {
padding: 12px;
margin-bottom: 12px;
overflow-x: auto;
overflow-y: auto;
max-height: 180px;
}
@@ -143,7 +143,7 @@ function callApi() {
.response-card {
background: var(--vp-c-bg);
border: 1px solid var(--vp-c-divider);
border-radius: 8px;
border-radius: 6px;
padding: 16px;
animation: slideUp 0.3s ease-out;
}
@@ -349,7 +349,7 @@ async function runDemo() {
background: #1e293b;
color: #e2e8f0;
padding: 12px;
border-radius: 8px;
border-radius: 6px;
font-family: 'Monaco', 'Menlo', monospace;
font-size: 12px;
line-height: 1.6;
@@ -371,7 +371,7 @@ async function runDemo() {
.summary {
background: var(--vp-c-bg-soft);
padding: 16px;
border-radius: 8px;
border-radius: 6px;
font-size: 14px;
line-height: 1.8;
}
@@ -443,7 +443,7 @@ async function runDemo() {
.result-body {
background: #f0fdf4;
border: 2px solid #86efac;
border-radius: 8px;
border-radius: 6px;
padding: 16px;
font-size: 14px;
line-height: 1.6;
@@ -163,7 +163,7 @@ function send() {
padding: 10px 20px;
font-size: 14px;
font-weight: bold;
border-radius: 8px;
border-radius: 6px;
cursor: pointer;
transition: all 0.2s;
}
@@ -183,7 +183,7 @@ function send() {
.result-box {
padding: 12px 16px;
border-radius: 8px;
border-radius: 6px;
font-size: 14px;
font-weight: 500;
}