forked from dh20199/assignment-00-git-and-github-morganmedea
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
62 lines (48 loc) · 1.11 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
/* customize variables here */
:root {
--color-primary: #337ab7;
}
body {
display:grid;
grid-template-rows: 10rem 1fr;
grid-gap: 2rem;
}
.bg-primary a, .bg-success a {
color: white;
}
main#cardcontainer {
padding: 0 2rem 0 2rem;
display: grid;
grid-template-columns: repeat(auto-fill, minmax(40rem, 1fr));
grid-gap: 2rem;
}
.card {
border: 1px solid var(--color-darkGrey) ;
background-color: var(--color-lightGrey);
display: grid;
grid-template-rows: 5rem 35rem 25rem 5rem;
grid-gap: 0rem;
align-items: stretch;
justify-items: stretch;
padding: 0;
}
.card-body {
padding: 0 2rem;
}
section.card header, section.card footer {
font-size: 2.2rem;
text-align: center;
padding-top: 0.3rem;
/* background-color: var(--color-success) */
background-color: var(--color-primary)
}
/* make links visible again! */
section.card header a, section.card footer a {
color: black;
}
section.card img.profile-image {
/* height: 100%; */
/* width: 100%; */
/* object-fit: contain; */
/* object-position: 50% 0; */
}