protokit-ui
Version:
A comprehensive React component library with hand-drawn design system. Features 30+ beautiful, accessible components including buttons, forms, navigation, data display, and layout components. Built with TypeScript and styled with CSS for modern React appl
72 lines (60 loc) • 1.16 kB
CSS
/* Header Component Styles */
.paper-header {
background: var(--paper-white);
border-bottom: 2px solid var(--ink-light);
padding: var(--spacing-lg) 0;
position: sticky;
top: 0;
z-index: 100;
}
.header-content {
max-width: 1200px;
margin: 0 auto;
padding: 0 var(--spacing-lg);
display: flex;
justify-content: space-between;
align-items: center;
}
.header-title-link {
text-decoration: none;
color: inherit;
transition: opacity 0.2s ease;
}
.header-title-link:hover {
opacity: 0.8;
}
.header-title {
margin: 0;
color: var(--ink-black);
font-size: var(--font-size-3xl);
}
.header-nav {
display: flex;
gap: var(--spacing-sm);
}
/* Responsive Design */
@media (max-width: 768px) {
.header-content {
flex-direction: column;
gap: var(--spacing-md);
text-align: center;
}
.header-title {
font-size: var(--font-size-2xl);
}
.header-nav {
flex-wrap: wrap;
justify-content: center;
}
}
@media (max-width: 480px) {
.header-content {
padding: 0 var(--spacing-md);
}
.header-title {
font-size: var(--font-size-xl);
}
.header-nav {
gap: var(--spacing-xs);
}
}