-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
72 lines (72 loc) · 1.31 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
* {
box-sizing: border-box;
padding: 0;
margin: 0;
}
body {
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background-image: linear-gradient(to right, #b71540, #0c2461);
color: #fff;
}
h1 {
position: absolute;
top: 25px;
left: 50%;
transform: translateX(-50%);
color: #fa8231;
font-size: 2.9rem;
text-align: center;
}
.container {
padding: 10px 20px;
border: 3px solid #fa8231;
border-radius: 20px;
width: 35%;
min-width: 350px;
max-width: 900px;
min-height: 30vh;
background-color: rgba(255, 255, 255, 0.15);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 20px;
}
.container > * {
display: block;
width: 100%;
}
.container label {
font-size: 1.3rem;
}
input,
button {
height: 30px;
}
input {
padding: 5px 10px;
}
#btn {
background-color: #fa8231;
outline: none;
border: none;
border-radius: 5px;
color: rgb(244, 241, 241);
font-size: 1.2rem;
cursor: pointer;
transition: 0.2s;
}
#btn:hover {
transform: scale(1.03);
background-color: #fd9644;
}
#result {
font-size: 1.2rem;
visibility: hidden;
text-align: center;
font-style: italic;
}