-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
77 lines (66 loc) · 1.39 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
@font-face {
font-family: 'digital-7regular';
src: url('digital7/digital-7-webfont.woff2') format('woff2'),
url('digital7/digital-7-webfont.woff') format('woff');
}
body {
font-family: 'Roboto',sans-serif;
min-height: 100vh;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
margin: 0px;
}
.control{
flex: 0 0 100%;
}
/* Mobile displays */
@media only screen and (max-width: 600px) {
.container {
flex-basis: 65%;
margin: 0px;
padding: 50px;
color: #e2e2e2;
font-family: 'Roboto', sans-serif;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
}
/* Monitors and other bigger displays */
@media only screen and (min-width: 600px){
.container {
flex-basis: 25%;
margin: 0px;
padding: 50px;
color: #e2e2e2;
font-family: 'Roboto', sans-serif;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
}
#clock{
padding: 10px;
font-family: 'digital-7regular', sans-serif;
background-color: grey;
font-size: 36pt;
font-weight: bold;
border-radius: 5px;
}
.footer{
flex: 0 0 100%;
}
.colorBtn{
padding: 0.25rem 0.5rem;
color: #eee;
border: none;
background: rgba(0,0,0,0.5);
font-size: 0.85rem;
text-transform: capitalize;
cursor: pointer;
outline: none;
}
.colorBtn:hover{
background: rgba(0,0,0,0.6);
}
.colorBtn:active{
background-color: rgba(0,0,0,0.95)
}