-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
83 lines (66 loc) · 1.35 KB
/
index.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
html, body {
margin: 0;
padding: 0;
font-family: 'Rubik', sans-serif;
background-color: #EEF0F4;
user-select: none; /*You cant select anything thats not a pointer*/
}
.container {
display: flex;
flex-direction: column;
max-width: 320px;
margin: 30px auto;
}
h1 {
padding: 0;
margin: 10px auto;
text-align: center;
}
img {
width: 150px;
margin: 0 auto;
}
input {
color: #432000;
background-color: #DCE1EB;
border: 0;
padding: 15px;
border-radius: 8px;
font-size: 20px;
text-align: center;
font-family: 'Rubik', sans-serif;
margin: 10px 0;
}
button {
color: #FDFDFD;
background-color: #AC485A;
border: 0;
padding: 15px;
border-radius: 8px;
font-size: 20px;
text-align: center;
font-family: 'Rubik', sans-serif;
cursor: pointer;
}
button:hover {
background: #6b0092;
}
ul{
display:flex;
list-style: none;
flex-wrap:wrap;
padding: 0; /*We dont want padding on our ul*/
gap: 10px;
}
ul li {
padding: 15px; /*to increase the space inside the box*/
background-color: #FFFDF8;
box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.2);
border-radius: 8px;
flex-grow: 1;/* fills in the spaces left*/
text-align: center;
cursor: pointer;
}
ul li:hover {
background: #a7b5d2;
}