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 7: | Line 7: | ||
} | } | ||
/* Header */ | /* Tightened Header Design */ | ||
.simple-header { | .simple-header { | ||
background: #f8fafc; | background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%); | ||
border: 1px solid #e2e8f0; | |||
border-left: 4px solid #2c5530; | |||
border-radius: 8px; | border-radius: 8px; | ||
padding: 1.5rem; | |||
margin-bottom: 2rem; | margin-bottom: 2rem; | ||
} | |||
/* Main title row */ | |||
.header-main { | |||
display: flex; | |||
justify-content: space-between; | |||
align-items: flex-start; | |||
margin-bottom: 1rem; | |||
flex-wrap: wrap; | |||
gap: 1rem; | |||
} | |||
.header-title-group { | |||
flex: 1; | |||
min-width: 300px; | |||
} | } | ||
.simple-title { | .simple-title { | ||
font-size: | font-size: 1.75rem; | ||
margin: 0 0 0. | font-weight: 600; | ||
margin: 0 0 0.25rem 0; | |||
color: #1e293b; | color: #1e293b; | ||
line-height: 1.2; | |||
} | } | ||
. | .accession-id { | ||
font-family: monospace; | font-family: 'Monaco', 'Menlo', 'Consolas', monospace; | ||
font-size: | font-size: 0.875rem; | ||
color: #64748b; | color: #64748b; | ||
background: white; | background: white; | ||
padding: 0. | padding: 0.25rem 0.75rem; | ||
border-radius: 4px; | border-radius: 4px; | ||
border: 1px solid #e2e8f0; | |||
display: inline-block; | display: inline-block; | ||
} | |||
/* Status badges */ | |||
.header-badges { | |||
display: flex; | |||
flex-direction: column; | |||
gap: 0.5rem; | |||
align-items: flex-end; | |||
} | |||
.status-badge { | |||
padding: 0.25rem 0.75rem; | |||
border-radius: 20px; | |||
font-size: 0.75rem; | |||
font-weight: 500; | |||
text-transform: uppercase; | |||
letter-spacing: 0.5px; | |||
} | |||
.status-active { | |||
background: #dcfce7; | |||
color: #166534; | |||
border: 1px solid #bbf7d0; | |||
} | |||
.status-tier1 { | |||
background: #dbeafe; | |||
color: #1e40af; | |||
border: 1px solid #93c5fd; | |||
} | |||
.status-high-priority { | |||
background: #fef3c7; | |||
color: #92400e; | |||
border: 1px solid #fbbf24; | |||
} | |||
/* Geographic breadcrumb */ | |||
.geo-breadcrumb { | |||
background: white; | |||
border: 1px solid #e2e8f0; | |||
border-radius: 6px; | |||
padding: 0.75rem 1rem; | |||
margin-bottom: 1rem; | |||
} | |||
.geo-breadcrumb h4 { | |||
margin: 0 0 0.5rem 0; | |||
font-size: 0.875rem; | |||
color: #64748b; | |||
text-transform: uppercase; | |||
letter-spacing: 0.5px; | |||
font-weight: 500; | |||
} | |||
.breadcrumb-trail { | |||
font-size: 0.9rem; | |||
color: #374151; | |||
line-height: 1.4; | |||
} | |||
.breadcrumb-trail .separator { | |||
color: #9ca3af; | |||
margin: 0 0.5rem; | |||
} | |||
.breadcrumb-trail .level { | |||
color: #2c5530; | |||
font-weight: 500; | |||
} | |||
/* Key details row */ | |||
.header-details { | |||
display: grid; | |||
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); | |||
gap: 1rem; | |||
background: white; | |||
border: 1px solid #e2e8f0; | |||
border-radius: 6px; | |||
padding: 1rem; | |||
} | |||
.detail-item { | |||
text-align: center; | |||
} | |||
.detail-label { | |||
font-size: 0.75rem; | |||
color: #64748b; | |||
text-transform: uppercase; | |||
letter-spacing: 0.5px; | |||
margin-bottom: 0.25rem; | |||
font-weight: 500; | |||
} | |||
.detail-value { | |||
font-size: 0.9rem; | |||
color: #1e293b; | |||
font-weight: 600; | |||
} | |||
/* Mobile responsive */ | |||
@media (max-width: 768px) { | |||
.header-main { | |||
flex-direction: column; | |||
align-items: stretch; | |||
} | |||
.header-badges { | |||
flex-direction: row; | |||
justify-content: flex-start; | |||
flex-wrap: wrap; | |||
} | |||
.simple-title { | |||
font-size: 1.5rem; | |||
} | |||
.header-details { | |||
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); | |||
gap: 0.75rem; | |||
padding: 0.75rem; | |||
} | |||
} | |||
@media (max-width: 480px) { | |||
.simple-header { | |||
padding: 1rem; | |||
} | |||
.header-details { | |||
grid-template-columns: 1fr 1fr; | |||
} | |||
.breadcrumb-trail { | |||
font-size: 0.8rem; | |||
} | |||
} | } | ||
Revision as of 04:33, 17 September 2025
/* Template:Accession/styles.css - Complete Fixed Version */
.accession-simple {
max-width: 1200px;
margin: 0 auto;
padding: 1rem;
}
/* Tightened Header Design */
.simple-header {
background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
border: 1px solid #e2e8f0;
border-left: 4px solid #2c5530;
border-radius: 8px;
padding: 1.5rem;
margin-bottom: 2rem;
}
/* Main title row */
.header-main {
display: flex;
justify-content: space-between;
align-items: flex-start;
margin-bottom: 1rem;
flex-wrap: wrap;
gap: 1rem;
}
.header-title-group {
flex: 1;
min-width: 300px;
}
.simple-title {
font-size: 1.75rem;
font-weight: 600;
margin: 0 0 0.25rem 0;
color: #1e293b;
line-height: 1.2;
}
.accession-id {
font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
font-size: 0.875rem;
color: #64748b;
background: white;
padding: 0.25rem 0.75rem;
border-radius: 4px;
border: 1px solid #e2e8f0;
display: inline-block;
}
/* Status badges */
.header-badges {
display: flex;
flex-direction: column;
gap: 0.5rem;
align-items: flex-end;
}
.status-badge {
padding: 0.25rem 0.75rem;
border-radius: 20px;
font-size: 0.75rem;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.status-active {
background: #dcfce7;
color: #166534;
border: 1px solid #bbf7d0;
}
.status-tier1 {
background: #dbeafe;
color: #1e40af;
border: 1px solid #93c5fd;
}
.status-high-priority {
background: #fef3c7;
color: #92400e;
border: 1px solid #fbbf24;
}
/* Geographic breadcrumb */
.geo-breadcrumb {
background: white;
border: 1px solid #e2e8f0;
border-radius: 6px;
padding: 0.75rem 1rem;
margin-bottom: 1rem;
}
.geo-breadcrumb h4 {
margin: 0 0 0.5rem 0;
font-size: 0.875rem;
color: #64748b;
text-transform: uppercase;
letter-spacing: 0.5px;
font-weight: 500;
}
.breadcrumb-trail {
font-size: 0.9rem;
color: #374151;
line-height: 1.4;
}
.breadcrumb-trail .separator {
color: #9ca3af;
margin: 0 0.5rem;
}
.breadcrumb-trail .level {
color: #2c5530;
font-weight: 500;
}
/* Key details row */
.header-details {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1rem;
background: white;
border: 1px solid #e2e8f0;
border-radius: 6px;
padding: 1rem;
}
.detail-item {
text-align: center;
}
.detail-label {
font-size: 0.75rem;
color: #64748b;
text-transform: uppercase;
letter-spacing: 0.5px;
margin-bottom: 0.25rem;
font-weight: 500;
}
.detail-value {
font-size: 0.9rem;
color: #1e293b;
font-weight: 600;
}
/* Mobile responsive */
@media (max-width: 768px) {
.header-main {
flex-direction: column;
align-items: stretch;
}
.header-badges {
flex-direction: row;
justify-content: flex-start;
flex-wrap: wrap;
}
.simple-title {
font-size: 1.5rem;
}
.header-details {
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 0.75rem;
padding: 0.75rem;
}
}
@media (max-width: 480px) {
.simple-header {
padding: 1rem;
}
.header-details {
grid-template-columns: 1fr 1fr;
}
.breadcrumb-trail {
font-size: 0.8rem;
}
}
/* 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;
}
}