-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
125 lines (122 loc) · 3 KB
/
styles.css
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
:root {
--bg-color: transparent;
--text-color: #D9D9D9;
--accent-color: #BB0001;
}
@font-face {
font-family: 'Silkscreen';
src: url('https://kirito139.github.io/stash/fonts/slkscr.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Silkscreen';
src: url('https://kirito139.github.io/stash/fonts/slkscrb.ttf') format('truetype');
font-weight: bold;
font-style: bold;
}
body {
font-family: 'Silkscreen', sans-serif;
color: var(--text-color);
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
-webkit-font-smoothing: none;
-moz-osx-font-smoothing: unset;
font-smooth: never;
}
.widget {
background-color: transparent !important; /* Set background to transparent */
border: none !important; /* Remove any borders if applicable */
background: var(--bg-color);
border-radius: 8px;
/* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
padding: 10px; /* padding */
width: 220px; /* width */
display: flex;
flex-direction: column;
overflow: hidden;
}
.lastfm-link {
display: flex;
align-items: top;
color: inherit;
text-decoration: none;
font-size: 8px;
margin-bottom: 5px; /* Add some space below the link */
}
#lastfm-logo {
margin-right: 5px; /* Add some space between the logo and text */
width: 17px; /* Adjust this value as needed */
height: auto; /* Maintains aspect ratio */
}
.current-song {
display: flex; /* use flexbox for alignment */
align-items: flex-start;
margin-bottom: 0px; /* margin */
height: 20%; /* height */
min-height: 50px;
}
.current-song-details {
margin-left: 5px;
display: flex;
flex-direction: column;
justify-content: flex-start;
flex-grow: 1;
}
#current-song-info {
margin-bottom: 2px;
}
.current-song img {
width: 50px; /* Album art size */
height: 50px; /* Album art size */
margin-right: 5px; /* Space between image and text */
border-radius: 4px;
flex-shrink: 0;
}
.current-song div {
font-size: 8px; /* text size */
text-align: left; /* Align text to the left */
}
.scrobbles {
list-style-type: none;
padding: 0;
flex-grow: 1;
overflow-y: hidden;
display: flex;
flex-direction: column;
}
.scrobble {
padding: 3px 0; /* padding */
display: flex;
align-items: flex-top;
border-top: 1px solid #ddd;
flex-shrink: 0; /* prevent scrobble items from collapsing */
width: 100%;
}
.scrobble img {
width: 30px; /* album art size */
height: 30px; /* album art size */
margin-right: 5px; /* space between image and text */
border-radius: 4px;
flex-shrink: 0;
}
.scrobble div {
font-size: 8px; /* text size */
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 170px;
}
.now-playing {
font-size: 8px;
color: #1DB954;
font-weight: bold;
margin-top: 2px;
}
.time-ago {
font-size: 8px;
color: #666;
margin-top: 3px;
}