Skip to content

Commit 1aff7c8

Browse files
committed
style: revert to standard basic ui layout
1 parent 895d8c6 commit 1aff7c8

1 file changed

Lines changed: 34 additions & 44 deletions

File tree

Sprint-3/alarmclock/style.css

Lines changed: 34 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,94 +1,84 @@
11
body {
2-
background-color: #1a1a1a;
3-
font-family: 'Courier New', Courier, monospace;
4-
color: #00ff00;
2+
background-color: #f0f0f0;
3+
font-family: Arial, Helvetica, sans-serif;
4+
color: #333;
55
display: flex;
66
justify-content: center;
77
align-items: center;
88
min-height: 100vh;
99
margin: 0;
10-
transition: background-color 0.5s ease;
1110
}
1211

1312
.flash {
14-
animation: flash-bg 0.5s infinite alternate;
15-
}
16-
17-
@keyframes flash-bg {
18-
from { background-color: #ff0000; }
19-
to { background-color: #330000; }
13+
background-color: #ffcccc !important; /* Pastel red for alarm */
2014
}
2115

2216
.container {
23-
background-color: #000;
24-
border: 4px solid #333;
25-
border-radius: 20px;
26-
padding: 40px;
27-
box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
17+
background-color: #ffffff;
18+
border: 1px solid #ccc;
19+
border-radius: 8px;
20+
padding: 30px;
21+
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
2822
text-align: center;
2923
max-width: 500px;
3024
width: 90%;
3125
}
3226

3327
h1 {
34-
font-size: 3rem;
35-
margin-bottom: 30px;
36-
text-shadow: 0 0 10px #00ff00;
28+
font-size: 2.5rem;
29+
margin-bottom: 20px;
30+
color: #333;
3731
}
3832

3933
.input-group {
40-
margin-bottom: 25px;
34+
margin-bottom: 20px;
4135
}
4236

4337
label {
4438
display: block;
45-
margin-bottom: 10px;
46-
font-size: 1.2rem;
39+
margin-bottom: 8px;
40+
font-size: 1.1rem;
4741
}
4842

4943
input {
50-
background-color: #111;
51-
border: 2px solid #00ff00;
52-
color: #00ff00;
5344
padding: 10px;
54-
font-size: 1.5rem;
55-
border-radius: 5px;
56-
width: 120px;
45+
font-size: 1.2rem;
46+
border: 1px solid #ccc;
47+
border-radius: 4px;
48+
width: 100px;
5749
text-align: center;
58-
font-family: inherit;
5950
}
6051

6152
input:focus {
6253
outline: none;
63-
box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
54+
border-color: #007bff;
6455
}
6556

6657
.controls {
6758
display: flex;
68-
gap: 15px;
59+
gap: 10px;
6960
justify-content: center;
7061
}
7162

7263
button {
73-
background-color: #1a1a1a;
74-
color: #00ff00;
75-
border: 2px solid #00ff00;
64+
background-color: #007bff;
65+
color: white;
66+
border: none;
7667
padding: 10px 20px;
77-
font-size: 1.1rem;
68+
font-size: 1rem;
7869
cursor: pointer;
79-
border-radius: 5px;
80-
font-family: inherit;
81-
font-weight: bold;
82-
transition: all 0.2s;
83-
text-transform: uppercase;
70+
border-radius: 4px;
71+
transition: background-color 0.2s;
8472
}
8573

8674
button:hover {
87-
background-color: #00ff00;
88-
color: #000;
89-
box-shadow: 0 0 15px #00ff00;
75+
background-color: #0056b3;
76+
}
77+
78+
button#stop {
79+
background-color: #dc3545;
9080
}
9181

92-
button:active {
93-
transform: translateY(2px);
82+
button#stop:hover {
83+
background-color: #a71d2a;
9484
}

0 commit comments

Comments
 (0)