Ajout de l'appel a l'API pretalx
This commit is contained in:
parent
dc07b1b415
commit
87005adb44
7 changed files with 344 additions and 2 deletions
|
|
@ -1,6 +1,7 @@
|
|||
body, html {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
body {
|
||||
|
|
@ -381,13 +382,13 @@ camp-feature .widget > :last-child {
|
|||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
camp-feature .widget h2 {
|
||||
camp-feature .widget > h2 {
|
||||
font-size: 1em;
|
||||
text-transform: uppercase;
|
||||
margin-bottom: 1ex;
|
||||
}
|
||||
|
||||
camp-feature .widget p {
|
||||
camp-feature .widget > p {
|
||||
margin-top: 1ex;
|
||||
margin-bottom: 1ex;
|
||||
line-height: 1.5;
|
||||
|
|
@ -459,4 +460,69 @@ camp-feature .box-widget h2:first-child,
|
|||
margin-left: -10px;
|
||||
margin-top: -10px;
|
||||
margin-right: 2em;
|
||||
}
|
||||
|
||||
/* TALKS */
|
||||
|
||||
camp-upcoming-talks > * {
|
||||
margin-bottom: 1em;
|
||||
display: block;
|
||||
color: inherit;
|
||||
text-decoration: inherit;
|
||||
}
|
||||
|
||||
camp-talk {
|
||||
display: block;
|
||||
--track-color: white;
|
||||
border: solid 1px var(--track-color);
|
||||
border-left-width: 5px;
|
||||
border-radius: 2.5px;
|
||||
padding: 5px 10px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
camp-talk .track-name {
|
||||
font-weight: bold;
|
||||
color: var(--track-color);
|
||||
}
|
||||
|
||||
camp-talk > * {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
camp-talk > p:not(:last-child) {
|
||||
margin-top: 1ex;
|
||||
margin-bottom: 1ex;
|
||||
}
|
||||
|
||||
camp-talk[data-track-id="36"] {
|
||||
--track-color: #33d8d8;
|
||||
}
|
||||
|
||||
camp-talk[data-track-id="35"] {
|
||||
--track-color: #ffbf3e;
|
||||
}
|
||||
|
||||
camp-talk[data-track-id="33"] {
|
||||
--track-color: #ff4e00;
|
||||
}
|
||||
|
||||
camp-talk[data-track-id="34"] {
|
||||
--track-color: #8800ff;
|
||||
}
|
||||
|
||||
@keyframes active-talk {
|
||||
from {
|
||||
box-shadow: 0px 0px 0px var(--track-color), 0px 0px 0px var(--track-color);
|
||||
}
|
||||
25% {
|
||||
box-shadow: 0px 0px 10px var(--track-color), 0px 0px 0px var(--track-color);
|
||||
}
|
||||
100% {
|
||||
box-shadow: 0px 0px 15px var(--track-color), 0px 0px 7px var(--track-color);
|
||||
}
|
||||
}
|
||||
|
||||
camp-talk.active {
|
||||
animation: active-talk 1.5s alternate-reverse infinite linear;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue