-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathStyle.css
129 lines (105 loc) · 2 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
@import url('https://fonts.googleapis.com/css2?family=Inter&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--primary-color: #313131;
--secondary-color: #f69906;
--third-color: #9f9f9f;
--fourth-color: #f6f6f6;
--fifth-color: #000000;
}
body {
width: 50%;
margin: 0 auto;
background-color: var(--fifth-color);
text-align: center;
font-family: 'Inter', sans-serif;
}
.heading {
margin: 1.6rem auto;
color: var(--secondary-color);
padding: 1rem 0;
font-size: 1.5rem;
font-family: Georgia, 'Times New Roman', Times, serif;
}
.holder{
border-radius: 40px;
width: 60%;
margin: auto;
box-shadow: rgba(107, 107, 109, 0.459) 0px 50px 100px -20px, rgba(0, 0, 0, 0.696) 0px 30px 60px -30px, rgba(133, 134, 135, 0.906) 0px -2px 6px 0px inset;
/* background-color: var(--fourth-color); */
}
input {
width: 95%;
outline: 0;
border: none;
font-size: 4rem;
text-align:right;
padding: 5px 20px;
margin: 20px auto 0;
color: var(--fourth-color);
border-radius: 40px;
background-color: var(--fifth-color);
}
input::placeholder{
color: var(--fourth-color);
}
.content{
margin: 1rem .6rem ;
padding: 1rem 0;
}
.row{
display: flex;
flex-direction:row;
justify-content: center;
}
button {
width: 25%;
margin:0.3rem;
border: none;
padding: 15px;
font-size: 40px;
border-radius: 50px;
color: var(--fourth-color);
background-color: var(--primary-color);
}
.operator{
background-color: var(--secondary-color);
}
.special{
width: 240px;
text-align: left;
padding-left: 40px;
}
.action{
background-color: var(--third-color);
color: var(--fifth-color);
}
footer{
color:var(--third-color);
margin-top: 2rem;
}
@media only screen and ( max-width: 700px){
body{
width: 100%;
}
.heading{
margin: 1.6rem auto;
font-size: 4vw;
}
.holder{
width: 90%;
}
input{
width: 99%;
padding-top: 4px;
padding-bottom: 4px;
}
.special{
width: 45vw;
padding-left: 8vw;
}
}