-
-
Notifications
You must be signed in to change notification settings - Fork 133
/
Copy pathstyle.css
121 lines (104 loc) · 1.92 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
body {
background-color: #F0F2F5;
display: flex;
flex-direction: column;
padding-top: 5%;
padding-bottom: 5%;
}
.calc {
display: flex;
flex-direction: column;
margin: auto;
margin-top: 30px;
width: 50%;
padding-bottom: 20px;
background-color: #fff;
border: 1px solid #D9DBDE;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
border-radius: 10px;
}
.objects {
display: flex;
margin: 25px;
justify-content: space-evenly;
}
.objects > h3 {
font-size: 25px;
font-weight: 600;
font-family: 'Source Sans Pro', sans-serif;
margin-top: 0px;
width: 50%;
text-align: center;
}
input {
height: 50px;
width: 170px;
padding-left: 10px;
padding-right: 10px;
box-shadow: 0 5px 15px rgba(73, 72, 72, 0.3);
border-radius: 10px;
outline: none;
border: 1px solid rgba(0, 0, 0, 0.3);
text-align: center;
margin-left: 10px;
}
.result {
padding: 10px;
display: flex;
justify-content: center;
}
h4 {
margin: 0 10px;
font-size: 20px;
font-family: 'Mukta', sans-serif;
font-weight: 600;
}
h1 {
margin: auto;
font-family: 'Mukta', sans-serif;
font-weight: 600;
color: #a8a6a6;
text-align: center;
}
span {
word-wrap: break-word;
max-width: 70%;
padding-top: 7px;
}
.calculate-div {
text-align: center;
padding: 20px 0;
}
.calculate-btn {
height: 35px;
width: 100px;
border-radius: 10px;
}
.calculate-btn:hover {
cursor: pointer;
}
@media (min-width: 900px) and (max-width: 1100px) {
.calc {
width: 65%;
}
}
@media (max-width: 900px) {
.calc {
width: 80%;
}
.objects {
flex-direction: column;
align-items: center;
}
h3 {
margin-bottom: 20px;
}
input {
width: 150px;
margin-left: 0;
}
.result {
flex-direction: column;
align-items: center;
}
}