-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathstyle.css
94 lines (92 loc) · 1.53 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: sans-serif;
}
:root {
--black: #222;
--yt: #fdfcfa;
--brdRd: 0.25rem;
--bxShd: 0 1px 6px 0 rgba(102, 103, 104, 0.445);
--div: 150px;
}
body {
display: flex;
flex-direction: column;
min-height: 100vh;
width: 100vw;
background: #dadada;
}
header {
height: 10vh;
display: flex;
justify-content: center;
align-items: center;
background-color: var(--black);
margin-bottom: 1rem;
}
nav {
color: var(--yt);
}
main {
display: flex;
justify-content: center;
align-items: center;
}
section {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.card {
cursor: pointer;
min-width: var(--div);
min-height: var(--div);
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: center;
padding: 1rem;
margin: 1rem;
border-radius: var(--brdRd);
box-shadow: var(--bxShd);
background: var(--black);
color: var(--yt);
}
.avatar {
width: 4rem;
height: 4rem;
border-radius: 50%;
}
h2 {
font-size: 1rem;
}
#avos {
background-color: rgb(41, 7, 44);
}
#card {
background-color: rgb(14, 6, 35);
}
#ringnyu {
background-color: rgb(101, 93, 138);
}
#moses {
background-color: rgb(13, 5, 31);
}
#israel {
background-color: rgb(16, 8, 40);
}
#emma {
background-color: rgb(0, 77, 51);
font-weight: bold;
}
/** Place your selector above this comment **/
@media (min-width: 375px) {
section {
flex-direction: row;
max-width: 60vw;
flex-wrap: wrap;
}
}