-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
83 lines (78 loc) · 1.39 KB
/
styles.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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
.calculator{
display: flex;
justify-content: center;
flex-direction: column;
margin-top:20vh;
background: rgb(51, 129, 124);
margin-left: 10px;
margin-right: 10px;
}
.calculator-keys{
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr ;
gap: 3px;
margin: 10px;
}
.calculator-display{
font-weight: bold;
mix-blend-mode: screen;
color: #ffffff;
height: 30px;
text-align: end;
padding: 20px;
font-size: 1.3rem;
}
button{
background-color: #eee;
border: none;
padding: 10px;
}
button#decImal{
font-weight: bold;
}
.pressed{
background-color: darkblue;
color: #ffffff;
}
h1{
color: rgb(51, 129, 124);
text-align: center;
text-transform: uppercase;
font-size: 1.8rem;
}
p {
text-align: center;
}
@media(min-width: 900px){
.calculator-keys{
height: 49vh;
}
.calculator-display{
height: 60px;
text-align: end;
padding: 20px;
font-size: 1.9rem;
}
.pressed{
background-color: black;
color: white;
}
p{
color: #ffffff;
padding: 10px;
}
button{
font-size: 1.3rem;
}
body{
background: url('./back.gif');
background-position: center;
background-repeat: no-repeat;
background-size: 110%;
}
}