-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
106 lines (87 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
102
103
104
105
106
* {
box-sizing: border-box;
}
body {
font-family: sans-serif;
}
.flex-container-column {
display: flex;
flex-direction: column;
max-width: 800px;
margin: auto;
text-align: right;
}
.flex-container-row {
display: flex;
}
.button {
flex-basis: 25%;
font-size: 1.5em;
text-align: center;
padding: 40px;
border: 1px solid black;
background: -webkit-linear-gradient(top, #d2d2d2, #ddd);
cursor: pointer;
}
.double {
flex-basis: 50%;
}
.display {
color: white;
width: 100%;
padding: 10px 20px;
background-color: #333333;
border: 1px solid black;
font-size: 2em;
}
.operator,
.negative,
.equals {
background: orange;
}
.card {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
border-radius: 5px;
padding: 30px;
margin-top: 20px;
}
.button:hover {
font-weight: bold;
}
@media screen and (max-width:513px) {
.button {
padding: 10px;
margin: auto;
}
}
.history {
width: 80%;
margin: 30px auto 0 auto;
overflow: scroll;
}
table {
border-collapse: collapse;
border-spacing: 0;
width: 100%;
border: 1px solid #ddd;
}
th,
td {
text-align: center;
padding: 16px;
}
th {
background-color: orange;
color: white;
}
tr:nth-child(even) {
background-color: #d2d2d2;
}
@media screen and (max-width: 513px) {
.button {
padding: 10px;
}
.history {
width: 100%;
}
}