-
Notifications
You must be signed in to change notification settings - Fork 0
/
style2.css
74 lines (65 loc) · 1.38 KB
/
style2.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
body {
margin: 0;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: linear-gradient(90deg, rgba(93, 99, 204, 1) 0%, rgba(245, 240, 242, 1) 100%, rgba(0, 212, 255, 1) 100%);
font-family: monospace, sans-serif;
color: #0d5370;
}
.container {
background: rgba(252, 160, 160, 0.3);
padding: 20px;
border-radius: 10px;
box-shadow: 0 0 4px 10px rgba(0, 0, 0, 0.3);
width: 85%;
max-width: 800px;
min-height: 300px;
display: flex;
flex-direction: column;
align-items: center;
}
.heading {
font-size: 32px;
}
.temp-container {
width: 100%;
padding: 15px;
font-weight: bold;
font-size: 18px;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
}
input {
width: 60%;
font-family: monospace;
padding: 5px;
outline: none;
background: rgba(246, 122, 133, 0.3);
border-color: rgba(255, 255, 255, 0.6);
color: darkblue;
font-size: 18px;
}
input::placeholder {
color: crimson;
}
/* Responsive CSS */
@media (min-width: 600px) {
.container {
width: 70%;
}
input {
width: 50%;
}
}
@media (min-width: 900px) {
.container {
width: 60%;
}
input {
width: 40%;
}
}