/* 额外的自定义样式 */

/* 主体内容样式 */
.md-content {
  font-size: 16px;
  line-height: 1.6;
}

/* 标题样式 */
.md-content h1 {
  color: #2c3e50;
  border-bottom: 1px solid #eaecef;
  padding-bottom: 0.3em;
}

.md-content h2 {
  color: #1a73e8;
  margin-top: 1.5em;
}

.md-content h3 {
  color: #34495e;
}

/* 链接样式 */
.md-content a {
  color: #1a73e8;
  text-decoration: none;
  transition: color 0.2s ease;
}

.md-content a:hover {
  color: #0d47a1;
  text-decoration: underline;
}

/* 代码块样式 */
.md-content pre {
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* 表格样式 */
.md-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
}

.md-content table th {
  background-color: #f5f7fa;
  font-weight: 600;
}

.md-content table th,
.md-content table td {
  padding: 8px 12px;
  border: 1px solid #e0e0e0;
}

.md-content table tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* 引用块样式 */
.md-content blockquote {
  border-left: 4px solid #1a73e8;
  background-color: #f5f7fa;
  padding: 10px 15px;
  margin: 1em 0;
  color: #555;
}

/* 算法动画容器 */
.algorithm-animation {
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  padding: 15px;
  margin: 20px 0;
  background-color: #f9f9f9;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
  .md-content {
    font-size: 15px;
  }

  .algorithm-animation {
    padding: 10px;
  }
}
