-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.scss
105 lines (89 loc) · 1.59 KB
/
styles.scss
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
@font-face {
font-family: 'digits';
src: url('digits.ttf');
}
body {
background-image: linear-gradient(to left top, #355e2e, #2AF00B);
background-size: cover;
text-align: center;
width: 100vw;
height: 100vh;
margin: 0;
display: flex;
flex-direction: column;
justify-content: center;
}
.container {
align-self: center;
border: 5vw solid #000000;
width: 50vw;
}
.foot {
width: 3vw;
height: 4vw;
background-color: #000000;
align-self: center;
}
.activate-alarm button {
background-color: #000000;
color: #355e2e;
font-size: 2vw;
font-weight: bold;
border: 1vw solid #000000;
width: 30vw;
}
#setAlarm {
width: 30vw;
display: none;
justify-content: center;
flex-flow: wrap;
align-self: center;
}
#setAlarm > input {
background-color: #355e2e;
border: 1px solid #000000;
width: 10vw;
height: 3vw;
font-size: 2vw;
}
.week-days {
display: grid;
grid-template-columns: repeat(7, 1fr);
font-size: 2vw;
}
.week-days > div {
opacity: 0.2;
}
.active {
opacity: 1 !important;
font-weight: bold;
}
.clock {
display: grid;
grid-template-columns: 1fr 6fr 1fr;
}
.icon-clock, .periods {
align-self: end;
font-size: 2.5vw;
}
.time {
font-size: 8vw;
}
.icon-clock, p {
margin: 0;
opacity: 0.2;
}
@media (max-width: 1024px) {
.container {
width: 80vw;
}
.icon-clock, .week-days, .periods {
font-size: 4vw;
}
.time {
font-size: 14vw;
}
.activate-alarm {
margin-top: -3px;
}
}