Open Source

This commit is contained in:
2025-04-22 09:11:40 +08:00
commit a4bf39a958
14 changed files with 1043 additions and 0 deletions

82
frontend/v1/style.css Normal file
View File

@@ -0,0 +1,82 @@
body {
font-family: "Segoe UI", sans-serif;
background-color: #f0f2f5;
margin: 0;
padding: 2rem;
color: #333;
}
h1 {
text-align: center;
margin-bottom: 2rem;
color: #444;
}
#gallery {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 1.5rem;
}
.card {
background: white;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
overflow: hidden;
transition: transform 0.2s;
}
.card:hover {
transform: translateY(-5px);
}
.card img {
width: 100%;
height: 200px;
object-fit: cover;
}
.card-body {
padding: 1rem;
}
.card-title {
font-size: 1.2rem;
margin-bottom: 0.5rem;
}
.card-tags {
font-size: 0.85rem;
color: #666;
}
.card-footer {
margin-top: 1rem;
}
.download-btn {
display: inline-block;
padding: 0.4rem 0.8rem;
background: #4caf50;
color: white;
border-radius: 6px;
text-decoration: none;
font-size: 0.9rem;
transition: background 0.2s;
}
.download-btn:hover {
background: #45a049;
}
#filters {
display: flex;
justify-content: center;
gap: 1rem;
margin-bottom: 1.5rem;
}
select {
padding: 0.5rem;
font-size: 1rem;
}