-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
137 lines (100 loc) · 2.03 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
:root{
--color-header: #44475A;
--color-background: #282A36;
--color-text: #f8f8f2;
}
*{
box-sizing: border-box;
margin: 0;
padding: 0;
}
body{
background-color: var(--color-background);
color: var(--color-text);
font-family: 'Poppins', sans-serif;
}
header {
background-color: var(--color-header);
text-align: center;
padding: 4rem 0;
}
/*====TITLES====*/
header h1{
font-size: 28px;
}
main h2 {
font-size: 22px;
font-weight: 400;
margin-bottom: .25rem;
}
/*====main====*/
#form{
display: flex;
flex-direction: column;
align-items: center;
margin-top: 5rem;
}
input {
background-color: var(--color-header);
color: var(--color-text);
outline: none;
height: 70px;
border: 2px solid var(--color-text);
border-radius: .5rem;
padding-left: 1rem;
margin-bottom: 5rem;
font-family: 'Poppins';
font-size: 20px;
font-weight: 500;
}
button {
background-color: var(--color-header);
color: var(--color-text);
height: 60px;
width: 180px;
border-radius: .5rem;
border: 2px solid var(--color-text);
font-size: 20px;
font-family: 'Poppins';
font-weight: 500;
transition: background-color .3s ;
}
button:hover{
cursor: pointer;
background-color: var(--color-text);
color: var(--color-header);
}
::-webkit-input-placeholder {
color: rgba(255, 255, 255, .6);
font: 22px 'Poppins', sans-serif;
}
/*====footer====*/
footer {
text-align: center;
font-size: 20px;
font-weight: 300 ;
margin: 4rem 0;
}
@media (min-width: 800px){
#form{
display: grid;
grid-template-columns: 2fr 2fr 1fr;
gap: 10px;
margin: 15% 30px 0 30px;
align-items: end;
align-self: center;
}
input{
width: 100%;
margin: 0;
}
button{
margin: 0;
height: 70px;
width: 100%
}
footer{
text-align: left;
margin: 30px
}
}