Template:Accession/styles.css
Template page
More actions
/* Template:Accession/styles.css - Complete Fixed Version */
.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-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 1.25rem;
}
.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;
}
/* Environmental Context Section */
.environmental-section {
background: linear-gradient(135deg, #f0f9ff 0%, #dbeafe 100%);
border-radius: 12px;
padding: 2rem;
margin-bottom: 2rem;
border: 1px solid #93c5fd;
}
.environmental-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 1.25rem;
}
.environmental-card {
background: white;
border: 1px solid #bfdbfe;
border-radius: 8px;
padding: 1.25rem;
box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
transition: transform 0.2s ease;
}
.environmental-card:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}
.environmental-card h4 {
margin: 0 0 1rem 0;
color: #1e40af;
font-size: 1rem;
font-weight: 600;
border-bottom: 1px solid #bfdbfe;
padding-bottom: 0.5rem;
}
.environmental-card p {
margin: 0.4rem 0;
font-size: 0.85rem;
line-height: 1.4;
}
.environmental-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, .environmental-grid {
grid-template-columns: 1fr;
}
.simple-header {
padding: 1rem;
}
.simple-title {
font-size: 1.5rem;
}
.botanical-section, .environmental-section {
padding: 1.5rem;
}
}
@media (max-width: 480px) {
.botanical-card, .environmental-card {
padding: 1rem;
}
.botanical-card p strong, .environmental-card p strong {
min-width: 70px;
}
}