:root {
  --color-text: #333333;
  --width-content: 1280px;
}

header {
  padding: 1rem;
  display: flex;
  flex-flow: row;
  border-bottom: 1px solid var(--color-bg-secondary);
}

header > p {
  width: auto;
  line-height: 4.5em;
}
header > p:before {
  content: "-";
  margin: 0 0.2em 0 1em;
}

main {
  padding: 1rem 0;
}

.release-pipelines {
  margin: 0 1rem 1rem 1rem;
}

.release-pipelines > div {
  font-size: 0.8em;
  color: var(--color-text-secondary);
  padding: 0 1em 1em 1em;
  position: relative;
}

.release-pipelines > div:before {
  position: absolute;
  top: 1.8em;
  bottom: 0px;
  left: 1.7em;
  display: block;
  width: 1px;
  content: "";
  background-color: #d9d9d9;
}

.release-pipelines > div > p {
  display: inline;
  position: relative;
  top: -2px;
}

.release-pipelines > div > p > a > code {
  font-weight: normal;
}

.release-pipelines > ul {
  list-style: none;
  margin: 0px;
  padding: 0px;
  border: 1px solid var(--color-bg-secondary);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow) var(--color-shadow);
}

.release-pipelines > ul > li {
  border-bottom: 1px solid var(--color-bg-secondary);
  padding: 0.5em;
}
.release-pipelines > ul > li:last-of-type {
  border-bottom: 0;
}

.release-pipelines > ul > li > ul {
  list-style: none;
  margin: 0 1em;
  padding: 0;
  display: flex;
  flex-flow: row;
  justify-content: flex-start;
  align-items: center;
  align-content: stretch;
  font-family: monospace;
  min-height: 4em;
}

.release-pipelines > ul > li > ul > li {
  position: relative;
  margin-right: 3em;
  padding: 0;
  min-width: 5em;
}

.release-pipelines > ul > li > ul > li:last-of-type {
  margin-left: auto;
}

.release-pipelines > ul > li > ul > li:last-of-type:before,
.release-pipelines > ul > li > ul > li:last-of-type:after {
  display: none;
}

.release-pipelines > ul > li > ul > li a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: normal;
}

.release-pipelines > ul > li > ul > li a > span {
  text-decoration-thickness: 1px;
  text-decoration-skip-ink: auto;
  text-decoration-color: var(--color-text);
  text-decoration-style: dotted;
  text-decoration-line: underline;
  text-underline-offset: 0.2em;
}
.release-pipelines > ul.by-env > li > ul > li:nth-of-type(1) {
  min-width: 5em;
  text-align: left;
}
.release-pipelines > ul.by-env > li > ul > li:nth-of-type(2) {
  min-width: 11em;
}
.release-pipelines > ul.by-env > li > ul > li:nth-of-type(3) {
  min-width: 12em;
}

/* Timestamp */
.release-pipelines > ul > li > ul > li:first-of-type {
  text-align: center;
}

/* Download links */
.release-pipelines > ul > li > ul > li:nth-last-of-type(1) {
  margin: 0 auto;
}

.release-pipelines > ul > li > ul > li:nth-last-of-type(1) > a {
  background-color: var(--color-secondary);
  border-radius: var(--border-radius);
  color: var(--color-bg);
  margin: 0.2rem;
  padding: 0.2rem 0.3rem;
  font-size: 0.9em;
}

/* More */
/*
.release-pipelines > ul > li > ul > li:last-of-type > a {
  color: var(--color-secondary);
}

.release-pipelines > ul > li > ul > li:last-of-type > a:hover {
  filter: none;
}

.release-pipelines > ul > li > ul > li:last-of-type > a:before,
.release-pipelines > ul > li > ul > li:last-of-type > a:after {
    border-right: 1px solid var(--color-secondary);
    content: '';
    display: block;
    height: 8px;
    margin-top: -6px;
    position: absolute;
    transform: rotate(135deg);
    right: 10px;
    top: 50%;
    width: 0;
}

.release-pipelines > ul > li > ul > li:last-of-type > a:after {
  margin-top: -1px;
  transform: rotate(45deg);
}
*/

footer {
  border-top: 1px solid var(--color-bg-secondary);
  padding: 0;
  font-size: 0.7em;
}
footer > p {
  text-align: center;
}


/* Icons */

.icon-status {
  display: inline-block;
  user-select: none;
  vertical-align: text-bottom;
  overflow: visible;
}

.icon-status-failure {
  color: #f85149;
}

.icon-status-success {
  color: #3fb950;
}

.icon-status-skipped {
}

.icon-status-queued {
  color: var(--color-bg-secondary);
}


.icon-status-in-progress {
  animation: rotate-keyframes 1s linear infinite;
  color: #DBAB0A;
}

@keyframes rotate-keyframes {
  100% {
    transform: rotate(360deg);
  }
}
