Template:CreationHub/styles.css: Difference between revisions
Appearance
Created page with ".creation-hub { display: flex; justify-content: center; flex-wrap: wrap; gap: 2rem; margin-top: 2rem; } .creation-card { width: 250px; padding: 1.5rem; text-align: center; border: 2px solid #e0e0e0; border-radius: 1rem; background: #fafafa; box-shadow: 0 2px 6px rgba(0,0,0,0.08); transition: all 0.2s ease-in-out; } .creation-card:hover { background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.12); transform: translateY(-2px); } .creation-..." |
No edit summary |
||
| Line 12: | Line 12: | ||
text-align: center; | text-align: center; | ||
border: 2px solid #e0e0e0; | border: 2px solid #e0e0e0; | ||
border-radius: 1rem; | /* border-radius: 1rem; */ | ||
background: #fafafa; | background: #fafafa; | ||
box-shadow: 0 2px 6px rgba(0,0,0,0.08); | /* box-shadow: 0 2px 6px rgba(0,0,0,0.08); */ | ||
transition: all 0.2s ease-in-out; | transition: all 0.2s ease-in-out; | ||
} | } | ||
Revision as of 13:02, 10 November 2025
.creation-hub {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 2rem;
margin-top: 2rem;
}
.creation-card {
width: 250px;
padding: 1.5rem;
text-align: center;
border: 2px solid #e0e0e0;
/* border-radius: 1rem; */
background: #fafafa;
/* box-shadow: 0 2px 6px rgba(0,0,0,0.08); */
transition: all 0.2s ease-in-out;
}
.creation-card:hover {
background: #fff;
box-shadow: 0 4px 12px rgba(0,0,0,0.12);
transform: translateY(-2px);
}
.creation-card h3 {
margin-top: 0;
font-size: 1.3em;
color: #2a2a2a;
}
.creation-card .inputbox {
margin-top: 1rem;
}
.creation-card input {
width: 100%;
padding: 0.4rem;
border: 1px solid #ccc;
border-radius: 6px;
font-size: 0.95rem;
}
.creation-card input[type="submit"] {
background: #3366cc;
color: white;
border: none;
padding: 0.5rem 1rem;
border-radius: 6px;
cursor: pointer;
font-weight: bold;
margin-top: 0.5rem;
transition: background 0.2s ease;
}
.creation-card input[type="submit"]:hover {
background: #254d99;
}