-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
95 lines (83 loc) · 2.45 KB
/
style.css
File metadata and controls
95 lines (83 loc) · 2.45 KB
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
91
92
93
94
95
/* style.css */
body {
margin: 0;
padding: 0;
font-family: sans-serif;
background-color: #222; /* Black-greyish tint for background */
display: flex; /* Center content vertically */
align-items: center;
justify-content: center;
min-height: 100vh; /* Ensure full viewport height */
}
.access-code-container {
position: absolute;
top: 10px;
left: 10px;
display: flex;
align-items: center;
}
#access-code {
padding: 5px;
font-size: 16px;
margin-right: 10px; /* Add some space between the input and button */
}
#submit-code {
background-color: #343736;
border-radius: 12px;
border: none;
color: white;
padding: 10px 20px; /* Adjust padding for better alignment */
font-size: 16px;
cursor: pointer; /* Change cursor to pointer for better UX */
}
.player-container { /* More descriptive class name */
background-color: #111; /* Darker shaded box */
border-radius: 10px; /* Rounded corners for a more polished look */
padding: 20px;
box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
display: flex;
flex-direction: column;
align-items: flex-start; /* Align elements to the left */
width: 300px; /* Set a fixed width for better layout control */
}
.now-playing {
display: flex;
align-items: center;
margin-bottom: 20px;
width: 100%; /* Take up full width within the container */
}
.now-playing img {
width: 60px;
height: 60px; /* Adjusted size for better proportions */
margin-right: 15px;
border-radius: 5px; /* Rounded corners for album art */
}
.song-info {
color: white;
}
.song-info h2 {
margin-bottom: 5px;
font-size: 1.2em; /* Slightly larger text for improved readability */
}
.song-info h3 {
font-size: 1em;
margin: 0; /* Remove default margin for cleaner spacing */
}
.controls {
display: flex;
justify-content: space-between; /* Distribute buttons evenly */
width: 100%; /* Take up full width within the container */
}
.control-button {
cursor: pointer;
color: white;
font-size: 20px; /* Adjusted size for better button text visibility */
padding: 10px 20px; /* Increased padding for better button feel */
border: none; /* Remove default border for a cleaner look */
border-radius: 5px; /* Rounded corners for buttons */
background-color: #424242; /* Darker button background for better contrast */
transition: background-color 0.2s ease; /* Smoother hover effect */
}
.control-button:hover {
background-color: #333; /* Slightly lighter background on hover */
}