/*
Theme Name: Simple SXF
Version: 1.0.1
Author: Lee Feng
Description: A simple, clean, and independent WordPress theme
Tags: minimal, blog, clean
*/

/* 字体与基础设置 */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  color: #333;
  background: #fff;
}

/* 页面头部和页脚 */
header,
footer {
  text-align: center;
  padding: 1rem 0;
}

footer {
  font-size: 0.85rem;
  color: #999;
  line-height: 1.4;
  margin-top: 3rem;
}

/* 自定义 logo 样式（如首页标题） */
#logo {
  font-size: 1.5rem;
  font-weight: bold;
  display: block;
}

/* 描述文字（副标题） */
.de {
  color: #666;
  font-size: 0.95rem;
  margin: 0.5rem 0 1.2rem;
}

/* 菜单导航样式 */
nav#menu a {
  margin: 0 0.75rem;
  color: #333;
  text-decoration: none;
  font-size: 0.95rem;
}
nav#menu a.current {
  font-weight: bold;
}

/* 布局容器 */
.container {
  max-width: 720px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* 文章列表 */
.site-title {
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}
.post-list {
  list-style: none;
  padding: 0;
}
.post-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1rem 0;
  border-bottom: 1px dotted #eee;
  padding-bottom: 0.3rem;
}
.post-link {
  color: #333;
  text-decoration: none;
  flex-grow: 1;
  margin-right: 1rem;
  padding: 0.15rem 0.3rem;       /* 增加内边距让hover背景显得自然 */
  border-radius: 4px;            /* 圆角 */
  transition: background-color 0.25s ease, color 0.25s ease;  /* 平滑过渡 */
  display: inline-block;         /* 使padding生效 */  
}

.post-link:hover {
  background-color: #f0f0f0;    /* 浅灰背景 */
  color: #3498db;               /* 蓝色标题 */
  text-decoration: none;
}

.post-date {
  font-size: 0.85rem;
  color: #888;
  white-space: nowrap;
}
