stream / public /styles.css
txtorg's picture
Create styles.css
47476c3 verified
Raw
History Blame Contribute Delete
1.86 kB
/* General Styling */
body {
font-family: 'Arial', sans-serif;
background: #181818;
color: white;
text-align: center;
margin: 0;
padding: 0;
}
/* Container */
.container {
max-width: 900px;
margin: 20px auto;
padding: 20px;
}
/* Channel Info */
.channel-info {
background: #202020;
padding: 12px;
border-radius: 8px;
display: inline-block;
margin-bottom: 15px;
}
.channel-info h2 {
margin: 0;
font-size: 24px;
color: #ffcc00;
}
.channel-info p {
margin: 5px 0 0;
font-size: 16px;
color: #ccc;
}
/* Video Container */
.video-container {
position: relative;
width: 100%;
padding-top: 56.25%; /* 16:9 Aspect Ratio */
background: black;
border-radius: 10px;
overflow: hidden;
box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.2);
}
video {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
border: none;
background: black;
border-radius: 10px;
}
/* Controls */
.controls {
margin-top: 15px;
}
button {
background: #ff0000;
border: none;
padding: 12px 18px;
margin: 5px;
color: white;
font-size: 16px;
font-weight: bold;
cursor: pointer;
border-radius: 5px;
transition: 0.3s;
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}
button:hover {
background: #cc0000;
transform: scale(1.05);
}
input[type="range"] {
width: 100px;
margin-left: 10px;
accent-color: #ff0000;
}
/* Channel Switch Buttons */
.channel-buttons {
margin-top: 15px;
}
.channel-buttons button {
background: #202020;
border: 1px solid #ff0000;
color: white;
padding: 10px 15px;
font-size: 14px;
border-radius: 5px;
cursor: pointer;
transition: 0.3s;
}
.channel-buttons button:hover {
background: #ff0000;
transform: scale(1.05);
}