:root {
--primary-color: #2E8B57; /* Sea Green for flowers */
--secondary-color: #DAA520; /* Golden Rod for logo */
--accent-color: #1E90FF; /* Dodger Blue for ocean */
--background-color: #F5FFFA; /* Mint Cream */
--text-color: #2F4F4F; /* Dark Slate Gray */
--border-color: #98FB98; /* Pale Green */
--code-background: #2F4F4F; /* Dark Slate Gray */
--code-color: #F0F8FF; /* Alice Blue */
--header-gradient-start: #2E8B57; /* Sea Green */
--header-gradient-end: #1E90FF; /* Dodger Blue */
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
line-height: 1.6;
max-width: 1200px;
margin: 0 auto;
padding: 20px;
color: var(--text-color);
background-color: var(--background-color);
}
header {
text-align: center;
margin-bottom: 40px;
padding: 20px;
background: linear-gradient(135deg,
var(--header-gradient-start),
var(--secondary-color),
var(--header-gradient-end));
color: white;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
nav {
margin: 20px 0;
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 20px;
}
nav a {
color: white;
text-decoration: none;
padding: 8px 20px;
border-radius: 20px;
border: 1px solid rgba(255,255,255,0.3);
transition: all 0.3s ease;
background: rgba(255,255,255,0.1);
}
nav a:hover {
background: rgba(255,255,255,0.2);
transform: translateY(-2px);
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
h1, h2, h3, h4, h5, h6 {
color: var(--primary-color);
margin-top: 1.5em;
margin-bottom: 0.5em;
}
h1 {
font-size: 2.5em;
color: white;
text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}
h2 {
font-size: 2em;
border-bottom: 2px solid var(--border-color);
padding-bottom: 0.3em;
}
h3 {
font-size: 1.5em;
color: var(--secondary-color);
}
a {
color: var(--accent-color);
text-decoration: none;
transition: all 0.3s ease;
}
a:hover {
color: var(--secondary-color);
text-decoration: underline;
}
pre {
background: var(--code-background);
color: var(--code-color);
padding: 15px;
border-radius: 5px;
overflow-x: auto;
margin: 1em 0;
border-left: 4px solid var(--secondary-color);
}
code {
font-family: 'Consolas', 'Monaco', monospace;
}
section {
margin: 30px 0;
padding: 30px;
background: white;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
border: 1px solid var(--border-color);
}
.card {
background: white;
border: 1px solid var(--border-color);
border-radius: 8px;
padding: 25px;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
border-color: var(--primary-color);
}
.version-badge {
display: inline-block;
padding: 5px 15px;
background: var(--secondary-color);
color: white;
border-radius: 15px;
font-size: 0.9em;
margin: 10px 0;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
footer {
text-align: center;
margin-top: 50px;
padding: 20px;
border-top: 2px solid var(--border-color);
color: var(--text-color);
background: linear-gradient(to right,
rgba(46,139,87,0.1),
rgba(30,144,255,0.1));
border-radius: 0 0 8px 8px;
}
/* Responsive Design */
@media (max-width: 768px) {
body {
padding: 10px;
}
header {
padding: 15px;
}
nav {
flex-direction: column;
align-items: center;
}
section {
padding: 20px;
}
pre {
padding: 10px;
}
}
/* Print Styles */
@media print {
body {
max-width: none;
padding: 0;
background: white;
}
header {
background: none;
color: var(--primary-color);
box-shadow: none;
}
nav {
display: none;
}
pre {
border: 1px solid var(--border-color);
page-break-inside: avoid;
}
a {
text-decoration: underline;
color: var(--primary-color);
}
footer {
background: none;
border-top: 1px solid var(--border-color);
}
.card {
border: 1px solid var(--border-color);
box-shadow: none;
}
}
/* Dashboard and Dependencies Styles */
.dashboard {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
margin: 20px 0;
}
.dashboard-card {
background: #ffffff;
border: 1px solid #e1e4e8;
border-radius: 6px;
padding: 16px;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dashboard-card:hover {
transform: translateY(-2px);
box-shadow: 0 3px 6px rgba(149, 157, 165, 0.15);
border-color: #0366d6;
}
.dashboard-card h3 {
margin-top: 0;
color: #24292e;
font-size: 1.25em;
border-bottom: 1px solid #eaecef;
padding-bottom: 8px;
}
.dependencies {
background: #f6f8fa;
border-radius: 6px;
padding: 16px;
margin: 20px 0;
}
.dependency-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 8px 12px;
margin: 4px 0;
background: #ffffff;
border: 1px solid #e1e4e8;
border-radius: 4px;
transition: background-color 0.2s ease;
}
.dependency-item:hover {
background-color: #f1f8ff;
}
.dependency-name {
color: #0366d6;
font-weight: 500;
}
.dependency-version {
background: #f1f8ff;
color: #0366d6;
padding: 2px 8px;
border-radius: 12px;
font-size: 0.9em;
border: 1px solid #c8e1ff;
}
.status-badge {
display: inline-flex;
align-items: center;
padding: 4px 8px;
border-radius: 12px;
font-size: 0.85em;
font-weight: 500;
margin-right: 8px;
}
.status-badge.success {
background-color: #28a745;
color: #ffffff;
}
.status-badge.warning {
background-color: #ffd33d;
color: #24292e;
}
.status-badge.error {
background-color: #d73a49;
color: #ffffff;
}
.git-info {
background: #f6f8fa;
border: 1px solid #e1e4e8;
border-radius: 6px;
padding: 16px;
margin: 20px 0;
}
.git-branch {
display: inline-flex;
align-items: center;
background: #ffffff;
border: 1px solid #e1e4e8;
border-radius: 4px;
padding: 4px 8px;
color: #24292e;
font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
font-size: 0.9em;
}
.git-branch::before {
content: "";
display: inline-block;
width: 14px;
height: 14px;
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' version='1.1' width='16' height='16' aria-hidden='true' fill='%236a737d'%3E%3Cpath fill-rule='evenodd' d='M11.75 2.5a.75.75 0 100 1.5.75.75 0 000-1.5zm-2.25.75a2.25 2.25 0 113 2.122V6A2.5 2.5 0 0110 8.5H6a1 1 0 00-1 1v1.128a2.251 2.251 0 11-1.5 0V5.372a2.25 2.25 0 111.5 0v1.836A2.492 2.492 0 016 7h4a1 1 0 001-1v-.628A2.25 2.25 0 019.5 3.25zM4.25 12a.75.75 0 100 1.5.75.75 0 000-1.5zM3.5 3.25a.75.75 0 111.5 0 .75.75 0 01-1.5 0z'%3E%3C/path%3E%3C/svg%3E");
margin-right: 6px;
}
.commit-hash {
font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
color: #6a737d;
background: #ffffff;
border: 1px solid #e1e4e8;
border-radius: 4px;
padding: 2px 6px;
font-size: 0.85em;
}
.stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 16px;
margin: 20px 0;
}
.stat-card {
background: #ffffff;
border: 1px solid #e1e4e8;
border-radius: 6px;
padding: 16px;
text-align: center;
}
.stat-value {
font-size: 2em;
font-weight: 600;
color: #24292e;
margin: 8px 0;
}
.stat-label {
color: #6a737d;
font-size: 0.9em;
}
/* Progress Bars */
.progress-bar {
background: #f6f8fa;
border-radius: 4px;
height: 8px;
overflow: hidden;
margin: 8px 0;
}
.progress-bar .fill {
height: 100%;
background: #2ea44f;
transition: width 0.3s ease;
}
.progress-bar .fill.warning {
background: #ffd33d;
}
.progress-bar .fill.error {
background: #d73a49;
}
/* Tooltips */
[data-tooltip] {
position: relative;
cursor: help;
}
[data-tooltip]:before {
content: attr(data-tooltip);
position: absolute;
bottom: 100%;
left: 50%;
transform: translateX(-50%);
padding: 4px 8px;
background: #24292e;
color: #ffffff;
font-size: 0.85em;
border-radius: 4px;
white-space: nowrap;
visibility: hidden;
opacity: 0;
transition: opacity 0.2s ease;
}
[data-tooltip]:hover:before {
visibility: visible;
opacity: 1;
}
/* Activity Feed */
.activity-feed {
margin: 20px 0;
}
.activity-item {
display: flex;
align-items: flex-start;
padding: 12px 0;
border-bottom: 1px solid #eaecef;
}
.activity-item:last-child {
border-bottom: none;
}
.activity-icon {
width: 16px;
height: 16px;
margin-right: 8px;
color: #6a737d;
}
.activity-content {
flex: 1;
}
.activity-time {
color: #6a737d;
font-size: 0.85em;
}
/* Search Bar */
.search-bar {
display: flex;
align-items: center;
background: #ffffff;
border: 1px solid #e1e4e8;
border-radius: 6px;
padding: 8px 12px;
margin: 20px 0;
}
.search-bar input {
flex: 1;
border: none;
outline: none;
padding: 4px 8px;
font-size: 1em;
color: #24292e;
}
.search-bar input::placeholder {
color: #6a737d;
}