www/resources/public/css/style.css
Adam Jeniski 1dd84c980a
All checks were successful
Deploy ${{ gitea.repository }} / build (push) Successful in 1s
vibe some styles
2026-01-02 01:08:12 -05:00

91 lines
1.5 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
background: #f5f5f5;
color: #1a1a1a;
line-height: 1.6;
padding: 2rem 1rem;
max-width: 900px;
margin: 0 auto;
}
h1 {
font-size: 2rem;
font-weight: 700;
margin-bottom: 2rem;
color: #1a1a1a;
}
h2 {
font-size: 1.25rem;
font-weight: 600;
margin: 2rem 0 1rem 0;
color: #2c2c2c;
border-bottom: 2px solid #e0e0e0;
padding-bottom: 0.5rem;
}
h2:first-of-type {
margin-top: 0;
}
ul {
list-style: none;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 0.75rem;
margin-bottom: 1.5rem;
}
li {
background: white;
border-radius: 8px;
border: 1px solid #e0e0e0;
transition: all 0.2s ease;
}
li:hover {
border-color: #3b82f6;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
transform: translateY(-1px);
}
a {
display: block;
padding: 0.875rem 1rem;
color: #1a1a1a;
text-decoration: none;
font-weight: 500;
transition: color 0.2s ease;
}
li:hover a {
color: #3b82f6;
}
img {
display: block;
max-width: 100%;
height: auto;
margin-top: 1rem;
border-radius: 8px;
border: 1px solid #e0e0e0;
background: white;
padding: 1rem;
}
@media (max-width: 640px) {
ul {
grid-template-columns: 1fr;
}
body {
padding: 1rem 0.75rem;
}
}