forked from kareem-ic/objects-html
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
53 lines (46 loc) · 952 Bytes
/
style.css
File metadata and controls
53 lines (46 loc) · 952 Bytes
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
body {
background-color: #A2BCE0;
}
.title {
text-align: center;
font-size: 2.5em;
}
#form-container {
display: flex;
flex-direction: column;
align-items: center;
}
#form-container input {
padding: 10px;
margin: 5px;
font-size: 1.5em;
border-radius: 5px;
/* @NOTE using a responsive unit here, vw! google it! */
width: 50vw;
}
#submit-btn {
padding: 10px;
margin: 5px;
font-size: 1.2em;
/* @NOTE using a responsive unit here, vw! google it! */
width: 25vw;
}
#user-container {
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
color: white;
}
.user-item {
background-color: #475B63;
padding: 10px;
margin: 10px;
text-align: center;
border-radius: 10px;
}
/* @NOTE using the descendant selector here */
#user-container img {
/* @NOTE using a responsive unit here, vw! google it! */
width: 10vw;
border-radius: 10px;
}