-
Notifications
You must be signed in to change notification settings - Fork 0
/
mystyle.css
149 lines (133 loc) · 3.1 KB
/
mystyle.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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;1,300;1,500&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box; /* This ensures that padding and border are included in element's width and height */
}
body {
margin: 0; /* Remove default body margin */
height: 100vh; /* Set the body height to fill the viewport */
width: 100%;
background-image: url("https://img.freepik.com/free-vector/halftone-background-with-circles_23-2148907689.jpg?w=1060&t=st=1692787309~exp=1692787909~hmac=7e53577b87b61847f9b762cba37f8151bc7b9079783e48956c91457d43e8a7e1");
background-repeat: no-repeat;
background-size: cover;
display: flex;
justify-content: space-between;
flex-direction: column;
align-items: center;
}
h1 {
width: 50%;
height: 15%;
margin-top: 50px;
display: flex;
justify-content: center;
text-align: center;
font-family: 'Montserrat', sans-serif;
font-size: 40px;
font-weight: bold;
color: #B0A4A4;
background-color: #7A316F;
padding: 20px;
border: 1px solid blueviolet;
border-radius: 10px;
text-transform: uppercase;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
div.input-group {
width: 55%;
height: 18em;
background-color: #7A316F;
border: 1px solid blueviolet;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
display: flex;
flex-wrap: wrap;
}
.instruction {
padding: 20px 0 0 20px;
font-family: 'Montserrat', sans-serif;
font-size: 23.5px;
font-weight: bold;
color: #B0A4A4;
display: flex;
justify-content: center; /*PERCHE NON ME LO CENTRA??*/
align-content: center;
flex-wrap: wrap;
}
.temperatures {
height: 70%;
width: 100%;
display: flex;
flex-direction: column;
justify-content: space-evenly;
align-content: center;
flex-wrap: wrap;
}
.kelvin, .celsius {
height: 35%;
width: 100%;
font-family: 'Montserrat', sans-serif;
font-size: 20px;
font-weight: bold;
color: #B0A4A4;
}
.kelvin {
display: flex;
flex-direction: row;
justify-content: space-around;
flex-wrap: wrap;
}
.celsius {
height: 35%;
width: 100%;
display: flex;
flex-direction: row;
justify-content: space-around;
flex-wrap: wrap;
}
#klabel {
height: 35%;
width: 50%;
display: flex;
flex-direction: row;
justify-content: center;
flex-wrap: wrap;
}
.insert {
height: 35%;
width: 50%;
display: flex;
flex-direction: row;
justify-content: space-evenly;
flex-wrap: wrap;
}
#input {
height: 35px;
width: 200px;
}
#clabel {
width: 50%;
display: flex;
justify-content: center;
}
.output {
width: 50%;
display: flex;
justify-content: center;
}
#celsius {
height: 30px;
width: 270px;
}
footer {
width: 100%;
margin-right: 20px;
display: flex;
justify-content: flex-end;
z-index: 1;
font-family: 'Montserrat', sans-serif;
font-size: 15px;
font-weight: 300;
color: #fff;
}