-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlocations.css
105 lines (98 loc) · 2.52 KB
/
locations.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
95
96
97
98
99
100
101
102
103
104
105
.location-container {
width: 100%;
display: grid;
grid-template-rows: auto;
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
grid-row-gap: 24px;
grid-column-gap: 48px; }
@media screen and (max-width: 960px) {
.location-container {
grid-template-columns: minmax(0, 1fr);
grid-row-gap: 48px; } }
.location-card {
display: grid;
grid-template-rows: auto auto;
grid-template-columns: 150px minmax(0, 1fr);
grid-template-areas: "image info" "dates dates";
grid-row-gap: 16px;
grid-column-gap: 16px;
position: relative; }
.location-card:first-child::after {
content: "";
height: 100%;
width: 1px;
display: block;
background: #dedede;
position: absolute;
right: -24px; }
@media screen and (max-width: 960px) {
.location-card:first-child::after {
display: none; } }
.location-card:first-child {
grid-template-columns: minmax(0, 1fr) 150px;
grid-template-areas: "info image" "dates dates"; }
.location-card .image {
width: 150px;
height: 150px;
border-radius: 50%;
overflow: hidden; }
.location-card .image img {
height: 100%;
width: 100%;
object-fit: cover; }
.location-card .image {
grid-area: image; }
.location-card .info {
grid-area: info; }
.location-card .info:first-child {
text-align: right; }
.location-card .info a.cta {
margin-left: 0;
margin-right: auto; }
.location-card .info:first-child a.cta {
margin-left: auto;
margin-right: 0; }
.location-card .info h3 {
margin: 0; }
.location-card .info p {
margin: 0 0 8px;
font-size: 16px;
line-height: 18px; }
.time-cards {
grid-area: dates; }
.time-card {
box-shadow: 0 10px 28px -2px rgba(0, 0, 0, 0.2);
background: #fff;
width: 100%;
transition: box-shadow 0.2s ease-out, transform 0.2s ease-out;
align-items: center;
margin: 24px 0;
padding: 12px;
box-sizing: border-box;
display: flex;
flex-wrap: wrap; }
.time-card .date {
width: 50px;
text-align: center;
margin-right: 32px;
font-weight: 900; }
.time-card .date p {
margin: 0; }
.time-card .date p:first-child {
font-size: 24px; }
.time-card .btn {
margin-left: auto; }
@media screen and (max-width: 768px) {
.time-card .btn {
margin: 0 auto; } }
.btn {
background: #0E0E0F;
color: #fff;
border: 0;
border-radius: 4px;
font-size: 14px;
padding: 8px 12px; }
.btn:focus, .btn:hover {
outline: none;
background: #4F4F50; }
/*# sourceMappingURL=locations.css.map */