Template:Accession/styles.css: Difference between revisions
Template page
More actions
Eloise Zomia (talk | contribs) No edit summary |
Eloise Zomia (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
/* Template:Accession/styles.css - | /* Template:Accession/styles.css - Phase 1 Expansion (Corrected) */ | ||
.accession-simple { | .accession-simple { | ||
| Line 32: | Line 32: | ||
} | } | ||
/* Grid Layout */ | /* Basic Grid Layout */ | ||
.simple-grid { | .simple-grid { | ||
display: grid; | display: grid; | ||
| Line 40: | Line 40: | ||
} | } | ||
/* Cards */ | /* Basic Cards */ | ||
.simple-card { | .simple-card { | ||
background: white; | background: white; | ||
| Line 67: | Line 67: | ||
display: inline-block; | display: inline-block; | ||
min-width: 80px; | min-width: 80px; | ||
} | |||
/* Botanical Description Section */ | |||
.botanical-section { | |||
background: linear-gradient(135deg, #f0fff4 0%, #dcfce7 100%); | |||
border-radius: 12px; | |||
padding: 2rem; | |||
margin-bottom: 2rem; | |||
border: 1px solid #bbf7d0; | |||
} | |||
.botanical-section h2 { | |||
margin: 0 0 1.5rem 0; | |||
color: #166534; | |||
font-size: 1.5rem; | |||
text-align: center; | |||
border-bottom: 2px solid #22c55e; | |||
padding-bottom: 0.5rem; | |||
} | |||
/* Botanical Grid */ | |||
.botanical-grid { | |||
display: grid; | |||
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); | |||
gap: 1.25rem; | |||
} | |||
/* Botanical Cards */ | |||
.botanical-card { | |||
background: white; | |||
border: 1px solid #d1fae5; | |||
border-radius: 8px; | |||
padding: 1.25rem; | |||
box-shadow: 0 2px 8px rgba(34, 197, 94, 0.1); | |||
transition: transform 0.2s ease; | |||
} | |||
.botanical-card:hover { | |||
transform: translateY(-2px); | |||
box-shadow: 0 4px 12px rgba(34, 197, 94, 0.15); | |||
} | |||
.botanical-card h4 { | |||
margin: 0 0 1rem 0; | |||
color: #15803d; | |||
font-size: 1rem; | |||
font-weight: 600; | |||
border-bottom: 1px solid #d1fae5; | |||
padding-bottom: 0.5rem; | |||
} | |||
.botanical-card p { | |||
margin: 0.4rem 0; | |||
font-size: 0.85rem; | |||
line-height: 1.4; | |||
} | |||
.botanical-card p strong { | |||
color: #374151; | |||
display: inline-block; | |||
min-width: 90px; | |||
font-weight: 500; | |||
} | } | ||
| Line 93: | Line 155: | ||
@media (max-width: 768px) { | @media (max-width: 768px) { | ||
.simple-grid { | .simple-grid { | ||
grid-template-columns: 1fr; | |||
} | |||
.botanical-grid { | |||
grid-template-columns: 1fr; | grid-template-columns: 1fr; | ||
} | } | ||
| Line 102: | Line 168: | ||
.simple-title { | .simple-title { | ||
font-size: 1.5rem; | font-size: 1.5rem; | ||
} | |||
.botanical-section { | |||
padding: 1.5rem; | |||
} | |||
} | |||
@media (max-width: 480px) { | |||
.botanical-card { | |||
padding: 1rem; | |||
} | |||
.botanical-card p strong { | |||
min-width: 70px; | |||
} | } | ||
} | } | ||
Revision as of 10:53, 16 September 2025
/* Template:Accession/styles.css - Phase 1 Expansion (Corrected) */
.accession-simple {
max-width: 1200px;
margin: 0 auto;
padding: 1rem;
}
/* Header */
.simple-header {
background: #f8fafc;
padding: 2rem;
border-radius: 8px;
margin-bottom: 2rem;
border-left: 4px solid #2c5530;
}
.simple-title {
font-size: 2rem;
margin: 0 0 0.5rem 0;
color: #1e293b;
}
.simple-subtitle {
font-family: monospace;
font-size: 1rem;
color: #64748b;
background: white;
padding: 0.5rem 1rem;
border-radius: 4px;
display: inline-block;
}
/* Basic Grid Layout */
.simple-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 1.5rem;
margin-bottom: 2rem;
}
/* Basic Cards */
.simple-card {
background: white;
border: 1px solid #e2e8f0;
border-radius: 8px;
padding: 1.5rem;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.simple-card h3 {
margin: 0 0 1rem 0;
color: #2c5530;
font-size: 1.1rem;
border-bottom: 1px solid #e2e8f0;
padding-bottom: 0.5rem;
}
.simple-card p {
margin: 0.5rem 0;
font-size: 0.9rem;
line-height: 1.4;
}
.simple-card p strong {
color: #475569;
display: inline-block;
min-width: 80px;
}
/* Botanical Description Section */
.botanical-section {
background: linear-gradient(135deg, #f0fff4 0%, #dcfce7 100%);
border-radius: 12px;
padding: 2rem;
margin-bottom: 2rem;
border: 1px solid #bbf7d0;
}
.botanical-section h2 {
margin: 0 0 1.5rem 0;
color: #166534;
font-size: 1.5rem;
text-align: center;
border-bottom: 2px solid #22c55e;
padding-bottom: 0.5rem;
}
/* Botanical Grid */
.botanical-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 1.25rem;
}
/* Botanical Cards */
.botanical-card {
background: white;
border: 1px solid #d1fae5;
border-radius: 8px;
padding: 1.25rem;
box-shadow: 0 2px 8px rgba(34, 197, 94, 0.1);
transition: transform 0.2s ease;
}
.botanical-card:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(34, 197, 94, 0.15);
}
.botanical-card h4 {
margin: 0 0 1rem 0;
color: #15803d;
font-size: 1rem;
font-weight: 600;
border-bottom: 1px solid #d1fae5;
padding-bottom: 0.5rem;
}
.botanical-card p {
margin: 0.4rem 0;
font-size: 0.85rem;
line-height: 1.4;
}
.botanical-card p strong {
color: #374151;
display: inline-block;
min-width: 90px;
font-weight: 500;
}
/* Coordinates */
.simple-coords {
background: #f1f5f9;
padding: 1.5rem;
border-radius: 8px;
text-align: center;
}
.simple-coords h3 {
margin: 0 0 0.5rem 0;
color: #2c5530;
}
.simple-coords p {
font-family: monospace;
font-size: 1.1rem;
font-weight: bold;
color: #1e293b;
margin: 0;
}
/* Mobile Responsive */
@media (max-width: 768px) {
.simple-grid {
grid-template-columns: 1fr;
}
.botanical-grid {
grid-template-columns: 1fr;
}
.simple-header {
padding: 1rem;
}
.simple-title {
font-size: 1.5rem;
}
.botanical-section {
padding: 1.5rem;
}
}
@media (max-width: 480px) {
.botanical-card {
padding: 1rem;
}
.botanical-card p strong {
min-width: 70px;
}
}