README / style.css
ipattis's picture
Update style.css
cc92c5b verified
Raw
History Blame Contribute Delete
4.02 kB
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
min-height: 100vh;
color: #e8e8e8;
line-height: 1.6;
}
.container {
max-width: 900px;
margin: 0 auto;
padding: 2rem 1.5rem;
}
/* Header */
.header {
text-align: center;
margin-bottom: 2.5rem;
padding-bottom: 2rem;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.logo-section {
display: flex;
align-items: center;
justify-content: center;
gap: 0.75rem;
margin-bottom: 0.75rem;
}
.logo-emoji {
font-size: 2.5rem;
}
.header h1 {
font-size: 2rem;
font-weight: 700;
color: #ffffff;
}
.tagline {
color: #94a3b8;
font-size: 1.1rem;
margin-top: 0.5rem;
}
/* Sections */
section {
margin-bottom: 2.5rem;
}
section h2 {
font-size: 1.25rem;
font-weight: 600;
color: #ffffff;
margin-bottom: 1rem;
padding-bottom: 0.5rem;
border-bottom: 2px solid #3b82f6;
display: inline-block;
}
/* Intro */
.intro p {
margin-bottom: 1rem;
color: #cbd5e1;
font-size: 1.05rem;
}
.intro strong {
color: #ffffff;
}
/* Resource Grid */
.resource-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 1rem;
}
.resource-card {
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 12px;
padding: 1.25rem;
transition: transform 0.2s, background 0.2s;
}
.resource-card:hover {
transform: translateY(-2px);
background: rgba(255, 255, 255, 0.08);
}
.resource-icon {
font-size: 1.75rem;
display: block;
margin-bottom: 0.5rem;
}
.resource-card h3 {
font-size: 1rem;
font-weight: 600;
color: #ffffff;
margin-bottom: 0.5rem;
}
.resource-card p {
font-size: 0.9rem;
color: #94a3b8;
}
/* Featured */
.featured-item {
background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(147, 51, 234, 0.15) 100%);
border: 1px solid rgba(59, 130, 246, 0.3);
border-radius: 12px;
padding: 1.5rem;
position: relative;
}
.featured-badge {
position: absolute;
top: 1rem;
right: 1rem;
background: #3b82f6;
color: white;
font-size: 0.7rem;
font-weight: 600;
padding: 0.25rem 0.75rem;
border-radius: 20px;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.featured-item h3 {
font-size: 1.25rem;
font-weight: 700;
color: #ffffff;
margin-bottom: 0.5rem;
}
.featured-item p {
color: #cbd5e1;
font-size: 0.95rem;
}
/* Research List */
.research-list {
list-style: none;
}
.research-list li {
padding: 1rem;
background: rgba(255, 255, 255, 0.03);
border-left: 3px solid #3b82f6;
margin-bottom: 0.75rem;
border-radius: 0 8px 8px 0;
}
.research-list li strong {
display: block;
color: #ffffff;
margin-bottom: 0.25rem;
}
.research-list li span {
color: #94a3b8;
font-size: 0.9rem;
}
/* Link Buttons */
.link-buttons {
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
}
.link-btn {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.75rem 1.25rem;
background: rgba(255, 255, 255, 0.08);
border: 1px solid rgba(255, 255, 255, 0.15);
border-radius: 8px;
color: #ffffff;
text-decoration: none;
font-size: 0.9rem;
font-weight: 500;
transition: all 0.2s;
}
.link-btn:hover {
background: rgba(255, 255, 255, 0.15);
border-color: rgba(255, 255, 255, 0.25);
transform: translateY(-1px);
}
/* Footer */
.footer {
text-align: center;
padding-top: 2rem;
border-top: 1px solid rgba(255, 255, 255, 0.1);
margin-top: 1rem;
}
.footer p {
color: #64748b;
font-size: 0.9rem;
font-style: italic;
}
/* Responsive */
@media (max-width: 600px) {
.header h1 {
font-size: 1.5rem;
}
.logo-emoji {
font-size: 2rem;
}
.resource-grid {
grid-template-columns: 1fr;
}
.link-buttons {
flex-direction: column;
}
.link-btn {
justify-content: center;
}
}