-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
46 lines (40 loc) · 814 Bytes
/
styles.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
/*The following CSS creates the course summary container*/
/*Taken and adapted by Dave Foord from http://thenewcode.com/1169/Balancing-Text-and-Images-with-Flexbox */
.summaryflex {
align-items: center;
margin: 0;
display: flex;
background-color: #007490;
margin-bottom: 2rem;
}
.summaryflex div:first-child {
flex: 1;
background-size: cover;
background-position: center;
}
.summaryflex div:last-child {
margin: 2rem;
flex: 2;
}
.summaryflex h3 {
font-size: 1.5rem;
margin-top: 0;
font-weight: 400;
color:#ffffff;
}
.summaryflex p {
font-size: 1rem;
line-height: 1.4;
font-weight: 400;
color:#ffffff;
}
.summaryflex li {
font-size: 1rem;
line-height: 1.4;
font-weight: 400;
color:#ffffff;
}
.summaryflex p:last-of-type {
margin-bottom: 0;
}
/*End of course summary CSS*/