Event
Example
NOV
6
Go Blue Friday
Friday, March 29
10 a.m-12 p.m.
Fairlane Center South (FCS)
NOV
6
Go Blue Friday
Friday, March 29
10 a.m-12 p.m.
Fairlane Center South (FCS)
Code
HTML
<div class="event-wrapper">
<a class="event">
<div class="month-date">
<div class="month">NOV</div>
<div class="day">6</div>
</div>
<div class="card-details">
<h2 class="card-head">Go Blue Friday</h2>
<p class="event-date">
<img src="/icons/date.svg" aria-hidden="true" alt="Date icon" /> Friday,
March 29
</p>
<p class="event-time">
<img src="/icons/time.svg" aria-hidden="true" alt="Time icon" /> 10
a.m-12 p.m.
</p>
<p class="event-location">
<img src="/icons/location.svg" aria-hidden="true" alt="Location icon" />
Fairlane Center South (FCS)
</p>
</div>
</a>
<a class="event">
<div class="month-date">
<div class="month">NOV</div>
<div class="day">6</div>
</div>
<div class="card-details">
<h2 class="card-head">Go Blue Friday</h2>
<p class="event-date">
<img src="/icons/date.svg" aria-hidden="true" alt="Date icon" /> Friday,
March 29
</p>
<p class="event-time">
<img src="/icons/time.svg" aria-hidden="true" alt="Time icon" /> 10
a.m-12 p.m.
</p>
<p class="event-location">
<img src="/icons/location.svg" aria-hidden="true" alt="Location icon" />
Fairlane Center South (FCS)
</p>
</div>
</a>
</div>
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
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
CSS
.event-wrapper {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-direction: row;
flex-direction: row;
font-family: Montserrat;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between;
}
.event-wrapper .event {
-webkit-box-align: start;
-ms-flex-align: start;
align-items: flex-start;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
}
.event-wrapper .event .month-date {
background-color: #00274c;
border-radius: 2px;
color: #fafafa;
height: auto;
padding: 0.5rem 0.75rem;
text-align: center;
-webkit-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
}
.event-wrapper .event .month {
font-size: 1.875rem;
font-weight: bold;
border-bottom: 1px solid rgba(250, 250, 250, 0.5);
padding-bottom: 0.25rem;
}
.event-wrapper .event .day {
font-size: 3.125rem;
line-height: 1;
padding-top: 0.25rem;
}
.event-wrapper .event .card-details {
margin-left: 1rem;
}
.event-wrapper .event .card-details .card-head {
border-bottom: 0;
color: rgba(0, 0, 0, 0.87);
font-size: 1.125rem;
font-weight: 700;
margin: 0 0 0.5rem 0;
}
.event-wrapper .event .card-details p {
color: rgba(0, 0, 0, 0.87);
font-size: 0.875rem;
}
.event-wrapper a.event:hover,
.event-wrapper a.event:focus {
cursor: pointer;
text-decoration: none;
}
.event-wrapper a.event:hover .card-details .card-head,
.event-wrapper a.event:focus .card-details .card-head,
.event-wrapper a.event:hover .card-details p,
.event-wrapper a.event:focus .card-details p {
color: $michigan-blue;
}
.event-wrapper a.event:hover .month-date,
.event-wrapper a.event:focus .month-date {
background-color: darken($michigan-blue, 35%);
-webkit-box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 3px 14px 2px rgba(0, 0, 0, 0.12),
0 8px 10px 1px rgba(0, 0, 0, 0.14);
box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 3px 14px 2px rgba(0, 0, 0, 0.12),
0 8px 10px 1px rgba(0, 0, 0, 0.14);
}
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
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