-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
97 lines (85 loc) · 1.63 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
@import url("https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400;700&display=swap");
* {
margin: 0;
padding: 0;
}
html {
background: url(https://images.unsplash.com/photo-1526304640581-d334cdbbf45e?ixid=MnwxMjA3fDB8MHxzZWFyY2h8NXx8bW9uZXl8ZW58MHx8MHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=900&q=60)
no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
html::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.6);
}
body {
/* background-color: rgb(139, 121, 81); */
font-family: "Lato", sans-serif;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
width: 100vw;
height: 90vh;
}
.container {
background-color: rgb(19, 82, 55);
height: 50%;
width: 50%;
display: flex;
align-items: center;
justify-self: center;
flex-direction: column;
border-radius: 15px;
padding-top: 50px;
box-shadow: 5px 5px 8px rgb(7, 14, 7);
z-index: 10;
}
h1 {
margin-bottom: 10px;
}
.settings {
width: 90%;
text-align: center;
}
.container input[type="number"] {
padding: 5px;
display: inline-flex;
border-radius: 5px;
}
.btn {
width: 15%;
border-radius: 5px;
margin-top: 5px;
padding: 5px 0;
margin-bottom: 20px;
font-size: 18px;
}
.calc-div {
font-size: 35px;
}
/* Media Queries */
@media screen and (max-width: 480px) {
.container {
width: 85%;
}
.btn {
width: 20%;
}
}
@media screen and (max-width: 945px) {
.container {
width: 75%;
}
.btn {
width: 20%;
}
}