-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
125 lines (109 loc) · 2.28 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
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
118
119
120
121
122
123
124
125
@import url('https://fonts.googleapis.com/css?family=Sanchez&display=swap');
.conference-promo {
width: 80px;
height: 80px;
position: fixed;
bottom: 1em;
right: 1em;
z-index: 999;
border-radius: 50px;
box-shadow: 0 0 5px #999;
transition: width 0.4s ease-in-out, height 0.4s ease-in-out;
cursor: pointer;
font-size: 16px;
font-family: 'Sanchez', serif;
overflow: hidden;
}
.conference-promo .content {
visibility: hidden;
opacity: 0;
padding: 0 0 0 1em;
transition: all 0.4s ease-in-out 0.4s;
margin-bottom: -8em;
}
.conference-promo-content {
padding: 20px 31px;
}
.conference-promo-content h2 {
margin: 0;
padding: 0;
font-size: 1.1em;
transition: font-size 0.1s ease-out 0.4s;
}
.conference-promo-content p {
margin: 0;
padding: 0;
line-height: 1.1em;
}
.conference-promo-content a {
display: inline-block;
text-decoration: none;
padding: 0.2em 0.4em;
background: #794ACF;
border-radius: 5px;
color: white;
margin-top: 0.5em;
transition: background-color 0.2s ease-out;
}
.conference-promo-content a:hover {
background: #A779E9;
}
.icon svg {
fill: white;
width: 40px;
height: auto;
}
.conference-promo:hover .conference-promo-content, .conference-promo.open .conference-promo-content {
padding: 1em 1.5em;
display: flex;
justify-content: center;
align-items: center;
flex-wrap: nowrap;
}
.conference-promo:hover .content, .conference-promo.open .content {
visibility: visible;
opacity: 1;
color: white;
margin-bottom: 0;
/* animation-delay: 1s; */
}
.conference-promo:hover, .conference-promo.open {
width: calc(100% - 2em);
box-shadow: 0 0 5px #222;
height: auto;
border-radius: 1em;
}
.conference-promo[data-event="thunderplains"]{
background: #382B5F;
color: white;
}
@media all and (min-width: 430px){
.conference-promo .content .row {
display: flex;
flex-wrap: nowrap;
justify-content: space-between;
align-items: flex-start;
}
.conference-promo .content .row p {
margin-right: 1em;
}
.conference-promo-content h2 {
font-size: 1.8em;
}
}
@media all and (min-width: 550px){
.conference-promo:hover, .conference-promo.open {
width: 400px;
max-width: calc(100% - 2em);
}
.conference-promo {
width: 100px;
height: 100px;
}
.conference-promo-content h2 {
font-size: 2em;
}
.conference-promo-content a {
margin-top: 0.3em;
}
}