Files
homebrew-tap/docs/assets/css/style.css
Ismo Vuorinen 6de65bca11 Initial Homebrew tap setup with automated documentation
- Add formula parser with Ruby AST parsing
- Add GitHub Actions CI/CD workflows
- Add Jekyll-based documentation site
- Add RuboCop and Dependabot configuration
- Add example formula for demonstration
2025-09-02 02:22:26 +03:00

163 lines
2.4 KiB
CSS

:root {
--primary-color: #0366d6;
--text-color: #24292e;
--bg-color: #ffffff;
--code-bg: #f6f8fa;
--border-color: #e1e4e8;
--success-color: #28a745;
--warning-color: #ffc107;
}
* {
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
line-height: 1.6;
color: var(--text-color);
background: var(--bg-color);
margin: 0;
padding: 0;
}
.wrapper {
max-width: 980px;
margin: 0 auto;
padding: 0 2rem;
}
.site-header {
border-bottom: 1px solid var(--border-color);
padding: 1rem 0;
}
.site-header h1 {
margin: 0;
display: inline-block;
}
.site-header a {
text-decoration: none;
color: var(--text-color);
}
.site-header nav {
float: right;
margin-top: 0.5rem;
}
.site-header nav a {
margin-left: 1rem;
color: var(--primary-color);
}
.page-content {
min-height: 70vh;
padding: 2rem 0;
}
.formula-page {
max-width: 100%;
}
.formula-header {
border-bottom: 1px solid var(--border-color);
padding-bottom: 1rem;
margin-bottom: 2rem;
}
.formula-meta {
display: flex;
gap: 1rem;
margin-top: 0.5rem;
font-size: 0.9rem;
flex-wrap: wrap;
}
.version {
background: var(--success-color);
color: white;
padding: 0.2rem 0.5rem;
border-radius: 3px;
}
.license {
background: var(--code-bg);
border: 1px solid var(--border-color);
padding: 0.2rem 0.5rem;
border-radius: 3px;
}
.code-block {
background: var(--code-bg);
border: 1px solid var(--border-color);
border-radius: 6px;
padding: 1rem;
margin: 1rem 0;
overflow-x: auto;
}
.code-block pre {
margin: 0;
}
.dep-list {
list-style: none;
padding: 0;
}
.dep-list li {
padding: 0.5rem;
border-left: 3px solid var(--primary-color);
margin: 0.5rem 0;
background: var(--code-bg);
}
.formula-details {
width: 100%;
border-collapse: collapse;
margin: 1rem 0;
}
.formula-details th,
.formula-details td {
padding: 0.75rem;
text-align: left;
border-bottom: 1px solid var(--border-color);
}
.formula-details th {
background: var(--code-bg);
font-weight: 600;
width: 25%;
}
.site-footer {
border-top: 1px solid var(--border-color);
padding: 2rem 0;
text-align: center;
color: #586069;
font-size: 0.875rem;
}
@media (max-width: 768px) {
.wrapper {
padding: 0 1rem;
}
.site-header nav {
float: none;
margin-top: 1rem;
}
.formula-meta {
flex-direction: column;
gap: 0.5rem;
}
.formula-details th {
width: 35%;
}
}