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