Spaces:
Running
Delete style.css
Browse files/* Base Reset & Typography */
body {
padding: 2rem;
font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
background-color: #f9f9f9;
color: #1a1a1a;
line-height: 1.6;
}
/* Headings */
h1 {
font-size: 20px;
margin-top: 0;
color: #111827;
}
/* Paragraph */
p {
color: rgb(107, 114, 128);
font-size: 15px;
margin-bottom: 10px;
margin-top: 5px;
}
/* Card Component */
.card {
max-width: 620px;
margin: 0 auto;
padding: 16px;
border: 1px solid #d1d5db;
border-radius: 16px;
background-color: #ffffff;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.card p:last-child {
margin-bottom: 0;
}
/* Input Controls */
input[type="text"],
textarea,
select,
button {
font-size: 16px;
padding: 10px 12px;
margin-top: 10px;
border: 1px solid #ccc;
border-radius: 8px;
width: 100%;
box-sizing: border-box;
transition: border-color 0.2s, box-shadow 0.2s;
}
input:focus,
textarea:focus,
select:focus {
border-color: #3b82f6;
box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
outline: none;
}
button {
background-color: #3b82f6;
color: white;
border: none;
cursor: pointer;
}
button:hover {
background-color: #2563eb;
}
/* Responsive Design for Android (Mobile) */
@media
(max-width: 600px) {
body {
padding: 1rem;
}
h1 {
font-size: 18px;
}
.card {
padding: 12px;
border-radius: 12px;
}
input,
textarea,
button {
font-size: 16px;
}
}
/* Additional Styles for Desktop (PC) */
@media
(min-width: 601px) {
h1 {
font-size: 24px;
}
.card {
padding: 24px;
}
input,
textarea,
button {
font-size: 18px;
}
}
|
@@ -1,28 +0,0 @@
|
|
| 1 |
-
body {
|
| 2 |
-
padding: 2rem;
|
| 3 |
-
font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
|
| 4 |
-
}
|
| 5 |
-
|
| 6 |
-
h1 {
|
| 7 |
-
font-size: 16px;
|
| 8 |
-
margin-top: 0;
|
| 9 |
-
}
|
| 10 |
-
|
| 11 |
-
p {
|
| 12 |
-
color: rgb(107, 114, 128);
|
| 13 |
-
font-size: 15px;
|
| 14 |
-
margin-bottom: 10px;
|
| 15 |
-
margin-top: 5px;
|
| 16 |
-
}
|
| 17 |
-
|
| 18 |
-
.card {
|
| 19 |
-
max-width: 620px;
|
| 20 |
-
margin: 0 auto;
|
| 21 |
-
padding: 16px;
|
| 22 |
-
border: 1px solid lightgray;
|
| 23 |
-
border-radius: 16px;
|
| 24 |
-
}
|
| 25 |
-
|
| 26 |
-
.card p:last-child {
|
| 27 |
-
margin-bottom: 0;
|
| 28 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|