forked from uok825/MMM-IPT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMMM-MPT.css
83 lines (69 loc) · 1.59 KB
/
MMM-MPT.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
.module-header {
font-size: 1.5em;
font-weight: bold;
margin-bottom: 10px;
text-align: center;
}
.next-prayer .prayer-time-value {
color: orange;
}
/* General Prayer Time Styling */
.prayer-time {
display: flex;
justify-content: space-between;
padding: 5px 0;
font-size: 25px;
border-bottom: 1px solid var(--color-text-dimmed);
}
.prayer-name {
flex: 1;
text-align: left;
color: green;
font-size: 30px;
}
.prayer-time-value {
flex: 1;
text-align: center;
color: rgb(242, 245, 242);
font-size: 28px;
}
.upcoming-prayer .prayer-time-value {
font-weight: bold;
color: rgb(253, 6, 6);
}
/* Current Prayer Time Styling */
.current-prayer {
font-weight: bold;
color: #ff0000;
}
.flash {
animation: flash-animation 1s infinite;
}
@keyframes flash-animation {
0% { background-color: yellow; }
50% { background-color: inherit; }
100% { background-color: yellow; }
}
/* Adhan Toggle Button Styling */
.toggle-button {
display: inline-block;
padding: 10px 20px;
font-weight: bold;
font-size: 22px;
cursor: pointer;
border: 2px solid #333;
border-radius: 5px;
background-color: #fff;
color: #333;
transition: background-color 0.3s, color 0.3s;
height: 50px; /* Set button height */
width: 210px; /* Set button width */
margin-top: 20px; /* Add margin to create space between prayer times and button */
}
.toggle-button:hover {
background-color: #333;
color: #fff;
}
.MMM-MPT .module-content {
width: 300px; /* adjust this to taste */
}