Skip to content
Snippets Groups Projects
App.css 50.5 KiB
Newer Older
/* * * * * * * */
/* * COLOURS * */
/* * * * * * * */
:root {
  /* our colours*/ 
  --text-primary: #850F78; 
  --mediumpurple: #bc15aa; 
  /*--purple: #B85BD1; */
  --accen-secondary: #F57D22; 
  --accent-primary: #F4CC1E; 
  --lightyellow: #fae99e; 
  --lightblue: #A0A7F3 ; 
  --verylightblue: #ebecfd; 
  --offblack: #32232C ; 
  --cebitecgray: #8295A4; 
  /*--offwhite: #e9dff1; */
  --ourbeige: #FFF6F2; 
  --darkerbeige: #e2dad7; 
  --background: #FFF6F2; 
  --igemdarkgreen: #006530; 
  --igemmediumgreen: #019968; 
  --igemlightgreen: #99cb9a; 

  --info-border-color: var(--mediumpurple); 
    --vp-ct: var(--text-primary); 
    --info-border-color: var(--accent-primary); 
    --info-bg-color: var(--lightyellow); 
    --info-title-color: var(--text-primary); 
    --info-code-bg-color: var(--lightyellow); 
    --note-border-color: var(--text-primary); 
    --note-bg-color: var(--darkoffwhite); 
    --note-title-color: var(--text-primary);
    --note-code-bg-color: var(--darkoffwhite);
    --tip-border-color: var(--text-primary); 
    --tip-bg-color: var(--darkoffwhite);  
    --tip-title-color: var(--text-primary);
    --tip-code-bg-color: var(--darkoffwhite);
    --warning-border-color: var(--accen-secondary); 
    --warning-bg-color: var(--lightorange);  
    --warning-code-bg-color: var(--lightorange); 

}



/* * * * * * * */
/* * * BODY* * */
/* * * * * * * */
body {
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
  /* padding-top: 56px; */
  background-color: var(--ourbeige);
  color: #493843;
}
body.dark-mode {
  background-color: var(--offblack);
  color: white;
}
p {
  text-align: justify;
}
a {
  color: var(--lightblue) !important;
  text-decoration: none !important;
}
code{
  color:black !important;
}
.codesnippet{
  padding-left: 30px;
  padding-top: 5px;
  padding-bottom: 5px;
  border-radius: 10px;
  margin-top: 10px;
  margin-bottom: 15px !important;
  color: var(--text-primary) !important;
  background-color: rgb(217, 217, 217);
}
/* * * * * * * */
/* *SIDEBAR* * */
/* * * * * * * */

.sidebar{
  border-left: 6px solid;
  border-left-color: var(--text-primary);
  border-color: var(--accent-primary);
  color: var(--text-primary);
  list-style-type: none;
  line-height: 280%;
  margin: 0px 0px;
  padding: 0px 0px;
}
.sidebar>div>a>span:hover{
  text-shadow: 5px 5px 15px black;
  transition: all 0.1s linear;
}
.sidebar>div{
overflow: hidden;
text-align: center;
cursor: pointer;
}
.sidebar>div>a>span{
padding: 1rem;
color: var(--text-primary);
}
.active-scroll-spy{
  background-color: yellowgreen !important;
}

/* * * * * * * */
/* * GENERAL * */
/* * * * * * * */
.relative{position: relative;}
.absolute{position: absolute;}
.left-aligned {margin-left: auto;}
.align-items-center{align-items:center!important}
.zweirem{padding: 2rem;}
.left{float: left;}
.right{float: right;}
.sticky-top {
  position: -webkit-sticky;
  position: sticky !important; 
  top: 0;
  z-index: 1020;
  top: 80px !important; 
  overflow-wrap: break-word;
}
.fullsize{
  max-height: 100% !important;
  max-width: 100% !important; 
}
.header-container{
  padding-top: 380px;
  padding-bottom: 60px;
  background-color: var(--ourbeige);
}
.null{
  padding: 0% !important;
   margin: 0% !important;
}
.v-align-m{
  vertical-align: middle !important; 
}
.fit-cont{
  max-width: fit-content;
}
.center{
  display: flex !important;
  align-items: center !important;
  text-align: center;
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
  align-self: center;
}
.shadow{
  box-shadow: 0 4px 6px 0 hsla(0, 0%, 0%, 0.2);
}
/* * * * * * * */
/* *  NAVBAR * */
/* * * * * * * */
.nav-link{
  color: var(--text-primary) !important; 
}
.nav-link:hover {
  color: white !important;
  background-color: var(--text-primary) !important;
  border-radius: 7px;
}
.navbar{
  backdrop-filter: blur(5px);
  transition: visibility 0s, 0.6s, opacity 0.6s linear, transform 1s;
}
  nav.navbar {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.dropdown-item{
  color: var(--text-primary) !important;
}
.dropdown-item:hover{
  color: white !important;
  background-color: var(--text-primary) !important;
}
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  background-color: white;
  border-color: var(--text-primary);
  border-radius: 7px;
}
.navbar-brand{
  color: var(--text-primary) !important;
}
.dropdown-menu{
  margin-top: 0 !important;
}
/* TABLES */
table {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

td, th {
  border: 1px solid black;
  text-align: left;
  padding: 8px;
}

tr:nth-child(even) {
  background-color: #ededed;
}
tr:nth-child(odd) {
  background-color: #f3f3f3;
}
tr:nth-child(1) {
  background-color: var(--lightblue) !important;
}

/* * * * * * * */
/* BACKGROUND  */
/* * * * * * * */
.bg-video-container{
margin-bottom: 10vw !important;
}
.bg-d{
  background-color: var(--text-primary) !important;
}
.bg-l{
  background-color: var(--text-primary) !important;
  color: white;
}
.bg-transp{
  background:transparent;
  color: var(--text-primary);
}

/* * * * * * * */
/* *HEADINGS * */
/* * * * * * * */

.base {
  width: 100%;
  background-color: var(--accent-primary);
  padding: 120px 30px;
}

.header-title{
  color: var(--text-primary);
  text-align: left;
  align-self: flex-start;
  padding: 0 30px;
  font-size: 130px;
  font-weight: 900;
  line-height: 130px;
}

/* p:first-child::first-letter{
  color:var(--text-primary);
  font-weight: bold;
  font-size: x-large; 
} */
.popart{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 5vw;
	letter-spacing:0.1em;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke-width: 0.3vw;
  -webkit-text-stroke-color: var(--accent-primary);
  text-shadow: 
						0.4vw 0.4vw var(--mediumpurple),
						0.8vw 0.8vw var(--offblack);
}
h2{
  font-size: 3rem !important;
  -webkit-background-clip: text !important;
  -webkit-text-stroke-width: 2px !important;
  -webkit-text-stroke-color: var(--text-primary) !important;
  background-clip: text !important;
  color: transparent !important;
  padding-top: 15px !important;
  background-image: repeating-linear-gradient(-45deg, var(--text-primary) 0, var(--text-primary) 2px, white 2px, white 4px) !important;
}

.underline--magical {
  background-image: linear-gradient(120deg, var(--lightblue) 0%, var(--mediumpurple) 100%);
  background-repeat: no-repeat;
  color: black;
  background-size: 100% 0.2em;
  background-position: 0 105%;
  transition: background-size 0.25s ease-in;
}
.underline--magical:hover {
  background-size: 100% 100%;
  color: black !important;
  text-decoration: none !important;
} 

.v2 p {
  background-position: left;
  background-size: 0% 100%;
  background-image: linear-gradient(#f6e05e, #f6e05e);
}
.v2:hover p {
  background-size: 100% 100%;
}

.v3 p {
  color: transparent;
  background-position: right;
  background-size: 100% 100%;
  background-image: linear-gradient(#a0aec0, #a0aec0);
}
.v3:hover p {
  color: #000;
  background-size: 0% 100%;
}


/* * * * * * * */
/* * CALLOUT * */
/* * * * * * * */

.bg-b{
  background-color: var(--ourbeige);
}
.bd-callout {
  padding: 1.25rem;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  border: 1px solid #e9ecef;
  border-left-width: 0.25rem;
  border-radius: 0.25rem;
}

.bd-callout h4 {
  margin-bottom: 0.25rem;
}

.bd-callout p:last-child {
  margin-bottom: 0;
}

.bd-callout code {
  border-radius: 0.25rem;
}

.bd-callout + .bd-callout {
  margin-top: -0.25rem;
}

.bd-callout-info {
  border-left-color: #ABD2FA;
}

.bd-callout-warning {
  border-left-color: #f0ad4e;
}

.bd-callout-danger {
  border-left-color: #d9534f;
}

/* * * * * * * */
/* *  FOOTER * */
/* * * * * * * */
footer{
  background-color: var(--background);
}
footer a {
  color: white;
  font-weight: bold;
  text-decoration: none;
}
footer a:hover {
  color: white;
  text-decoration: underline;
}


/* * * * * * * * */
/* * *BUTTONS* * */
/* * * * * * * * */
.hp-more-button{
  padding: 5px;
  border-radius: 10px;
  padding-left: 10px;
  padding-right: 10px;
  margin-left: 5px;
  margin-right: 5px;
}
.hp-more-button :hover{
  filter: brightness(0.5);
}
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
  

/* * * * * * * * */
/*VILLAGE BUTTONS*/
/* * * * * * * * */
.bottom-buttons{
  margin-top: 50px !important; 
  margin-bottom: 20px;
  padding-left: 30px;
}
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
.normal-buttons{
  margin-top: 10px !important; 
  margin-bottom: 20px;
  padding-left: 30px;
}
.village-style-button{
  box-shadow: 5px 5px 15px gray !important;
  border-radius: 2rem !important;
  padding: 0 !important;
  max-width: 12% !important;
  aspect-ratio: 2 / 3 !important; 
  margin-left: 1vw;
}
.village-style-button:hover{
  box-shadow: 5px 5px 15px black !important;
}
.village-style-button h3{
  text-align: center !important;
  font-size: 10px;
  font-weight: bold;
  color: #000;
}
.village-style-button img{
  max-width: 70% !important;
  max-height: 70% !important;
  padding-top: 20px !important;
}

/* * * * * * * * * */
/* * *  IMAGES * * */
/* * * * * * * * * */
img,
picture,
svg {
  max-width: 100%;
  display: block;
}
img .middle{
  vertical-align:middle;
}
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed

/* .sponsor-portrait{
  border: 5px solid var(--accent-primary);
} */
.socials{
  height: 1.5rem;
  width: auto;
  margin: 0.5rem;
}
.spin {
  transition: transform 1s ease-in-out;
}
.spin:hover{
    transform: rotate(360deg);
}
.img-sponsor{
  max-width: 70%;
  max-height: 150px;
  margin-left: auto;
  margin-right: auto;
}
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
.img-sponsor-partner-page{
  max-width: 70%;
  max-height: 100px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 10px;
  padding-top: 10px;
}
.img-right{
  float: right !important;
  padding-left: 2vw !important;
  padding-bottom: 1vw !important;
  padding-top: 1vw !important;
}
.img-left{
  float: left !important;
  padding-right: 2vw !important;
  padding-bottom: 1vw !important;
  padding-top: 1vw !important;
}
.img-half{
  max-width: 50% !important;
}

.img-round{
  border-radius: 50%;
  max-width: 80%;
}
.updown{
  max-width: 3vw;
}

.hexagon{
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
.sponsor-portrait{
  border: 5px solid var(--accent-primary);
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
  background-color: white;
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
}

.sponsor-text-right{
  margin-left: 20px;
}
.sponsor-text-left{
  margin-right: 20px;
}
#zeiss-portrait{
  height: 350px !important; 
  background-image: url(https://static.igem.wiki/teams/5247/sponsors/zeiss-foto.jpg);
  background-size: auto 100%;
  background-repeat: no-repeat;
}
#zeiss-portrait-logo{
  padding-top: 10px;
  height: 90px;
}
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed

Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
.sponsor-text-left p, .sponsor-text-right p{
  display: flex;
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
  vertical-align: middle;
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
}
#idt-portrait{
  height: 350px !important; 
  background-image: url(https://static.igem.wiki/teams/5247/photos/lab/in-inhaler-flipped.jpg);
  background-size: auto 100%;
  background-repeat: no-repeat;
}
#idt-portrait-logo{
  padding-top: 10px;
  height: 50px;
}
#integra-portrait{
  height: 300px !important; 
  background-image: url(https://static.igem.wiki/teams/5247/sponsors/integra-foto.jpg);
  background-size: auto 100%;
  background-repeat: no-repeat;
  background-color: white;
}
#integra-portrait-logo{
  padding-top: 10px;
  height: 40px;
}

/* * * * * * * */
/* * * SVG * * */
/* * * * * * * */
svg{
  background:transparent
}
.hone svg text{
  font-size: 7vw !important;
  stroke-width:2px !important;
  fill:var(--accent-primary) ;
  stroke:var(--text-primary);
  /*letter-spacing:4px;*/
  animation:effect 3s, dash 3s;
}
.hone svg text:hover{
  fill: var(--text-primary)
}




/* * * * * * * */
/* MEDIA RULES */
/* * * * * * * */
/*For tablet or bigger*/
@media screen and (min-width: 992px) {
  /* navbar opens on hover*/ 
  .dropdown:hover .dropdown-menu {
      display: block;
  }
}
/*For Tablet and smaller*/
@media screen and (max-width: 992px){

}
/*For Smartphones*/
@media screen and (max-width: 768px){
  svg text{
    font-size: 9vw;
    stroke-width:1px;
  }
  .village-style-button h3{
    display: none !important;
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
  }
  .village-style-button{
    box-shadow: 1px 1px 1px gray;
    border-radius: 10px;
    border-color: black;
  .village-style-button:hover{
    box-shadow: none;
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
  }
  .village-style-button img{
    max-width: 90%;
    max-height: 90%;
    padding-top: 10px;
    padding-bottom: 5px;
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
  }
  .img-half{
    max-width: 100% !important;
  }
}
/*Bigger than smartphones*/
@media only screen and (min-width: 768px) {
  .col-1 {width: 8.33%;}
  .col-2 {width: 16.66%;}
  .col-3 {width: 25%;}
  .col-4 {width: 33.33%;}
  .col-5 {width: 41.66%;}
  .col-6 {width: 50%;}
  .col-7 {width: 58.33%;}
  .col-8 {width: 66.66%;}
  .col-9 {width: 75%;}
  .col-10 {width: 83.33%;}
  .col-11 {width: 91.66%;}
  .col-12 {width: 100%;}

Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
  
}


/* * * * * * * */
/* * EFFECTS * */
/* * * * * * * */
@keyframes effect{
  0%{
    stroke-dasharray:0 70%;
  100%{
    stroke-dasharray:10% 0%;
    stroke-dashoffset:20%;
}
@keyframes dash {
  0% {
    stroke-dashoffset: 1300;
  35% {
    fill-opacity: 0;
  50% {
    stroke-dashoffset: 0;
  100% {
    stroke-dashoffset: 0;
    fill-opacity: 1;
/* Headings */
.revealUp {
  opacity: 0;
  visibility: hidden;
}
.spacer {
  height: 50vh;
  background-color: #000;
}

.hello:hover {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 25vw;
  animation-name: jumpy;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  -webkit-text-stroke-width: 3px;
  -webkit-text-stroke-color: black;
}
.terminal-box{
  margin-top: 10px;
  margin-bottom: 10px;
  background-color: black;
  border-radius: 10px;
  color: white;
  padding-left: 30px;
  padding-right: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
.terminal-box .terminal-error{
  color: red;
}
.problem-error::before {
  background-image: url(https://static.igem.wiki/teams/5247/design/icons/cross-circle.png); 
  background-size: 20px 20px;
  content: "";
  background-repeat: no-repeat;
  width: 20px; 
  height: 20px;
  padding-right: 30px;
  align-self: center;
}
.problem-error{
  display: inline-flex;
  margin-top: 10px;
  margin-bottom: 10px;
  background-color: black;
  border-radius: 10px;
  color: white;
  padding-left: 30px;
  padding-right: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
}
/* TIMELINE EINS */

.timeline-container {
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 40px 0;
}

.timeline-container::after {
  background-color: var(--text-primary);
  position: absolute;
  left: calc(50% - 2px);
  content: "";
  width: 4px;
  height: 100%;
  z-index: 0;
}
.timeline-item {
  min-width: 100px;
 /*  display: flex; */
  justify-content: flex-end;
  padding-right: 30px;
  position: relative;
  margin: 10px 0;
  width: 50%;
}

.timeline-item:nth-child(odd) {
  align-self: flex-end;
  justify-content: flex-start;
  padding-left: 30px;
  padding-right: 0;
}
.timeline-item-content {
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  border-radius: 5px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 15px;
  position: relative;
  text-align: right;
}
.timeline-end{
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  border-radius: 5px;
  background-color: #fff; 
  padding: 15px;
  position: relative;
  text-align: center;
  z-index: 1;
  margin-top: 8vw;
}
.timeline-begin{
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  border-radius: 5px;
  background-color: #fff; 
  padding: 15px;
  position: relative;
  text-align: center;
  z-index: 1;
  margin-bottom: 8vw;
}

.timeline-item-content::after {
  background-color: #fff;
  box-shadow: 1px -1px 1px rgba(0, 0, 0, 0.2);
  position: absolute;
  right: -7.5px;
  top: calc(50% - 7.5px);
  transform: rotate(45deg);
  width: 15px;
  height: 15px;
}

.timeline-item:nth-child(odd) .timeline-item-content {
  text-align: left;
  align-items: flex-start;
}

.timeline-item:nth-child(odd) .timeline-item-content::after {
  right: auto;
  left: -7.5px;
  box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.2);
}
.timeline-item-content .tag {
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  top: 5px;
  left: 5px;
  letter-spacing: 1px;
  padding: 5px;
  position: absolute;
  text-transform: uppercase;
}

.timeline-item:nth-child(odd) .timeline-item-content .tag {
  left: auto;
  right: 5px;
}

.timeline-item-content time {
  color: var(--lightblue);
  font-size: 12px;
  font-weight: bold;
}

.timeline-item-content p {
  font-size: 16px;
  line-height: 24px;
  margin: 15px 0;
  max-width: 250px;
}

.timeline-item-content a {
  font-size: 14px;
  font-weight: bold;
}

.timeline-item-content a::after {
  font-size: 12px;
}

.timeline-item-content .circle {
  background-color: #fff;
  border: 3px solid var(--text-primary);
  border-radius: 50%;
  position: absolute;
  top: calc(50% - 10px);
  right: -40px;
  width: 20px;
  height: 20px;
  z-index: 100;
}

.timeline-item:nth-child(odd) .timeline-item-content .circle {
  right: auto;
  left: -40px;
}
@media only screen and (max-width: 1023px) {
  .timeline-item-content {
      max-width: 100%;
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
  }
}

@media only screen and (max-width: 767px) {
  .timeline-item-content,
  .timeline-item:nth-child(odd) .timeline-item-content {
      padding: 15px 10px;
      text-align: center;
      align-items: center;
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
  }
  
  .timeline-item-content .tag {
      width: calc(100% - 10px);
      text-align: center;
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
  }
  
  .timeline-item-content time {
      margin-top: 20px;
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
  }
  
  .timeline-item-content a {
      text-decoration: underline;
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
  }
  
  .timeline-item-content a::after {
      display: none;
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
  }
}
/* Horizontal */
.timeline {
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
}
.timelineol {
  font-size: 0;
  width: 100vw;
  padding: 250px 0;
  transition: all 1s;
}
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed

Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
  box-shadow: 0 4px 6px 0 hsla(0, 0%, 0%, 0.2);
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1px;
  padding: 5px;
  margin-bottom: 10px;
  text-transform: uppercase;
  width: fit-content !important;
}
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed

button.tabbutton.Patient.active, button.tabbutton.All.active, 
button.tabbutton.Industry.active, button.tabbutton.Academia.active, 
button.tabbutton.Medical.active, .modulators.active, .inhalations.active{
  border-color: black;
}
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed

Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
button.tabbutton:nth-child(1){
  background-color: white;
}
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed

Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
.Patient, button.tabbutton:nth-child(2){
  background-color: var(--accen-secondary);
}

Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
.Medical, button.tabbutton:nth-child(3){
  background-color: var(--accent-primary);
}

Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
.Academia, button.tabbutton:nth-child(4){
  background-color: var(--lightblue);
}

Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
.Industry, button.tabbutton:nth-child(5){
  background-color: var(--mediumpurple);
}
Liliana Sanfilippo's avatar
Liliana Sanfilippo committed
button.tabbutton:nth-child(6){
  background-color: var(--igemlightgreen);
}

.timelineolli {
  position: relative;
  display: inline-block;
  list-style-type: none;
  width: 160px;
  height: 5px;
  /* background-image: url("../components/data/stroke.svg");
  background-size: auto 100%;
  background-repeat: round;
  background-position: 0em; */ 
  background: var(--text-primary); 
}
.timeline ol li:last-child {
  width: 280px;
}


.timeline ol li:not(:first-child) {
  margin-left: 14px;
}

.timeline ol li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  left: calc(100% + 1px);
  bottom: 0;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--text-primary);
}


.timeline ol li .timeline-item {
  min-height: 310%;
  position: absolute;
  left: calc(100% + 7px);
  width: 280px;
  padding: 15px;
  font-size: 1rem;
  white-space: normal;
  color: black;
  background: white;
}
.timeline ol li:nth-child(2n+1) .moretop{
  top: -30px !important;   
}