-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
60 lines (52 loc) · 1.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
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500&display=swap');
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Montserrat', sans-serif;
text-align: center;
display: flex;
align-items: center;
justify-content: center;
min-height: 100vh;
background-image: linear-gradient(315deg, #bdd4e7 0%, #8693ab 74%);
}
.calculator {
background-color: #fff;
width: 320px;
border-radius: 20px;
}
input[type='text'] {
height: 50px;
width: 290px;
margin-top: 20px;
padding: 10px;
border-radius: 10px;
border: 1px solid grey;
outline: none;
text-align: right;
font-weight: 500;
font-size: 22px;
}
.buttons {
width: 290px;
margin: 20px auto;
}
input[type='button'] {
width: calc(250px / 4);
font-size: 20px;
padding: 8px;
margin: 3px;
border-radius: 4px;
border: 1px solid gray;
cursor: pointer;
transition: background-color 0.2s;
}
.clear input[type='button'] {
width: calc(270px / 2);
}
input[type='button']:hover {
background-color: lightgray;
}