-
Notifications
You must be signed in to change notification settings - Fork 1
/
speakers.css
117 lines (98 loc) · 1.8 KB
/
speakers.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
106
107
108
109
110
111
112
113
114
115
116
117
.speakers-container {
display: flex;
flex-direction: column;
}
.speakers h2 {
margin: 10px auto;
text-align: center;
}
.speakers hr {
width: 20%;
border: 1px solid var(--secondary-color);
background-color: var(--secondary-color);
margin: 0 auto;
}
.speaker-card {
display: flex;
margin: 20px;
justify-items: center;
}
.speaker-card .image {
background-image: url('./assets/chessBoard.png');
background-repeat: no-repeat;
background-size: 50%;
display: flex;
justify-content: center;
align-items: center;
flex: 1;
}
.speaker-card img {
width: 120px;
height: auto;
padding: 10px;
}
.speaker-card .info {
flex: 2;
}
.speaker-card .speaker {
font-size: 1.3rem;
margin-top: 20px;
margin-bottom: 5px;
}
.speaker-card .title {
color: var(--secondary-color);
font-size: 0.9rem;
margin: 5px 0;
}
.speaker-card hr {
width: 20%;
border: 1px solid var(--primary-gray);
background-color: var(--primary-gray);
margin: 0;
}
.speaker-card .bio {
margin-top: 10px;
margin-right: 10px;
font-size: 0.9rem;
}
.speakers .btn-more {
background-color: #fff;
border: 1px solid var(--primary-gray);
width: 90%;
margin: 10px auto;
display: flex;
padding: 10px;
justify-content: center;
cursor: pointer;
user-select: none;
}
.speakers .btn-more span {
color: var(--secondary-color);
/* transform: rotate(90deg); */
margin-left: 10px;
font-weight: bold;
font-size: 0.9rem;
display: inline-block;
}
@media (min-width: 769px) {
.speakers-container {
flex-direction: row;
justify-content: center;
width: 80%;
margin: 0 auto;
flex-wrap: wrap;
}
.speaker-card {
width: 45%;
display: flex;
}
.speakers hr {
width: 5%;
}
.speaker-card .image {
width: 50%;
}
.speakers .btn-more {
display: none;
}
}