-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
67 lines (67 loc) · 1.54 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
html{
font-size:10px;
color: darkblue;
font-family:system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
body{
background-image: linear-gradient(45deg, rgb(245, 185, 94), rgb(113, 230, 214), rgb(52, 52, 226));
}
h1{
width:100%;
text-align: center;
font-size:5rem;
padding-block:1em
}
form{
background-color:#fff;
box-shadow: 0 2px 4px 1px rgb(0 0 0 / 40%), 0 8px 16px 1px rgb(0 0 0 / 40%);
width:55%;
margin-inline:auto;
padding:4em;
display: flex;
flex-direction: column;
background-image: linear-gradient(135deg, rgb(230, 164, 42), rgb(233, 59, 59));
padding-inline:6em;
border-radius:20px;
}
input, #result{
width:100%;
padding:1em;
padding-inline-start:2em;
margin-block:1em;
margin-inline-start: -1em;
color:rgb(22, 23, 26);
border-radius: 10px;
}
#result{
background-color:#fff;
aspect-ratio: 25/1;
text-align: center;
font-size:2rem;
font-family:Arial, Helvetica, sans-serif;
width:100%;
padding-block-end:.5em;
}
#btn{
cursor: pointer;
width:90%;
padding:2em;
padding-block:.75em;
border:0;
background-image: linear-gradient(30deg, black,white, black);
border-radius:30px;
margin-block-start: 1em;
text-align: center;
font-size: 1.75rem;
font-weight: 500;
color: black;
}
input:focus{
outline-offset:3px;
outline:5px solid #9e437f;
}
label{
font-size:2rem;
color: #420042;
font-weight: 600;
}