-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstylesheet.css
114 lines (109 loc) · 2.08 KB
/
stylesheet.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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
background-image: url(img/27409.png);
background-size: cover;
background-attachment: fixed;
}
.container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 100%;
padding: 100px 30px;
padding-bottom: 150px;
}
.header {
height: 120px;
width: 100%;
font-family: 'Poppins', sans-serif;
font-weight: 400;
text-align: center;
margin:0 auto;
}
.header h1 {
color: white;
letter-spacing: 3px;
}
.header p {
color: white;
line-height: 32px;
}
.line {
margin: 5px auto;
height:2px;
width: 60px;
background-color: white;
}
.calculator {
text-align: center;
margin: 0 auto;
padding-top: 20px;
width: 400px;
}
.calculator-screen {
width: 100%;
height: 100px;
background-color: rgb(255, 255, 255);
color: rgb(43, 43, 43);
text-align: right;
font-size: 2.5rem;
border-radius: 15px;
padding: 0 20px;
border: none;
box-shadow: 4px 6px 14px rgba(126, 26, 146, 0.645);
margin-bottom: 30px;
}
/* Button hover */
button {
height: 60px;
font-size: 24px;
border: 2px solid rgb(255, 255, 255);
background-color: rgb(73, 73, 73);
color: white;
width: 20%;
font-weight: bold;
outline: none;
border-radius: 5px;
margin: 5px;
transition: 0.1s linear;
}
.key {
background-color: rgb(11, 170, 141);
}
.key:hover {
background-color: rgb(52, 94, 86);
}
/* Button hover */
button:hover {
cursor: pointer;
background-color: rgba(75, 75, 75, 0.741);
}
.all-clear, .zero-btn {
width: 42.5%;
}
.row {
display: flex;
justify-content: center;
}
.calculator-keys {
width: 100%;
}
@media (max-width:670px) {
.calculator {
width: 300px;
}
.container {
height: 750px;
}
.all-clear, .zero-btn {
width: 43%;
}
}