You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
261 lines
4.8 KiB
261 lines
4.8 KiB
.ob-timelines {
|
|
display: none;
|
|
}
|
|
|
|
|
|
/* The actual timeline (the vertical ruler) */
|
|
|
|
.timeline {
|
|
position: relative;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
|
|
/* The actual timeline (the vertical ruler) */
|
|
|
|
.timeline::after {
|
|
content: '';
|
|
position: absolute;
|
|
width: 10px;
|
|
background-color: var(--background-secondary);
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 50%;
|
|
margin-left: -3px;
|
|
}
|
|
|
|
|
|
/* Container around content */
|
|
|
|
.timeline-container {
|
|
padding: 10px 40px;
|
|
position: relative;
|
|
background-color: inherit;
|
|
width: 50%;
|
|
}
|
|
|
|
|
|
/* The circles on the timeline */
|
|
|
|
.timeline-container::after {
|
|
content: '';
|
|
position: absolute;
|
|
width: 25px;
|
|
height: 25px;
|
|
right: -17px;
|
|
background-color: var(--background-secondary);
|
|
border: 4px solid #FF9F55;
|
|
top: 15px;
|
|
border-radius: 50%;
|
|
z-index: 1;
|
|
}
|
|
|
|
|
|
/* Place the container to the left */
|
|
|
|
.timeline-left {
|
|
left: 0;
|
|
}
|
|
|
|
|
|
/* Place the container to the right */
|
|
|
|
.timeline-right {
|
|
left: 50%;
|
|
}
|
|
|
|
|
|
/* Add arrows to the left container (pointing right) */
|
|
|
|
.timeline-left::before {
|
|
content: " ";
|
|
height: 0;
|
|
position: absolute;
|
|
top: 22px;
|
|
width: 0;
|
|
z-index: 1;
|
|
right: 30px;
|
|
border: medium solid var(--background-secondary);
|
|
border-width: 10px 0 10px 10px;
|
|
border-color: transparent transparent transparent var(--background-secondary);
|
|
}
|
|
|
|
|
|
/* Add arrows to the right container (pointing left) */
|
|
|
|
.timeline-right::before {
|
|
content: " ";
|
|
height: 0;
|
|
position: absolute;
|
|
top: 22px;
|
|
width: 0;
|
|
z-index: 1;
|
|
left: 30px;
|
|
border: medium solid var(--background-secondary);
|
|
border-width: 10px 10px 10px 0;
|
|
border-color: transparent var(--background-secondary) transparent transparent;
|
|
}
|
|
|
|
|
|
/* Fix the circle for containers on the right side */
|
|
|
|
.timeline-right::after {
|
|
left: -16px;
|
|
}
|
|
|
|
|
|
/* The actual content */
|
|
|
|
.timeline-content {
|
|
padding: 10px 15px;
|
|
background-color: var(--background-accent);
|
|
position: relative;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.timeline-card {
|
|
grid-auto-rows: min-content;
|
|
color: #d1c077;
|
|
padding: 1px;
|
|
}
|
|
|
|
.timeline-card .thumb {
|
|
padding-bottom: 60%;
|
|
background-size: cover;
|
|
background-position: center center;
|
|
border-radius: 10px 10px 0px 0px;
|
|
}
|
|
|
|
.timeline-card {
|
|
background: var(--background-secondary);
|
|
text-decoration: none !important;
|
|
color: var(--text-normal);
|
|
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100%;
|
|
position: relative;
|
|
top: 0;
|
|
transition: all 0.1s ease-in;
|
|
margin-block-end: 20px;
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.timeline-card:hover {
|
|
top: -2px;
|
|
box-shadow: 0 4px 5px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.timeline-card article {
|
|
padding-left: 15px;
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.timeline-card p {
|
|
padding-left: 15px;
|
|
padding-right: 15px;
|
|
flex: 1;
|
|
margin-block-start: 0em;
|
|
margin-block-end: 1em;
|
|
margin-inline-start: 0px;
|
|
margin-inline-end: 0px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
word-break: break-word;
|
|
white-space: normal;
|
|
}
|
|
|
|
.timeline-rendered {
|
|
color: var(--text-faint);
|
|
font-size: smaller;
|
|
}
|
|
|
|
.timeline-rendered::before {
|
|
content: "Updated: ";
|
|
}
|
|
|
|
|
|
/* Vis Timeline */
|
|
|
|
.vis-timeline {
|
|
border: 1px solid transparent;
|
|
}
|
|
|
|
.vis-item-content .timeline-card {
|
|
display: none;
|
|
width: 300px;
|
|
height: max-content;
|
|
position: fixed !important;
|
|
}
|
|
|
|
.vis-item-overflow .timeline-card {
|
|
display: none;
|
|
width: 300px;
|
|
height: max-content;
|
|
position: fixed !important;
|
|
}
|
|
|
|
.vis-item .vis-item-overflow {
|
|
overflow: visible;
|
|
}
|
|
|
|
.vis-item.orange {
|
|
background-color: rgba(255, 0, 0, 0.295);
|
|
filter: none;
|
|
border-color: orange;
|
|
}
|
|
|
|
.vis-item.vis-selected.orange {
|
|
/* custom colors for selected orange items */
|
|
background-color: orange;
|
|
border-color: orangered;
|
|
}
|
|
|
|
.vis-panel.vis-center,
|
|
.vis-panel.vis-left,
|
|
.vis-panel.vis-right {
|
|
border-color: var(--background-secondary);
|
|
}
|
|
|
|
.vis-grid.vis-minor {
|
|
display: none;
|
|
}
|
|
|
|
.vis-grid.vis-major {
|
|
display: none;
|
|
}
|
|
|
|
|
|
/* Vis Timeline Navigation */
|
|
|
|
.vis-navigation-input {
|
|
margin-left: 10px;
|
|
margin-right: 10px;
|
|
margin-top: 10px;
|
|
padding-left: 10px;
|
|
padding-bottom: 5px;
|
|
width: 65% !important;
|
|
background-color: var(--background-secondary-alt);
|
|
border: none;
|
|
border-radius: 7px;
|
|
height: auto;
|
|
width: max-content;
|
|
text-rendering: auto;
|
|
color: -internal-light-dark(black, white);
|
|
letter-spacing: normal;
|
|
word-spacing: normal;
|
|
text-transform: none;
|
|
text-indent: 0px;
|
|
text-shadow: none;
|
|
overflow-wrap: break-word;
|
|
color: var(--text-normal);
|
|
appearance: textfield;
|
|
cursor: text;
|
|
font-family: "Comic Sans MS" !important;
|
|
font-size: 15px !important;
|
|
} |