.code {}

.h1 {
  font-size: 48rpx;
  margin-top: 20rpx;
  margin-bottom: 40rpx;
}

.h2 {
  font-size: 44rpx;
  margin-top: 20rpx;
  margin-bottom: 40rpx;
}

.h3 {
  font-size: 40rpx;
  margin-top: 20rpx;
  margin-bottom: 40rpx;
}

.h4 {
  font-size: 36rpx;
  margin-top: 20rpx;
  margin-bottom: 40rpx;
}

.h5 {
  font-size: 32rpx;
  margin-top: 20rpx;
  margin-bottom: 40rpx;
}

.h6 {
  font-size: 28rpx;
  margin-top: 20rpx;
  margin-bottom: 40rpx;
}

.hr {
  border-bottom: 1px solid #aaa;
  margin-top: 12rpx;
  margin-bottom: 12rpx;
}

.blockquote {
  border-left: 8rpx solid #aaa;
  padding: 16rpx;
}

.list,
.taskList,
.orderedList {
  display: block;
  margin-bottom: 12rpx;
}

.listItem,
.taskListItem,
.orderedListItem {
  padding-left: 1rem;
  position: relative;
}

.taskListItem {
  padding-left: 1.5rem;
}

.checkedTaskIndicator,
.uncheckTaskIndicator,
.listItemIndicator {
  position: absolute;
  top: 0;
  left: 0;
  user-select: none;
}

.checkedTaskIndicator,
.uncheckTaskIndicator {
  width: 1rem;
  height: 1rem;
  overflow: hidden;
  border: 2px solid #ddd;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.65rem;
  border-radius: 8rpx;
  color: #999;
}

.paragraph {
  margin-top: 4rpx;
  margin-bottom: 12rpx;
  font-size: 28rpx;
  font-weight: 500;
  color: #444444;
  line-height: 35rpx;
}

.blockHtml {}

.inlineHtml {}

.text {
}

.def {}

.strong {
  font-weight: bold;
}

.em {
  font-style: italic;
}

.del {
  text-decoration: line-through;
}

.codespan {
  padding: 0 12rpx;
  font-size: 85%;
  border: 1px solid #aaa;
  background-color: #ccc;
  border-radius: 8rpx;
}

//.escape {}
//.br {}

.link {
  display: inline;
  text-decoration: underline;
  color: blue;
  // todo 取消点击时的背景
}

.image {
  display: inline-block;
  width: 100%;
  height: auto;
}

.video {
  display: block;
  max-width: 100%;
}

// todo 自动换行
.table {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid #dee2e6;
}

.tableBodyRow,
.tableHeader {
  display: flex;

  &:not(:last-child) {
    border-bottom: 1px solid #dee2e6;
  }
}

.tableHeaderCell,
.tableBodyCell {
  flex: 1;
  padding: 8rpx 12rpx;

  &:not(:last-child) {
    border-right: 1px solid #dee2e6;
  }
}
