Skip to content

Commit

Permalink
Create style.css
Browse files Browse the repository at this point in the history
  • Loading branch information
Bello-Barry authored Sep 9, 2024
1 parent eb832f5 commit e049eef
Showing 1 changed file with 155 additions and 0 deletions.
155 changes: 155 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,155 @@
body {
font-family: 'Arial', sans-serif;
line-height: 1.6;
margin: 0;
padding: 0;
background-color: #1a1a1a;
color: #e0e0e0;
}

.container {
width: 90%;
max-width: 1200px;
margin: auto;
overflow: hidden;
padding: 20px;
}

header {
background: #2c3e50;
color: white;
padding: 1rem 0;
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

header a {
color: #ffffff;
text-decoration: none;
text-transform: uppercase;
font-size: 16px;
}

header ul {
padding: 0;
list-style: none;
display: flex;
justify-content: space-around;
}

header li {
padding: 0 15px;
}

header #branding {
text-align: center;
margin-bottom: 10px;
}

header #branding h1 {
margin: 0;
font-size: 2rem;
}

.movie-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
gap: 20px;
padding: 20px 0;
}

.movie {
background: #2c3e50;
padding: 15px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
transition: transform 0.3s ease;
}

.movie:hover {
transform: translateY(-5px);
}

.movie h3 {
margin-top: 0;
color: #ecf0f1;
}

.movie .category {
font-style: italic;
color: #bdc3c7;
}

.movie iframe {
width: 100%;
height: 200px;
border: none;
border-radius: 4px;
margin-bottom: 10px;
}

form {
background: #34495e;
padding: 20px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

form input[type="text"], form textarea, form select {
width: 100%;
padding: 10px;
margin-bottom: 15px;
border: 1px solid #7f8c8d;
border-radius: 4px;
background-color: #2c3e50;
color: #ecf0f1;
}

form input[type="submit"], .button {
background: #e74c3c;
color: #fff;
padding: 10px 15px;
border: none;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.3s ease;
}

form input[type="submit"]:hover, .button:hover {
background: #c0392b;
}

.button {
display: inline-block;
text-decoration: none;
margin-top: 10px;
}

#message {
padding: 10px;
margin-top: 10px;
background-color: #27ae60;
color: white;
display: none;
border-radius: 4px;
}

#category-list {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-bottom: 20px;
}

.category-button {
background: #34495e;
color: white;
border: none;
padding: 5px 10px;
border-radius: 3px;
cursor: pointer;
transition: background-color 0.3s ease;
}

.category-button.active {
background: #e74c3c;
}

0 comments on commit e049eef

Please sign in to comment.