-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
90 lines (86 loc) · 1.35 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
body {
direction: rtl;
background-color: #212121;
}
/* Mobile style */
.container {
display: grid;
grid-template-areas:
"hd"
"con1"
"con2"
"result"
"btn";
color: aliceblue;
}
/* computer style */
@media (min-width: 768px) {
.container {
grid-template-areas:
"hd"
"con1 con2"
"result"
"btn";
grid-template-rows: minmax(200px, 1fr);
}
}
.container > * {
padding: 10px;
margin: 0;
background-color: navy;
}
.title {
grid-area: hd;
background-color: #333;
}
.table-options {
grid-area: con1;
}
.input {
grid-area: con2;
}
.results {
background-color: #333;
grid-area: result;
}
.button {
grid-area: btn;
}
.red {
background-color: red;
padding: 10px;
}
.green {
background-color: green;
padding: 10px;
}
.alert {
background-color: gold;
color: #333;
padding: 10px;
}
input,
select,
label,
button {
padding: 10px;
font-size: 24px;
}
input,
select,
label,
button,
.green,
.red,
.alert {
transition: all 0.5s linear;
border-radius: 5px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
-ms-border-radius: 5px;
-o-border-radius: 5px;
-webkit-transition: all 0.5s linear;
-moz-transition: all 0.5s linear;
-ms-transition: all 0.5s linear;
-o-transition: all 0.5s linear;
}