-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
110 lines (100 loc) · 2.04 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
107
108
109
110
*{
margin:0px;
padding:0px;
box-sizing: border-box;
/* border: red solid 1px; */
}
body{
display: flex;
justify-content: center;
}
.container{
display: flex;
flex-direction: column;
width:25%;
padding:2px 5px;
background-color: black;
border-radius: 10px;
}
.dashboard{
background-color: black;
width:100%;
height:25vh;
}
.calculator{
padding: 1rem;
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr;
grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
border:1px solid black;
height:50%;
text-align: center;
grid-gap: 4px;
}
.pn,.back,.AC{
color:black;
background-color: grey;
border:none
}
button{
font-family: Arial, Helvetica, sans-serif;
font-size: 2rem;
font-weight: bolder;
width:90%;
height:9vh;
border-radius: 40%;
text-align: center;
}
.divide{
font-family: Arial, Helvetica, sans-serif;
font-size: 2rem;
font-weight: bolder;
width:90%;
height:9vh;
border-radius: 40%;
text-align: center;
vertical-align: center;
}
.zero{ background-color:rgb(87, 85, 85);
color:white;
border:none;
border-radius: 15px;
}
.divzero{
width: 100%;
grid-column: 1/3;
grid-row: 5/6;
}
.minus,.plus,.equal,.divide,.times{
color:white;
background-color: darkorange;
border:none;
}
.number,.point{
background-color:rgb(87, 85, 85);
color:white;
border:none;
}
.firstdashboard,.seconddashboard{
color:white;
text-align: right;
width:100%;
height:12vh;
font-family: Arial, Helvetica, sans-serif;
font-size: 2rem;
display: flex;
flex-direction: column;
justify-content: end;
}
.firstdashboard{
font-size:1.2rem;
}
@media screen and (max-width:1200px){
.container{width:40% ;}
}
@media screen and (max-width:650px){
.container{width:60% ;}
}
@media screen and (max-width:411px){
.container{width:100% ;}
}