-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
101 lines (80 loc) · 1.54 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
html {
background-color: #333232;
height: 100%;
}
h1 {background-color: purple; font-size: 40px; font-family: verdana;
border: 5px solid #996633; margin-left: auto; margin-right: auto; padding: 10px; margin-left: 10pc; margin-right: 10pc;
}
#container {
height: 200px;
width: 700px;
background-color: purple;
margin: 0 auto;
border: 5px solid #996633;
display: grid;
grid-template-columns: repeat(5, 1fr);
grid-template-rows: repeat(3, 1fr);
}
/*label*/
.label {
margin: 0;
justify-self: center;
align-self: center;
font-size: 30px;
color:yellow;
}
#hour-label {
grid-area: 1 / 2 / 1 / 3;
}
#min-label {
grid-area: 1 / 3 / 1 / 4;
}
#sec-label {
grid-area: 1 / 4 / 1 / 5;
}
/*times*/
.time {
justify-self: center;
align-self: center;
color:yellow;
border: none;
background-color: #ffffff00;
font-size: 50px;
width: 70px;
height: 50px;
}
#hour {
grid-area: 2 / 2 / 2 / 3;
}
.semicolon {
justify-self: center;
align-self: center;
font-size: 30px;
margin: 0;
}
#p1 {
grid-area: 2 / 2 / 2 / 4;
}
#minute {
grid-area: 2 / 3 / 2 / 4;
}
#p2 {
grid-area: 2 / 3 / 2 / 5;
}
#sec {
grid-area: 2 / 4 / 2 / 5;
}
/*buttons*/
.btn {
align-self: center;
width: 100px;
height: 40px;
font-size: 30px;
justify-self: center;
}
#start {
grid-area: 3 / 2 / 3 / 4;
}
#reset {
grid-area: 3 / 3 / 3 / 5;
}