Template:Main Page/styles.css: Difference between revisions
Template page
More actions
No edit summary |
No edit summary |
||
Line 125: | Line 125: | ||
} | } | ||
/* Section grid layout */ | /* Section grid layout for database, cybersecurity, and career sections */ | ||
.mp-section-grid { | .mp-section-grid { | ||
display: grid; | display: grid; | ||
grid-template-columns: repeat(3, 1fr); | grid-template-columns: repeat(3, 1fr); | ||
gap: 1em; | gap: 1em; | ||
} | } | ||
Line 167: | Line 160: | ||
font-size: 0.9em; | font-size: 0.9em; | ||
} | } | ||
@media (max-width: 768px) { | |||
.mp-section-grid { | |||
grid-template-columns: 1fr; | |||
} | |||
} | |||
/* BEGIN ALL REMAINING CSS FROM THE ORIGINAL FILE */ | |||
/* General page styling */ | |||
.MainPageBG { | |||
width: 100%; | |||
border: 1px solid #f0f0f0; | |||
} | |||
#mp-upper { | |||
display: flex; | |||
} | |||
#mp-left { | |||
flex: 1; | |||
margin-right: 0.5em; | |||
} | |||
#mp-right { | |||
flex: 1; | |||
margin-left: 0.5em; | |||
} | |||
/* Column containers */ | |||
.hlist-separated ul { | |||
margin: 0; | |||
} | |||
.hlist-separated li { | |||
display: inline-block; | |||
} | |||
.hlist-separated li:after { | |||
content: '•'; | |||
margin: 0 0.5em; | |||
color: #aaa; | |||
} | |||
.hlist-separated li:last-child:after { | |||
content: ''; | |||
margin: 0; | |||
} | |||
/* Featured content boxes */ | |||
.main-box { | |||
padding: 1em; | |||
background-color: #ffffff; | |||
border-radius: 3px; | |||
margin-bottom: 1em; | |||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); | |||
} | |||
.feature-box { | |||
background: #f9f9f9; | |||
padding: 1em; | |||
margin-bottom: 1em; | |||
border-left: 3px solid #36c; | |||
border-radius: 0 3px 3px 0; | |||
} | |||
.feature-box h3 { | |||
margin-top: 0; | |||
color: #36c; | |||
} | |||
/* Topic grid */ | |||
.topic-grid { | |||
display: grid; | |||
grid-template-columns: repeat(3, 1fr); | |||
gap: 1em; | |||
} | |||
.topic-card { | |||
background: #fff; | |||
padding: 1em; | |||
border-radius: 3px; | |||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); | |||
transition: transform 0.2s ease, box-shadow 0.2s ease; | |||
} | |||
.topic-card:hover { | |||
transform: translateY(-2px); | |||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); | |||
} | |||
.topic-card h3 { | |||
margin-top: 0; | |||
border-bottom: 1px solid #eaecf0; | |||
padding-bottom: 0.5em; | |||
font-weight: 500; | |||
} | |||
/* News section */ | |||
.news-item { | |||
margin-bottom: 1em; | |||
padding-bottom: 1em; | |||
border-bottom: 1px solid #eaecf0; | |||
} | |||
.news-item:last-child { | |||
border-bottom: none; | |||
margin-bottom: 0; | |||
padding-bottom: 0; | |||
} | |||
.news-date { | |||
color: #72777d; | |||
font-size: 0.9em; | |||
} | |||
/* Additional utility classes */ | |||
.text-center { | |||
text-align: center; | |||
} | |||
.text-muted { | |||
color: #72777d; | |||
} | |||
.mb-2 { | |||
margin-bottom: 0.5em; | |||
} | |||
.mb-3 { | |||
margin-bottom: 1em; | |||
} | |||
.p-2 { | |||
padding: 0.5em; | |||
} | |||
.p-3 { | |||
padding: 1em; | |||
} | |||
/* Category links */ | |||
.category-links { | |||
background: #f8f9fa; | |||
padding: 0.7em; | |||
border-radius: 3px; | |||
margin-top: 1em; | |||
} | |||
.category-links h3 { | |||
margin-top: 0; | |||
font-size: 1.1em; | |||
color: #54595d; | |||
} | |||
.category-links ul { | |||
margin: 0; | |||
padding: 0; | |||
list-style: none; | |||
columns: 3; | |||
} | |||
.category-links li { | |||
margin-bottom: 0.3em; | |||
break-inside: avoid; | |||
} | |||
/* Responsive layout */ | |||
@media (max-width: 768px) { | |||
#mp-upper { | |||
flex-direction: column; | |||
} | |||
#mp-left, #mp-right { | |||
margin: 0 0 1em 0; | |||
width: 100%; | |||
} | |||
.topic-grid { | |||
grid-template-columns: 1fr; | |||
} | |||
.category-links ul { | |||
columns: 1; | |||
} | |||
} | |||
/* Color themes */ | |||
.theme-blue { | |||
border-top: 3px solid #36c; | |||
} | |||
.theme-green { | |||
border-top: 3px solid #00af89; | |||
} | |||
.theme-red { | |||
border-top: 3px solid #d33; | |||
} | |||
.theme-purple { | |||
border-top: 3px solid #6b4ba1; | |||
} | |||
.theme-orange { | |||
border-top: 3px solid #ff5d00; | |||
} | |||
/* Badge styles */ | |||
.badge { | |||
display: inline-block; | |||
padding: 0.25em 0.6em; | |||
font-size: 0.8em; | |||
font-weight: bold; | |||
border-radius: 2em; | |||
margin-left: 0.5em; | |||
} | |||
.badge-blue { | |||
background-color: #36c; | |||
color: white; | |||
} | |||
.badge-green { | |||
background-color: #00af89; | |||
color: white; | |||
} | |||
.badge-red { | |||
background-color: #d33; | |||
color: white; | |||
} | |||
/* Button styles */ | |||
.btn { | |||
display: inline-block; | |||
padding: 0.5em 1em; | |||
border-radius: 3px; | |||
text-decoration: none; | |||
font-weight: 500; | |||
transition: background-color 0.2s ease; | |||
} | |||
.btn-primary { | |||
background-color: #36c; | |||
color: white; | |||
} | |||
.btn-primary:hover { | |||
background-color: #447ff5; | |||
text-decoration: none; | |||
color: white; | |||
} | |||
.btn-outline { | |||
background-color: transparent; | |||
border: 1px solid #36c; | |||
color: #36c; | |||
} | |||
.btn-outline:hover { | |||
background-color: #eaf3ff; | |||
text-decoration: none; | |||
} | |||
/* Featured image */ | |||
.featured-image { | |||
margin: 1em 0; | |||
} | |||
.featured-image img { | |||
max-width: 100%; | |||
height: auto; | |||
border-radius: 3px; | |||
} | |||
.image-caption { | |||
font-size: 0.9em; | |||
color: #54595d; | |||
text-align: center; | |||
margin-top: 0.5em; | |||
} | |||
/* Quote box */ | |||
.quote-box { | |||
font-family: 'Georgia', serif; | |||
font-style: italic; | |||
padding: 1em 1.5em; | |||
margin: 1em 0; | |||
background-color: #f8f9fa; | |||
border-left: 3px solid #c8ccd1; | |||
} | |||
.quote-source { | |||
display: block; | |||
text-align: right; | |||
font-style: normal; | |||
font-size: 0.9em; | |||
margin-top: 0.5em; | |||
} | |||
/* Progress indicators */ | |||
.progress-bar { | |||
width: 100%; | |||
background-color: #eaecf0; | |||
height: 0.8em; | |||
border-radius: 0.4em; | |||
overflow: hidden; | |||
margin: 0.5em 0; | |||
} | |||
.progress-fill { | |||
height: 100%; | |||
background-color: #36c; | |||
} | |||
/* Card layout */ | |||
.card { | |||
background: white; | |||
border-radius: 3px; | |||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); | |||
padding: 1em; | |||
margin-bottom: 1em; | |||
} | |||
.card-header { | |||
border-bottom: 1px solid #eaecf0; | |||
padding-bottom: 0.5em; | |||
margin-bottom: 0.5em; | |||
} | |||
.card-title { | |||
margin: 0; | |||
font-weight: 500; | |||
} | |||
.card-footer { | |||
border-top: 1px solid #eaecf0; | |||
padding-top: 0.5em; | |||
margin-top: 0.5em; | |||
text-align: right; | |||
} | |||
/* Timeline */ | |||
.timeline { | |||
position: relative; | |||
margin: 1em 0 1em 1em; | |||
} | |||
.timeline:before { | |||
content: ''; | |||
position: absolute; | |||
left: 0; | |||
top: 0; | |||
height: 100%; | |||
width: 2px; | |||
background: #eaecf0; | |||
} | |||
.timeline-item { | |||
position: relative; | |||
padding-left: 1.5em; | |||
margin-bottom: 1em; | |||
} | |||
.timeline-item:before { | |||
content: ''; | |||
position: absolute; | |||
left: -5px; | |||
top: 0.5em; | |||
width: 12px; | |||
height: 12px; | |||
background: white; | |||
border: 2px solid #36c; | |||
border-radius: 50%; | |||
} | |||
.timeline-date { | |||
font-weight: bold; | |||
margin-bottom: 0.3em; | |||
} | |||
/* Tab navigation */ | |||
.tab-nav { | |||
display: flex; | |||
border-bottom: 1px solid #eaecf0; | |||
margin-bottom: 1em; | |||
} | |||
.tab-item { | |||
padding: 0.5em 1em; | |||
cursor: pointer; | |||
border-bottom: 2px solid transparent; | |||
margin-right: 1em; | |||
} | |||
.tab-item.active { | |||
border-bottom-color: #36c; | |||
font-weight: bold; | |||
} | |||
/* Alert boxes */ | |||
.alert { | |||
padding: 0.75em 1em; | |||
border-radius: 3px; | |||
margin: 1em 0; | |||
} | |||
.alert-info { | |||
background-color: #eaf3ff; | |||
border-left: 3px solid #36c; | |||
} | |||
.alert-success { | |||
background-color: #f3fff8; | |||
border-left: 3px solid #00af89; | |||
} | |||
.alert-warning { | |||
background-color: #fef6e7; | |||
border-left: 3px solid #ff5d00; | |||
} | |||
.alert-danger { | |||
background-color: #fee7e6; | |||
border-left: 3px solid #d33; | |||
} | |||
/* Stats counter */ | |||
.stats-counter { | |||
display: flex; | |||
justify-content: space-around; | |||
text-align: center; | |||
margin: 1em 0; | |||
} | |||
.stats-item { | |||
padding: 0.5em; | |||
} | |||
.stats-number { | |||
font-size: 1.5em; | |||
font-weight: bold; | |||
display: block; | |||
margin-bottom: 0.2em; | |||
} | |||
.stats-label { | |||
color: #54595d; | |||
font-size: 0.9em; | |||
} | |||
/* Feature list */ | |||
.feature-list { | |||
list-style: none; | |||
padding: 0; | |||
margin: 1em 0; | |||
} | |||
.feature-list li { | |||
padding-left: 1.5em; | |||
position: relative; | |||
margin-bottom: 0.5em; | |||
} | |||
.feature-list li:before { | |||
content: '✓'; | |||
position: absolute; | |||
left: 0; | |||
color: #00af89; | |||
font-weight: bold; | |||
} | |||
/* Image grid */ | |||
.image-grid { | |||
display: grid; | |||
grid-template-columns: repeat(3, 1fr); | |||
gap: 1em; | |||
margin: 1em 0; | |||
} | |||
.image-grid-item img { | |||
width: 100%; | |||
height: auto; | |||
border-radius: 3px; | |||
} | |||
@media (max-width: 768px) { | |||
.image-grid { | |||
grid-template-columns: repeat(2, 1fr); | |||
} | |||
} | |||
/* Collapsible sections */ | |||
.collapsible-header { | |||
background: #f8f9fa; | |||
padding: 0.5em; | |||
cursor: pointer; | |||
border-radius: 3px; | |||
margin: 0.5em 0; | |||
} | |||
.collapsible-header:after { | |||
content: '▼'; | |||
float: right; | |||
transform: rotate(0); | |||
transition: transform 0.3s ease; | |||
} | |||
.collapsible-header.collapsed:after { | |||
transform: rotate(-90deg); | |||
} | |||
.collapsible-content { | |||
padding: 0.5em; | |||
display: none; | |||
} | |||
/* Tooltips */ | |||
.tooltip { | |||
position: relative; | |||
display: inline-block; | |||
border-bottom: 1px dotted #c8ccd1; | |||
} | |||
.tooltip .tooltip-text { | |||
visibility: hidden; | |||
background-color: #333; | |||
color: white; | |||
text-align: center; | |||
border-radius: 3px; | |||
padding: 0.5em; | |||
position: absolute; | |||
z-index: 1; | |||
bottom: 125%; | |||
left: 50%; | |||
transform: translateX(-50%); | |||
opacity: 0; | |||
transition: opacity 0.3s; | |||
} | |||
.tooltip:hover .tooltip-text { | |||
visibility: visible; | |||
opacity: 1; | |||
} | |||
/* Rating stars */ | |||
.rating { | |||
display: inline-block; | |||
} | |||
.rating .star { | |||
color: #ddd; | |||
} | |||
.rating .star.filled { | |||
color: #ffb900; | |||
} | |||
/* Tags */ | |||
.tag { | |||
display: inline-block; | |||
background: #eaecf0; | |||
color: #54595d; | |||
padding: 0.2em 0.6em; | |||
border-radius: 2em; | |||
margin-right: 0.5em; | |||
font-size: 0.9em; | |||
} | |||
.tag:hover { | |||
background: #c8ccd1; | |||
text-decoration: none; | |||
} | |||
/* Footer */ | |||
.footer { | |||
margin-top: 2em; | |||
padding-top: 1em; | |||
border-top: 1px solid #eaecf0; | |||
color: #72777d; | |||
font-size: 0.9em; | |||
} | |||
.footer-links { | |||
display: flex; | |||
justify-content: center; | |||
flex-wrap: wrap; | |||
} | |||
.footer-links a { | |||
margin: 0 1em; | |||
} | |||
.footer-text { | |||
text-align: center; | |||
margin-top: 1em; | |||
} | |||
/* Additional color themes for section backgrounds */ | |||
.bg-light { | |||
background-color: #f8f9fa; | |||
} | |||
.bg-lighter { | |||
background-color: #fafbfc; | |||
} | |||
.bg-blue-light { | |||
background-color: #eaf3ff; | |||
} | |||
.bg-green-light { | |||
background-color: #f3fff8; | |||
} | |||
.bg-red-light { | |||
background-color: #fee7e6; | |||
} | |||
.bg-yellow-light { | |||
background-color: #fef6e7; | |||
} | |||
.bg-purple-light { | |||
background-color: #f3e5f5; | |||
} | |||
/* END OF ORIGINAL CSS */ |
Revision as of 01:50, 12 August 2025
/* Main Page Styles */
#mp-topbanner {
background-color: #f8f9fa;
padding: 0.5em;
margin-bottom: 1em;
border-radius: 5px;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
#mp-welcome {
font-size: 1.2em;
margin: 0;
text-align: center;
}
#mp-welcome h1 {
margin: 0.2em 0;
border-bottom: none;
font-family: 'Linux Libertine', 'Georgia', 'Times', serif;
font-size: 1.7em;
}
#mp-free {
text-align: center;
font-size: 1.1em;
margin-bottom: 0.5em;
color: #54595d;
}
#articlecount {
text-align: center;
font-size: 0.9em;
color: #72777d;
}
#articlecount ul {
margin: 0;
display: inline-block;
list-style: none;
padding-left: 0;
}
#articlecount li {
display: inline-block;
margin: 0 1em;
}
.mp-box {
margin-bottom: 1em;
padding: 0;
border-radius: 5px;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
.mp-h2 {
margin: 0;
padding: 0.5em;
border-bottom: none;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
font-size: 1.3em;
font-weight: bold;
color: white;
}
#mp-tfa-h2, #mp-dyk-h2 {
background: linear-gradient(to right, #36c, #1a6399);
}
#mp-itn-h2, #mp-otd-h2 {
background: linear-gradient(to right, #c36, #9a1c43);
}
#mp-tfl-h2 {
background: linear-gradient(to right, #36b, #274c89);
}
#mp-tfp-h2 {
background: linear-gradient(to right, #4caf50, #2e7d32);
}
#mp-other {
background: linear-gradient(to right, #673ab7, #4527a0);
color: white;
}
#mp-sister {
background: linear-gradient(to right, #ff9800, #e65100);
color: white;
}
#mp-lang {
background: linear-gradient(to right, #607d8b, #455a64);
color: white;
}
.mp-contains-float {
padding: 0.5em;
}
#mp-tfa, #mp-dyk {
background-color: #f8f9fa;
}
#mp-itn, #mp-otd {
background-color: #fef6f9;
}
#mp-tfl {
background-color: #f5f8fa;
}
#mp-tfp {
background-color: #f1f8e9;
}
#mp-other-content {
background-color: #f3e5f5;
padding: 0.5em;
}
#mp-sister-content {
background-color: #fff3e0;
padding: 0.5em;
}
/* Section grid layout for database, cybersecurity, and career sections */
.mp-section-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1em;
}
.mp-section-cell {
background-color: #ffffff;
border-radius: 4px;
padding: 0.8em;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.mp-section-cell h3 {
margin-top: 0;
border-bottom: 1px solid #eaecf0;
padding-bottom: 0.3em;
font-size: 1.1em;
}
.mp-section-cell ul {
margin: 0.5em 0;
padding-left: 1.5em;
}
.mp-section-cell li {
margin-bottom: 0.3em;
}
.mp-section-link {
text-align: right;
margin-top: 0.5em;
font-size: 0.9em;
}
@media (max-width: 768px) {
.mp-section-grid {
grid-template-columns: 1fr;
}
}
/* BEGIN ALL REMAINING CSS FROM THE ORIGINAL FILE */
/* General page styling */
.MainPageBG {
width: 100%;
border: 1px solid #f0f0f0;
}
#mp-upper {
display: flex;
}
#mp-left {
flex: 1;
margin-right: 0.5em;
}
#mp-right {
flex: 1;
margin-left: 0.5em;
}
/* Column containers */
.hlist-separated ul {
margin: 0;
}
.hlist-separated li {
display: inline-block;
}
.hlist-separated li:after {
content: '•';
margin: 0 0.5em;
color: #aaa;
}
.hlist-separated li:last-child:after {
content: '';
margin: 0;
}
/* Featured content boxes */
.main-box {
padding: 1em;
background-color: #ffffff;
border-radius: 3px;
margin-bottom: 1em;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
.feature-box {
background: #f9f9f9;
padding: 1em;
margin-bottom: 1em;
border-left: 3px solid #36c;
border-radius: 0 3px 3px 0;
}
.feature-box h3 {
margin-top: 0;
color: #36c;
}
/* Topic grid */
.topic-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1em;
}
.topic-card {
background: #fff;
padding: 1em;
border-radius: 3px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.topic-card:hover {
transform: translateY(-2px);
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.topic-card h3 {
margin-top: 0;
border-bottom: 1px solid #eaecf0;
padding-bottom: 0.5em;
font-weight: 500;
}
/* News section */
.news-item {
margin-bottom: 1em;
padding-bottom: 1em;
border-bottom: 1px solid #eaecf0;
}
.news-item:last-child {
border-bottom: none;
margin-bottom: 0;
padding-bottom: 0;
}
.news-date {
color: #72777d;
font-size: 0.9em;
}
/* Additional utility classes */
.text-center {
text-align: center;
}
.text-muted {
color: #72777d;
}
.mb-2 {
margin-bottom: 0.5em;
}
.mb-3 {
margin-bottom: 1em;
}
.p-2 {
padding: 0.5em;
}
.p-3 {
padding: 1em;
}
/* Category links */
.category-links {
background: #f8f9fa;
padding: 0.7em;
border-radius: 3px;
margin-top: 1em;
}
.category-links h3 {
margin-top: 0;
font-size: 1.1em;
color: #54595d;
}
.category-links ul {
margin: 0;
padding: 0;
list-style: none;
columns: 3;
}
.category-links li {
margin-bottom: 0.3em;
break-inside: avoid;
}
/* Responsive layout */
@media (max-width: 768px) {
#mp-upper {
flex-direction: column;
}
#mp-left, #mp-right {
margin: 0 0 1em 0;
width: 100%;
}
.topic-grid {
grid-template-columns: 1fr;
}
.category-links ul {
columns: 1;
}
}
/* Color themes */
.theme-blue {
border-top: 3px solid #36c;
}
.theme-green {
border-top: 3px solid #00af89;
}
.theme-red {
border-top: 3px solid #d33;
}
.theme-purple {
border-top: 3px solid #6b4ba1;
}
.theme-orange {
border-top: 3px solid #ff5d00;
}
/* Badge styles */
.badge {
display: inline-block;
padding: 0.25em 0.6em;
font-size: 0.8em;
font-weight: bold;
border-radius: 2em;
margin-left: 0.5em;
}
.badge-blue {
background-color: #36c;
color: white;
}
.badge-green {
background-color: #00af89;
color: white;
}
.badge-red {
background-color: #d33;
color: white;
}
/* Button styles */
.btn {
display: inline-block;
padding: 0.5em 1em;
border-radius: 3px;
text-decoration: none;
font-weight: 500;
transition: background-color 0.2s ease;
}
.btn-primary {
background-color: #36c;
color: white;
}
.btn-primary:hover {
background-color: #447ff5;
text-decoration: none;
color: white;
}
.btn-outline {
background-color: transparent;
border: 1px solid #36c;
color: #36c;
}
.btn-outline:hover {
background-color: #eaf3ff;
text-decoration: none;
}
/* Featured image */
.featured-image {
margin: 1em 0;
}
.featured-image img {
max-width: 100%;
height: auto;
border-radius: 3px;
}
.image-caption {
font-size: 0.9em;
color: #54595d;
text-align: center;
margin-top: 0.5em;
}
/* Quote box */
.quote-box {
font-family: 'Georgia', serif;
font-style: italic;
padding: 1em 1.5em;
margin: 1em 0;
background-color: #f8f9fa;
border-left: 3px solid #c8ccd1;
}
.quote-source {
display: block;
text-align: right;
font-style: normal;
font-size: 0.9em;
margin-top: 0.5em;
}
/* Progress indicators */
.progress-bar {
width: 100%;
background-color: #eaecf0;
height: 0.8em;
border-radius: 0.4em;
overflow: hidden;
margin: 0.5em 0;
}
.progress-fill {
height: 100%;
background-color: #36c;
}
/* Card layout */
.card {
background: white;
border-radius: 3px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
padding: 1em;
margin-bottom: 1em;
}
.card-header {
border-bottom: 1px solid #eaecf0;
padding-bottom: 0.5em;
margin-bottom: 0.5em;
}
.card-title {
margin: 0;
font-weight: 500;
}
.card-footer {
border-top: 1px solid #eaecf0;
padding-top: 0.5em;
margin-top: 0.5em;
text-align: right;
}
/* Timeline */
.timeline {
position: relative;
margin: 1em 0 1em 1em;
}
.timeline:before {
content: '';
position: absolute;
left: 0;
top: 0;
height: 100%;
width: 2px;
background: #eaecf0;
}
.timeline-item {
position: relative;
padding-left: 1.5em;
margin-bottom: 1em;
}
.timeline-item:before {
content: '';
position: absolute;
left: -5px;
top: 0.5em;
width: 12px;
height: 12px;
background: white;
border: 2px solid #36c;
border-radius: 50%;
}
.timeline-date {
font-weight: bold;
margin-bottom: 0.3em;
}
/* Tab navigation */
.tab-nav {
display: flex;
border-bottom: 1px solid #eaecf0;
margin-bottom: 1em;
}
.tab-item {
padding: 0.5em 1em;
cursor: pointer;
border-bottom: 2px solid transparent;
margin-right: 1em;
}
.tab-item.active {
border-bottom-color: #36c;
font-weight: bold;
}
/* Alert boxes */
.alert {
padding: 0.75em 1em;
border-radius: 3px;
margin: 1em 0;
}
.alert-info {
background-color: #eaf3ff;
border-left: 3px solid #36c;
}
.alert-success {
background-color: #f3fff8;
border-left: 3px solid #00af89;
}
.alert-warning {
background-color: #fef6e7;
border-left: 3px solid #ff5d00;
}
.alert-danger {
background-color: #fee7e6;
border-left: 3px solid #d33;
}
/* Stats counter */
.stats-counter {
display: flex;
justify-content: space-around;
text-align: center;
margin: 1em 0;
}
.stats-item {
padding: 0.5em;
}
.stats-number {
font-size: 1.5em;
font-weight: bold;
display: block;
margin-bottom: 0.2em;
}
.stats-label {
color: #54595d;
font-size: 0.9em;
}
/* Feature list */
.feature-list {
list-style: none;
padding: 0;
margin: 1em 0;
}
.feature-list li {
padding-left: 1.5em;
position: relative;
margin-bottom: 0.5em;
}
.feature-list li:before {
content: '✓';
position: absolute;
left: 0;
color: #00af89;
font-weight: bold;
}
/* Image grid */
.image-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1em;
margin: 1em 0;
}
.image-grid-item img {
width: 100%;
height: auto;
border-radius: 3px;
}
@media (max-width: 768px) {
.image-grid {
grid-template-columns: repeat(2, 1fr);
}
}
/* Collapsible sections */
.collapsible-header {
background: #f8f9fa;
padding: 0.5em;
cursor: pointer;
border-radius: 3px;
margin: 0.5em 0;
}
.collapsible-header:after {
content: '▼';
float: right;
transform: rotate(0);
transition: transform 0.3s ease;
}
.collapsible-header.collapsed:after {
transform: rotate(-90deg);
}
.collapsible-content {
padding: 0.5em;
display: none;
}
/* Tooltips */
.tooltip {
position: relative;
display: inline-block;
border-bottom: 1px dotted #c8ccd1;
}
.tooltip .tooltip-text {
visibility: hidden;
background-color: #333;
color: white;
text-align: center;
border-radius: 3px;
padding: 0.5em;
position: absolute;
z-index: 1;
bottom: 125%;
left: 50%;
transform: translateX(-50%);
opacity: 0;
transition: opacity 0.3s;
}
.tooltip:hover .tooltip-text {
visibility: visible;
opacity: 1;
}
/* Rating stars */
.rating {
display: inline-block;
}
.rating .star {
color: #ddd;
}
.rating .star.filled {
color: #ffb900;
}
/* Tags */
.tag {
display: inline-block;
background: #eaecf0;
color: #54595d;
padding: 0.2em 0.6em;
border-radius: 2em;
margin-right: 0.5em;
font-size: 0.9em;
}
.tag:hover {
background: #c8ccd1;
text-decoration: none;
}
/* Footer */
.footer {
margin-top: 2em;
padding-top: 1em;
border-top: 1px solid #eaecf0;
color: #72777d;
font-size: 0.9em;
}
.footer-links {
display: flex;
justify-content: center;
flex-wrap: wrap;
}
.footer-links a {
margin: 0 1em;
}
.footer-text {
text-align: center;
margin-top: 1em;
}
/* Additional color themes for section backgrounds */
.bg-light {
background-color: #f8f9fa;
}
.bg-lighter {
background-color: #fafbfc;
}
.bg-blue-light {
background-color: #eaf3ff;
}
.bg-green-light {
background-color: #f3fff8;
}
.bg-red-light {
background-color: #fee7e6;
}
.bg-yellow-light {
background-color: #fef6e7;
}
.bg-purple-light {
background-color: #f3e5f5;
}
/* END OF ORIGINAL CSS */