Benutzer:Col. o'neill/arcs.css: Unterschied zwischen den Versionen

aus Stargate Wiki, dem deutschsprachigen Stargate-Lexikon
Zur Navigation springen Zur Suche springen
KKeine Bearbeitungszusammenfassung
KKeine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
#arcs-wrapper {
#arcs-wrapper {
     display: block !important;
     display: block !important;
    height: 130px;
}
}
#arcs-temp {
#arcs-temp {
Zeile 7: Zeile 6:
}
}


#arcs-line {
.arc {
height: 130px;
}
 
.arc-line {
     width: 100%;
     width: 100%;
     height: 4px;
     padding: 2px;
    box-sizing: border-box;
     background-color: #627499;
     background-color: #627499;
}
}


.arcs-event {
.arc-event {
   display: inline-block;
   display: inline-block;
   padding: 10px;
   padding: 10px;
Zeile 22: Zeile 26:
}
}


.arcs-event:nth-of-type(odd) {
.arc-event:nth-of-type(odd) {
   margin-bottom: 20px;
   margin-bottom: 20px;
   margin-right: 0px;
   margin-right: 0px;
}
}
.arcs-event:nth-of-type(odd)::before {
.arc-event:nth-of-type(odd)::before {
   content: '';
   content: '';
   width: 0;
   width: 0;
Zeile 36: Zeile 40:
   left: 5px;
   left: 5px;
}
}
.arcs-event:nth-of-type(odd)::after {
.arc-event:nth-of-type(odd)::after {
   content: '';
   content: '';
   width: 14px;
   width: 14px;
Zeile 47: Zeile 51:
}
}


.arcs-event:nth-of-type(even) {
.arc-event:nth-of-type(even) {
   top: 86px;
   top: 86px;
}
}
.arcs-event:nth-of-type(even)::before {
.arc-event:nth-of-type(even)::before {
   content: '';
   content: '';
   width: 0;
   width: 0;
Zeile 60: Zeile 64:
   left: 5px;
   left: 5px;
}
}
.arcs-event:nth-of-type(even)::after {
.arc-event:nth-of-type(even)::after {
   content: '';
   content: '';
   width: 14px;
   width: 14px;

Version vom 22. Juni 2020, 19:23 Uhr

#arcs-wrapper {
    display: block !important;
}
#arcs-temp {
	display: none;
}

.arc {
	height: 130px;
}

.arc-line {
    width: 100%;
    padding: 2px;
    box-sizing: border-box;
    background-color: #627499;
}

.arc-event {
  display: inline-block;
  padding: 10px;
  border: 1px solid gray;
  border-radius: 3px;
  position: relative;
  line-height: 20px;
}

.arc-event:nth-of-type(odd) {
  margin-bottom: 20px;
  margin-right: 0px;
}
.arc-event:nth-of-type(odd)::before {
  content: '';
  width: 0;
  height: 0;
  border: 10px solid gray;
  border-color: gray transparent transparent transparent;
  position: absolute;
  bottom: -20px;
  left: 5px;
}
.arc-event:nth-of-type(odd)::after {
  content: '';
  width: 14px;
  height: 14px;
  border-radius: 100%;
  background-color: #627499;
  position: absolute;
  bottom: -30px;
  left: 8px;
}

.arc-event:nth-of-type(even) {
  top: 86px;
}
.arc-event:nth-of-type(even)::before {
  content: '';
  width: 0;
  height: 0;
  border: 10px solid gray;
  border-color: transparent transparent gray transparent;
  position: absolute;
  top: -20px;
  left: 5px;
}
.arc-event:nth-of-type(even)::after {
  content: '';
  width: 14px;
  height: 14px;
  border-radius: 100%;
  background-color: #627499;
  position: absolute;
  top: -30px;
  left: 8px;
}