Update templates/index.html
Browse files- templates/index.html +10 -9
templates/index.html
CHANGED
|
@@ -10,9 +10,10 @@
|
|
| 10 |
body {
|
| 11 |
background: linear-gradient(135deg,#667eea,#764ba2);
|
| 12 |
padding:2rem; color:#fff; min-height:100vh;
|
|
|
|
| 13 |
}
|
| 14 |
-
.container { max-width:
|
| 15 |
-
header { text-align:center; margin-bottom:
|
| 16 |
h1 { font-size:3rem; font-weight:800; background: linear-gradient(90deg,#ff9a9e,#fad0c4); -webkit-background-clip:text; -webkit-text-fill-color:transparent; }
|
| 17 |
p { font-size:1.1rem; margin-top:8px; color:#f0f0f0; }
|
| 18 |
|
|
@@ -20,27 +21,25 @@
|
|
| 20 |
background: rgba(255,255,255,0.1);
|
| 21 |
backdrop-filter: blur(12px);
|
| 22 |
border-radius:20px; padding:2rem;
|
| 23 |
-
margin-bottom:2rem;
|
| 24 |
box-shadow:0 20px 40px rgba(0,0,0,0.2);
|
| 25 |
-
|
| 26 |
}
|
| 27 |
-
.card:hover { transform: translateY(-5px); box-shadow:0 25px 50px rgba(0,0,0,0.25); }
|
| 28 |
|
| 29 |
.btn {
|
| 30 |
-
|
| 31 |
border:none; cursor:pointer; font-weight:700;
|
| 32 |
background: linear-gradient(135deg,#ff758c,#ff7eb3); color:#fff;
|
| 33 |
-
transition: all 0.3s;
|
| 34 |
box-shadow: 0 6px 15px rgba(0,0,0,0.2);
|
| 35 |
}
|
| 36 |
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,0.25); }
|
| 37 |
|
| 38 |
-
.tools { display:flex; flex-wrap:wrap; gap:12px; margin-top:
|
| 39 |
.tools input { flex:1; padding:12px; border-radius:10px; border:none; outline:none; }
|
| 40 |
|
| 41 |
.small { font-size:0.85rem; color:#e0e0e0; margin-top:6px; }
|
| 42 |
|
| 43 |
-
.grid { display:grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap:16px; margin-top:1rem; }
|
| 44 |
.gallery img { width:100%; border-radius:16px; object-fit:cover; height:180px; transition: transform 0.3s, filter 0.3s; filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3)); }
|
| 45 |
.gallery img:hover { transform: scale(1.07) rotate(-1deg); filter: drop-shadow(0 10px 25px rgba(0,0,0,0.4)); }
|
| 46 |
|
|
@@ -49,6 +48,8 @@
|
|
| 49 |
@media (max-width: 768px){
|
| 50 |
h1{font-size:2rem;}
|
| 51 |
.gallery img{height:150px;}
|
|
|
|
|
|
|
| 52 |
}
|
| 53 |
</style>
|
| 54 |
</head>
|
|
|
|
| 10 |
body {
|
| 11 |
background: linear-gradient(135deg,#667eea,#764ba2);
|
| 12 |
padding:2rem; color:#fff; min-height:100vh;
|
| 13 |
+
display:flex; justify-content:center; align-items:flex-start;
|
| 14 |
}
|
| 15 |
+
.container { width:100%; max-width:1000px; margin:auto; display:flex; flex-direction:column; gap:2rem; }
|
| 16 |
+
header { text-align:center; margin-bottom:1rem; }
|
| 17 |
h1 { font-size:3rem; font-weight:800; background: linear-gradient(90deg,#ff9a9e,#fad0c4); -webkit-background-clip:text; -webkit-text-fill-color:transparent; }
|
| 18 |
p { font-size:1.1rem; margin-top:8px; color:#f0f0f0; }
|
| 19 |
|
|
|
|
| 21 |
background: rgba(255,255,255,0.1);
|
| 22 |
backdrop-filter: blur(12px);
|
| 23 |
border-radius:20px; padding:2rem;
|
|
|
|
| 24 |
box-shadow:0 20px 40px rgba(0,0,0,0.2);
|
| 25 |
+
display:flex; flex-direction:column; gap:1rem;
|
| 26 |
}
|
|
|
|
| 27 |
|
| 28 |
.btn {
|
| 29 |
+
padding:12px 24px; border-radius:12px;
|
| 30 |
border:none; cursor:pointer; font-weight:700;
|
| 31 |
background: linear-gradient(135deg,#ff758c,#ff7eb3); color:#fff;
|
| 32 |
+
transition: all 0.3s;
|
| 33 |
box-shadow: 0 6px 15px rgba(0,0,0,0.2);
|
| 34 |
}
|
| 35 |
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,0.25); }
|
| 36 |
|
| 37 |
+
.tools { display:flex; flex-wrap:wrap; gap:12px; margin-top:0.5rem; align-items:center; }
|
| 38 |
.tools input { flex:1; padding:12px; border-radius:10px; border:none; outline:none; }
|
| 39 |
|
| 40 |
.small { font-size:0.85rem; color:#e0e0e0; margin-top:6px; }
|
| 41 |
|
| 42 |
+
.grid { display:grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap:16px; margin-top:1rem; justify-items:center; }
|
| 43 |
.gallery img { width:100%; border-radius:16px; object-fit:cover; height:180px; transition: transform 0.3s, filter 0.3s; filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3)); }
|
| 44 |
.gallery img:hover { transform: scale(1.07) rotate(-1deg); filter: drop-shadow(0 10px 25px rgba(0,0,0,0.4)); }
|
| 45 |
|
|
|
|
| 48 |
@media (max-width: 768px){
|
| 49 |
h1{font-size:2rem;}
|
| 50 |
.gallery img{height:150px;}
|
| 51 |
+
.tools { flex-direction:column; }
|
| 52 |
+
.tools input, .tools button { width:100%; }
|
| 53 |
}
|
| 54 |
</style>
|
| 55 |
</head>
|