-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
96 lines (96 loc) · 1.79 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
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
*{
margin:0;
padding:0;
box-sizing:border-box;
user-select: none;
}
:root{
--primary:orange;
}
body{
background: #303030;
font-family:Raleway;
}
.submit{
display:flex;
min-height:100vh;
justify-content: center;
align-items: center;
padding:1rem;
}
form{
display:flex;
flex-direction: column;
width:max(340px, 35vh);
background:#474545;
padding: 2.5rem 1.5rem;
border-radius: 1rem;
}
.input_section{
display:flex;
flex-direction:column;
}
button,input[type="button"]{
font-family:Raleway;
cursor:pointer;
padding:.5rem;
font-size:1rem;
font-weight:800;
border:2px solid var(--primary);
background:linear-gradient(to right, orange 50%, rgba(0,0,0,0) 50%);
background-size: 250%;
background-position: right;
margin:1rem 0;
color: var(--primary);
border-radius: 5px;
transition: .5s ease background-position;
}
button:hover, input[type="button"]:hover{
background-position: left;
color:#303030;
}
input{
padding: .25rem .5rem;
border:0;
background:transparent;
position:relative;
outline:none;
color:white;
font-size: 1rem;
}
form div{
position: relative;
margin:.4rem 0 ;
padding:.3rem 0;
}
form div::before, form div::after{
content:'';
position:absolute;
width: 100%;
height: 2px;
background-color: #ccc;
bottom:0;
}
form div::after{
transform: rotateY(90deg);
background-color: var(--primary);
transition:.3s ease-in;
}
label{
color:white;
transform: translateY(1.3rem);
height:1rem;
transition:.4s ease;
margin-bottom: .3rem;
}
.section_focused label{
color : var(--primary);
transform: none;
font-size:.87rem;
}
.section_focused::after{
transform: none;
}
p,a{
color:white;
}