-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
101 lines (100 loc) · 2.19 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
@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;500&display=swap');
#container{
width:80%;
margin:auto;
max-width: 1050px;
}
h3{
font-family: 'Fira Sans', sans-serif;
font-size: 40px;
color: #ed553b;
margin: 20px 0;
}
#calculator{
display: grid;
position: relative;
grid-template-columns: repeat(5,1fr); /**/
grid-gap: 10px; /**/
}
#calculator h3{
grid-column: 1 / 3; /**/
}
#output-1{
box-sizing: border-box;
width: 100%;
height: 70px;
padding: 35px 0px 10px 7px;
border-radius: 10px;
border: solid 2px #20639b;
margin-right: 100px;
grid-column: 1/6;
outline: none;
font-family: 'Ubuntu', sans-serif;
font-size: 29px;
cursor: pointer;
}
#output-1:focus{ border: solid 3px #75b6eb;}
#output-2{
box-sizing:border-box;
position: absolute;
padding: 0px 0px 10px -100px;
top: 111px;
left:5px;
width:98%;
height: 25px;
border:none;
border-bottom: 5px #20639b ;
grid-column: 1/6; /**/
outline: none;
font-family: 'Ubuntu', sans-serif;
font-style: italic;
font-size: 14px;
color:rgb(172, 172, 172);
cursor: pointer;
}
.button{
width: 100%;
height: 60px;
border-radius: 10px;
background-color: #f6d55c;
border: none;
outline: none;
font-family: 'Ubuntu', sans-serif;
font-size: 32px;
color: #3caea3;
cursor:pointer;
}
.button:hover{
opacity: .7;
}
.button:focus{
background-color:rgb(255, 38, 0);
color:rgb(235, 235, 235);
}
.result{
grid-column: 3 / 6; /**/
background-color: #3caea3;
color: #f6d55c;
}
.Addition , .division,
.multiplication , .subtraction{
background-color: #3caea3;
color: #f6d55c;
}
.trans{
background-color: #359c92ab;
color: #f6d55c;
}
._0 ,._1 ,._2 ,._3 ,._4 ,._5 ,._6 ,._7 ,._8 ,._9, ._dot{
background-color: #e4e4e4;
color: #ed553b;
}
@media (min-width: 900px){
#container{
width:55%;
}
#calculator{
grid-gap: 20px;
}
}