-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
116 lines (96 loc) · 1.48 KB
/
main.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
html {
height: 100%;
}
body {
height: 100%;
overflow: hidden;
direction: rtl;
padding: 5px;
}
.spinner-container {
position: absolute;
top: 50%;
left: 50%;
}
.container {
height: 90%;
width: 50%;
margin: auto;
padding: 30px;
}
#city-holder {
display: none;
}
.current-location-holder {
text-align: center;
height: 48px;
margin-bottom: 12px;
}
.current-location-holder > p {
font-weight: bold;
margin-bottom: 0;
}
.container > .data {
/* height w/o location holders */
height: calc(100% - 120px);
margin: auto;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-around;
}
.footer {
height: 10%;
display: flex;
justify-content: space-around;
}
.footer > * {
margin: 0 6px;
}
.highlight-text {
background: lightgreen;
}
@media only screen and (max-width: 500px) {
.my-row {
width: calc(33.3% - 10px);
}
}
@media only screen and (min-width: 501px) {
.my-row {
min-width: 73px;
}
}
@media only screen and (min-width: 950px) {
.my-row {
min-width: 100px;
}
}
.my-row {
height: 100px;
text-align: center;
transition: transform 0.3s;
}
.my-row:hover, .my-row:active {
transform: rotate(360deg);
}
.my-row > .category-title {
margin: 0;
height: 40px;
border-bottom: 1px solid black;
}
.my-row {
width: 150px;
}
.my-row > .value-container {
display: flex;
height: calc(100% - 40px);
justify-content: center;
align-items: center;
}
.card-body {
height: 120px;
}
#bug-btn {
display: flex;
align-items: center;
}