-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
57 lines (57 loc) · 1.09 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
@import url('https://fonts.googleapis.com/css2?family=Barriecito&display=swap');
* {
margin: 0;
padding: 0;
font-family: 'Barriecito', cursive;
}
.container {
width: auto !important; /* makes it responsive */
height: auto !important;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 90vh;
}
h1 {
margin-bottom: 2vh;
}
input {
margin: 1vh;
}
input[type=text] {
font-size: 20px;
padding: 10px 20px;
border: 1px solid black;
outline: none;
border-radius: 5px;
width: 30vw;
}
button {
font-size: 15px;
padding: 5px 10px;
width: 30vw;
background: #4CAF50;
border: none;
outline: none;
font-weight: 600;
color: white;
transition: 0.4s;
cursor: pointer;
margin: 1vh;
border-radius: 5px;
}
button:hover {
border: 1px solid #4CAF50;
background-color: transparent;
color: #4CAF50;
transform: scale(1.03);
}
@media only screen and (max-width:600px){
input[type=text] {
width: 68vw;
}
button {
width: 60vw;
}
}