-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
168 lines (147 loc) · 4.03 KB
/
style.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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
body, html {
margin: 0;
padding: 0;
width: 640px;
height: 640px;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
background-color: #000;
}
.media-container {
width: 640px;
height: 640px;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
position: relative;
}
.media-container img, .media-container video {
width: 100%;
height: 100%;
object-fit: cover;
transition: object-position 0.5s ease;
position: absolute;
}
body {
margin: 0;
padding: 0;
overflow: hidden;
}
.media-container {
width: 640px;
height: 640px;
position: relative;
overflow: hidden;
}
.temp-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
align-items: center; /* Center horizontally */
justify-content: top; /* Center vertically */
background-color: rgba(0, 0, 0, 0.2); /* Semi-transparent background for readability */
color: rgba(255, 255, 255, 0.8); /* Text color */
font-family: 'Poppins', sans-serif; /* Use Poppins font */
text-align: center; /* Center text alignment */
}
.title {
margin-top: 100px;
margin-bottom: -175px; /* Space between title and temperature sections */
font-size: 60px; /* Title font size */
}
.temp-container {
display: flex;
justify-content: center; /* Space between CPU and GPU sections */
width: 85%; /* Set the width to 75% */
margin: auto; /* Center the container horizontally */
}
.cpu-temp, .gpu-temp {
flex: 1; /* Equal space for CPU and GPU */
}
h2 {
font-size: 50px; /* Adjust size of the labels (CPU and GPU) */
font-family: 'Poppins', sans-serif; /* Use Poppins font */
margin: -30px 6px; /* Space around labels */
}
.temperature {
font-family: 'Poppins', sans-serif; /* Use Poppins font */
font-size: 125px; /* Size of the temperature reading */
}
.watchface-1-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
z-index: 2;
background-color: rgba(0, 0, 0, 0.4); /* Optional for semi-transparency */
}
.watchface {
position: relative;
width: 600px; /* Increase size to make clock larger */
height: 600px;
border: 0px solid #ffffff;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
}
.center-circle {
position: absolute;
width: 7px; /* Adjust size as needed */
height: 7px; /* Adjust size as needed */
background-color: #ffffff; /* Change this color to match your border or desired color */
border-radius: 100%; /* Make it a circle */
z-index: 10; /* Ensure it appears above the clock hands */
}
.hand {
position: absolute;
top: 50%;
left: 50%;
transform-origin: 0 50%; /* Rotate from center of clock */
transform: rotate(90deg) translate(-50%, -50%); /* Offset to center each hand */
transition: transform 0.05s ease-out;
}
.hour-hand {
width: 120px; /* Length of hour hand */
height: 15px; /* Thickness of hour hand */
border-radius: 20%; /* Make it a circle */
background-color: #fff;
}
.minute-hand {
width: 180px; /* Length of minute hand */
height: 7px; /* Thickness of minute hand */
border-radius: 20%; /* Make it a circle */
background-color: #fff;
}
.second-hand {
width: 200px; /* Length of second hand */
height: 2px; /* Thickness of second hand */
background-color: red;
}
.hour-markers {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
pointer-events: none; /* Make sure the dots don't interfere with clock interaction */
}
.hour-marker {
position: absolute;
width: 20px; /* Size of the dots */
height: 20px; /* Size of the dots */
background-color: white; /* Color of the dots */
border-radius: 50%; /* Make them circular */
transform: translate(-50%, -50%); /* Center the dots on their position */
}