-
Notifications
You must be signed in to change notification settings - Fork 2
/
style.css
84 lines (68 loc) · 1.48 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
/* customize variables here */
:root {
/* --color-primary: #337ab7; */
--color-primary: #498f17
}
body {
display:grid;
grid-template-rows: 10rem 1fr;
grid-gap: 2rem;
}
.bg-primary a, .bg-success a {
color: white;
}
main#cardcontainer {
justify-content: center;
display: grid;
grid-auto-rows: 80rem;
grid-gap: 2rem;
}
section.card {
border: 1px solid var(--color-darkGrey) ;
background-color: var(--color-lightGrey);
display: grid;
grid-template-rows: 1fr 7fr 7fr 1fr;
grid-gap: 0rem;
align-items: stretch;
justify-items: stretch;
padding: 0;
}
.card-body {
padding: 0 2rem;
overflow: auto;
}
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;
}
/* some CSS Magic Examples for the "skills" bar */
.progress-bar {
width: 100%;
background-color: #e0e0e0;
padding: 3px;
border-radius: 3px;
box-shadow: inset 0 1px 3px rgba(0, 0, 0, .2);
}
.progress-bar-fill {
display: block;
height: 22px;
background-color: var(--color-primary);
border-radius: 3px;
transition: width 500ms ease-in-out;
}
/* get the image to fit */
section.card img.profile-image {
object-fit: cover;
height: 35rem;
/* height: 100%; */
/* width: 100%; */
/* object-fit: contain; */
/* object-position: 50% 0; */
}