-
Notifications
You must be signed in to change notification settings - Fork 4
/
styles.css
114 lines (97 loc) · 2.09 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
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
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700,900&display=swap');
html {
height: 100vh;
}
body {
font-family: 'Roboto', sans-serif;
max-width: 700px;
margin: auto;
background-image: url("dan-gold-E6HjQaB7UEA-unsplash.jpg");
background-size: 100%;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
height: 100vh;
background-position: center center;
background-size: cover;
}
.calculator-container {
background-color: rgb(155, 168, 159, 0.7);
height: 400px;
width: 400px;
display: flex;
flex-direction: column;
justify-content: center;
border-radius: 20px;
}
.data-for-calculator{
display: flex;
flex-direction: column;
align-items: center;
margin: 0px 50px 10px 50px;
}
.data-for-calculator input {
margin: 10px;
display: flex;
text-align: center;
font-family: 'Roboto', sans-serif;
font-size: 18px;
border: 1px solid #7a8388;
box-shadow: 2px 2px 2px 0px rgba(0,0,0,0.31);
}
.title h1 {
display: flex;
justify-content: center;
font-size: 40px;
font-weight: 500;
color: #ecae35;
}
h1 {
margin: 0 10px 10px 10px;
}
.button-flex {
display: flex;
flex-direction: row;
justify-content: center;
}
#calculate-button, #reset-button {
margin: 0 15px 10px 20px;
font-family: 'Roboto', sans-serif;
font-size: 20px;
background-color: #fabc2b;
color: #ffffff;
border: none;
border-radius: 10px;
}
#reset-button {
padding: 3px 20px;
}
.calculate-result {
display: flex;
flex-direction: column;
align-items: center;
margin: 0 50px 0 50px;
}
.calculate-result p {
margin: 5px 0;
color: #ffffff;
font-size: 20px;
font-weight: bold;
}
.result {
display: flex;
flex-direction: row;
}
.result > p:first-child {
margin-right: 10px;
}
.result > p:last-child {
font-size: 20px;
}
@media (max-width: 1000px) {
body {
background-image: url("dan-gold-E6HjQaB7UEA-unsplash_vertical.jpg");
background-repeat: no-repeat;
}
}