Create App.css
Browse files- src/App.css +90 -0
src/App.css
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* frontend/src/App.css */
|
| 2 |
+
|
| 3 |
+
body {
|
| 4 |
+
background-color: #0E1117;
|
| 5 |
+
color: #FAFAFA;
|
| 6 |
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
|
| 7 |
+
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
|
| 8 |
+
sans-serif;
|
| 9 |
+
margin: 0;
|
| 10 |
+
padding: 20px;
|
| 11 |
+
}
|
| 12 |
+
|
| 13 |
+
.App-header {
|
| 14 |
+
text-align: center;
|
| 15 |
+
margin-bottom: 40px;
|
| 16 |
+
}
|
| 17 |
+
|
| 18 |
+
.App-header h1 {
|
| 19 |
+
font-size: 2.5rem;
|
| 20 |
+
color: #4B8BBE;
|
| 21 |
+
}
|
| 22 |
+
|
| 23 |
+
.controls {
|
| 24 |
+
display: flex;
|
| 25 |
+
justify-content: center;
|
| 26 |
+
align-items: center;
|
| 27 |
+
gap: 20px;
|
| 28 |
+
margin-bottom: 40px;
|
| 29 |
+
}
|
| 30 |
+
|
| 31 |
+
.controls select {
|
| 32 |
+
min-width: 300px;
|
| 33 |
+
padding: 10px;
|
| 34 |
+
font-size: 16px;
|
| 35 |
+
border-radius: 8px;
|
| 36 |
+
border: 1px solid #4B8BBE;
|
| 37 |
+
background-color: #262730;
|
| 38 |
+
color: #FAFAFA;
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
.controls button {
|
| 42 |
+
background-color: #4B8BBE;
|
| 43 |
+
color: white;
|
| 44 |
+
border-radius: 8px;
|
| 45 |
+
border: none;
|
| 46 |
+
padding: 10px 24px;
|
| 47 |
+
font-size: 16px;
|
| 48 |
+
cursor: pointer;
|
| 49 |
+
transition: background-color 0.2s;
|
| 50 |
+
}
|
| 51 |
+
|
| 52 |
+
.controls button:disabled {
|
| 53 |
+
background-color: #555;
|
| 54 |
+
cursor: not-allowed;
|
| 55 |
+
}
|
| 56 |
+
|
| 57 |
+
.controls button:hover:not(:disabled) {
|
| 58 |
+
background-color: #3A6A94;
|
| 59 |
+
}
|
| 60 |
+
|
| 61 |
+
.recommendation-grid {
|
| 62 |
+
display: grid;
|
| 63 |
+
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
| 64 |
+
gap: 20px;
|
| 65 |
+
padding: 0 20px;
|
| 66 |
+
}
|
| 67 |
+
|
| 68 |
+
.movie-card {
|
| 69 |
+
background-color: #262730;
|
| 70 |
+
border-radius: 10px;
|
| 71 |
+
overflow: hidden;
|
| 72 |
+
}
|
| 73 |
+
|
| 74 |
+
.movie-card img {
|
| 75 |
+
width: 100%;
|
| 76 |
+
height: 300px;
|
| 77 |
+
object-fit: cover;
|
| 78 |
+
}
|
| 79 |
+
|
| 80 |
+
.movie-title {
|
| 81 |
+
font-size: 14px;
|
| 82 |
+
font-weight: bold;
|
| 83 |
+
text-align: center;
|
| 84 |
+
padding: 10px;
|
| 85 |
+
}
|
| 86 |
+
|
| 87 |
+
.error {
|
| 88 |
+
text-align: center;
|
| 89 |
+
color: #FF4B4B;
|
| 90 |
+
}
|