forked from tarunsinghofficial/HacktoberFest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cal.css
90 lines (81 loc) · 1.49 KB
/
Cal.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
*
{
box-sizing: border-box;
}
#calculator
{
width:45%;
height:80%;
min-width: 500px;
min-height: 400px;
background-color: #949494;
margin:auto;
margin-top:80px;
border:2px solid #e2e0e0;
border-radius: 5px;
padding: 10px;
}
#calculator h1
{
background-color: #ccbaba;
color:white;
text-transform: uppercase;
text-align: center;
padding: 10px;
}
#display-container
{
font-size: 2.8rem;
display: flex;
align-content: flex-end;
justify-content: flex-end;
color:#7f6cfc;
width: 100%;
height: 20%;
min-height: 100px;
background-color: #e8e8e8;
border-radius: 5px;
margin-bottom: 10px;
}
#display-container p{
font-size: 2.5rem;
vertical-align: text-bottom;
}
#buttons-container
{
width:100%;
height: 80%;
min-height: 300px;
border: 1px solid #e2e0e0 ;
border-radius: 5px;
background-color: #e2e0e0;
display: flex;
flex-flow: row wrap;
justify-content: space-around;
}
.button
{
width:25%;
height: 15%;
min-height: 60px;
display: flex;
align-items: center;
justify-content: center;
border: 1px solid #e2e0e0 ;
background-color: white;
font-size: 1.8rem;
cursor:pointer;
transition-duration: 3s;
}
.button:hover{
background-color: #ffc877;
cursor:pointer;
}
.red
{
background-color: #c14444;
}
#button-zero
{
width: 70%;
}