Spaces:
Paused
Paused
#sidebar { | |
width: 200px; | |
position: fixed; | |
height: 100%; | |
left: 0; | |
background-color: #f8f9fa; | |
padding: 20px; | |
} | |
#sidebar ul { | |
list-style-type: none; | |
padding: 0; | |
} | |
#sidebar li { | |
margin-bottom: 10px; | |
} | |
#sidebar a { | |
text-decoration: none; | |
color: #333; | |
} | |
#main-content { | |
margin-left: 200px; | |
padding: 40px; | |
} | |
.tile-element { | |
display: inline-block; | |
width: 200px; | |
margin: 10px; | |
cursor: pointer; | |
vertical-align: top; | |
} | |
.tile-element img { | |
width: 100%; | |
} | |
#side-panel { | |
position: fixed; | |
top: 50%; | |
left: 50%; | |
transform: translate(-50%, -50%); | |
width: 60%; | |
background: white; | |
border: 1px solid #ccc; | |
padding: 20px; | |
z-index: 1000; | |
display: none; | |
flex-direction: row; | |
justify-content: space-between; | |
align-items: flex-start; | |
} | |
#side-panel.active { | |
display: flex; | |
} | |
#close-button { | |
align-self: flex-start; | |
cursor: pointer; | |
font-size: 20px; | |
} | |
#movie-details { | |
padding-left: 20px; | |
text-align: left; | |
flex-direction: column; | |
} | |
#movie-poster { | |
width: 30%; | |
object-fit: contain; | |
} | |
#overlay { | |
display: none; | |
/* Hidden by default */ | |
position: fixed; | |
top: 0; | |
left: 0; | |
width: 100%; | |
height: 100%; | |
background: rgba(0, 0, 0, 0.5); | |
/* Semi-transparent background */ | |
z-index: 999; | |
} | |
#overlay.active { | |
display: block; | |
/* Show overlay when active */ | |
} |