-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
104 lines (104 loc) · 2.03 KB
/
style.css
File metadata and controls
104 lines (104 loc) · 2.03 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
color: #ffffff;
}
html {
width: 100%;
height: 100%;
}
body {
font-family: "Montserrat", sans-serif;
position: relative;
width: 100%;
height: 100%;
}
main {
width: 100%;
height: 100%;
position: relative;
display: flex;
justify-content: center;
align-items: center;
background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
url("orsrc56939.jpg");
background-repeat: no-repeat;
background-position: center;
background-size: cover;
}
main form {
width: 450px;
height: fit-content;
padding: 12px;
background-color: #2a2a2a;
text-align: center;
border-radius: 15px;
}
main form .form-input {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 12px;
text-align: center;
transition: all 400ms;
}
main form .form-input h4 {
width: 25%;
}
::placeholder {
color: #eeeeee;
}
main form .form-input .name {
width: calc(100% - 30%);
height: 50px;
outline: none;
border: none;
border-radius: 12px;
padding: 12px;
background: transparent;
box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.5),
inset -3px -3px 7px rgba(255, 255, 255, 0.05);
}
main form .form-input .name:focus {
border: 1px solid #ffffff;
background: transparent;
}
main form input[type="submit"] {
margin: 4% auto;
width: fit-content;
padding: 12px;
background: transparent;
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5),
-3px -3px 7px rgba(255, 255, 255, 0.05);
border: none;
border-radius: 8px;
font-size: 18px;
}
@media screen and (max-width: 600px) {
main form {
width: 100%;
height: fit-content;
padding: 12px;
}
main form .form-input {
width: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
margin-top: 12px;
}
main form .form-input .name {
width: 100%;
height: 50px;
outline: none;
border: none;
border-radius: 15px;
padding: 12px;
}
main form .form-input h4 {
width: 100%;
}
}