-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
141 lines (118 loc) · 2.38 KB
/
Copy pathstyle.css
File metadata and controls
141 lines (118 loc) · 2.38 KB
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
/* sets the margin of all the element to 10px on all sides and the background-color to black */
body{
margin: 10px;
background-color: black;
}
/* Home section which has the app name and nav bar. The styling is applied by id */
#home {
background-color: #483355;
padding-bottom: 1cm;
margin-left:-1cm;
margin-right:-1cm;
margin-top:-1cm;
padding-top: 2cm;
padding-bottom: 2cm;
}
/* Application name inside the home section. The styling is applied by tag name */
header {
font-size: 30px;
color: rgb(240, 234, 245);
float: left;
padding-left: 2cm;
}
/* Navigation Bar Container*/
.topdiv {
float: right;
padding-right: 1cm;
}
/* Navigation Bar Buttons */
.topmenu {
color: lightgray;
background-color: #483355;
margin: 10px;
padding: 10px;
font-size: 20px;
text-decoration:none;
border-radius: 1mm;
}
.topmenu:hover {
color: white;
font-weight: bolder;
background-color: #382742;
text-decoration: underline;
}
/* Container for all the three conversion calculator sections */
#all-conversion-sections{
display: grid;
justify-content: center;
}
figure {
float:left;
justify-self: auto;
width:200px
}
img {
width: 200px;
}
figcaption {
color:black;
font-size: 17px;
text-align: center;
}
button{
font-size: 20px;
border: transparent;
width: fit-content;
background-color: rgb(173, 218, 173);
border-radius: 40px;
padding-right: 15px;
padding-left: 15px;
}
button:hover {
cursor: pointer;
}
/* The calculator panel */
.b{
border-top-style: solid;
background-color: white;
border-top-width: 20px;
width: 600px;
height: 400px;
border-radius: 10px;
margin-bottom: 25px;
margin-top: 25px;
display: flex;
}
.temperature{
border-top-color: green;
}
.weight{
border-top-color: coral;
}
.distance{
border-top-color: cyan;
}
legend {
font-size: 30px;
font-weight: bolder;
}
/* Floating icon for the home button */
.iconbutton{
width:40px;
height:40px;
border-radius: 100%;
background-color: rgb(225, 235, 235);
display: flex;
align-items: center;
justify-content: center;
position: fixed;
bottom:40px;
left:0;
}
.iconbutton img {
width:30px
}
footer {
background-color:rgb(240, 234, 245);
margin-top: 20px;
}