/* SimpleMemory 主题定制CSS */

/* 博客标题美化 */
#header {
  padding: 20px 0 10px;
}

#blogTitle h1 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 1px;
}

#blogTitle h2 {
  font-size: 14px;
  color: #888;
  font-weight: 400;
  letter-spacing: 2px;
}

/* 正文区域优化 */
#mainContent {
  max-width: 900px;
  margin: 0 auto;
}

/* 随笔列表卡片化 */
.day {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  padding: 20px 25px;
  margin-bottom: 20px;
  transition: box-shadow 0.3s ease;
}

.day:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* 随笔标题样式 */
.postTitle a {
  font-size: 18px;
  font-weight: 600;
  color: #2a6496;
  transition: color 0.2s;
}

.postTitle a:hover {
  color: #1a4a76;
}

/* 随笔摘要 */
.postCon .c_b_p_desc {
  line-height: 1.8;
  color: #555;
  font-size: 14px;
}

/* 侧边栏美化 */
#sideBar {
  border-radius: 8px;
  overflow: hidden;
}

.sidebar-block {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  margin-bottom: 15px;
}

/* 公告区域 */
#blog-news {
  padding: 15px;
  text-align: center;
}

/* 技术栈标签动画 */
#blog-news span {
  display: inline-block;
  transition: transform 0.2s;
}

#blog-news span:hover {
  transform: translateY(-2px);
}

/* 代码块样式增强 */
.cnblogs-markdown code {
  border-radius: 3px;
}

.cnblogs-markdown pre {
  border-radius: 6px;
}

/* 返回顶部按钮 */
#toTop {
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* 整体页面过渡 */
body {
  transition: background-color 0.3s ease;
}

/* 链接颜色统一 */
#mainContent a {
  color: #2a6496;
  text-decoration: none;
  transition: color 0.2s;
}

#mainContent a:hover {
  color: #1a4a76;
  text-decoration: underline;
}
