@import "color.css";

/* add missing css for table when render in markdown */
table > thead > tr.header > th {
  border: 1px solid black;
}
table > tbody > tr.odd > td {
  border: 1px solid black;
}

table > tbody > tr.even > td {
  border: 1px solid black;
}

.circle-link {
  color: #333;
  text-align: center;
  width: 32px;
  height: 32px;
  background-color: #dcdcdc;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  padding: 5px;
}

.link-json {
  margin-left: 5px;
  margin-right: 5px;
}

.link-print {
  margin-left: 5px;
  margin-right: 5px;
}

.row-toolbox {
  padding: 10px;
}

.alert-banner {
  padding: 10px;
  background-color: red;
  color: white;
  width: 100%;
  font-size: 2rem;
  text-align: center;
  font-family: "ag_condensed", Arial, "Noto Color Emoji", "Apple Color Emoji", "Segoe UI Emoji", Symbola, Aegyptus,
    Code2000, Code2001, Code2002, Musica, LastResort;
}

ul li:has(input[type="checkbox"]) {
  list-style-type: none;
}

.article-content {
  table {
    border-collapse: collapse;
    width: 100%;
    background-color: #fff;
    border: 1px solid #e0e0e0;
  }

  th,
  td {
    padding: 10px;
    border: 1px solid #e0e0e0;
  }

  th {
    background-color: #f0f0f0;
    color: #333;
  }

  tr:nth-child(even) {
    background-color: #f8f8f8;
  }

  tr:hover {
    background-color: #f2f7fb;
  }
}
