Files
harmonica-tabs-image-app/src/index.css

159 lines
2.4 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family:
-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu",
"Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
code {
font-family: "Courier New", monospace;
}
/* Utility Classes */
.container {
max-width: 1200px;
margin: 0 auto;
padding: 2rem;
}
.gradient-bg {
background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 100%);
min-height: 100vh;
}
.card {
background: white;
border-radius: 0.5rem;
box-shadow:
0 4px 6px -1px rgba(0, 0, 0, 0.1),
0 2px 4px -1px rgba(0, 0, 0, 0.06);
padding: 1.5rem;
margin-bottom: 2rem;
}
.title {
font-size: 2.25rem;
font-weight: 700;
color: #1f2937;
margin-bottom: 0.5rem;
}
.subtitle {
font-size: 1rem;
color: #6b7280;
margin-bottom: 2rem;
}
.section-title {
font-size: 1.25rem;
font-weight: 600;
color: #374151;
margin-bottom: 1rem;
}
.textarea {
width: 100%;
min-height: 250px;
padding: 1rem;
border: 2px solid #d1d5db;
border-radius: 0.5rem;
font-family: "Courier New", monospace;
font-size: 0.875rem;
resize: vertical;
transition: border-color 0.2s;
}
.textarea:focus {
outline: none;
border-color: #6366f1;
}
.button-group {
display: flex;
gap: 0.75rem;
margin-top: 1rem;
}
.button {
flex: 1;
padding: 0.75rem 1.5rem;
font-weight: 600;
border: none;
border-radius: 0.5rem;
cursor: pointer;
transition: all 0.2s;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.button-primary {
background-color: #6366f1;
color: white;
}
.button-primary:hover {
background-color: #4f46e5;
}
.button-secondary {
background-color: #9333ea;
color: white;
}
.button-secondary:hover {
background-color: #7e22ce;
}
.preview-container {
border: 2px solid #e5e7eb;
border-radius: 0.5rem;
background-color: #f9fafb;
padding: 1rem;
overflow: auto;
max-height: 600px;
}
.tip {
margin-top: 1rem;
font-size: 0.875rem;
color: #6b7280;
}
.instructions {
list-style: none;
}
.instruction-item {
display: flex;
align-items: flex-start;
margin-bottom: 0.75rem;
color: #4b5563;
}
.instruction-number {
color: #6366f1;
font-weight: 700;
margin-right: 0.5rem;
flex-shrink: 0;
}
@media (max-width: 768px) {
.container {
padding: 1rem;
}
.title {
font-size: 1.75rem;
}
.button-group {
flex-direction: column;
}
}