diff --git a/static/public/css/index.css b/static/public/css/index.css new file mode 100644 index 0000000..73597f3 --- /dev/null +++ b/static/public/css/index.css @@ -0,0 +1,38 @@ +/* index.css — 社区首页专属样式(通用主题见 theme.css) */ + +body { + align-items: normal; +} + +/* ===== 头部 ===== */ +.header { + display: flex; + justify-content: space-between; + align-items: center; + width: 100%; +} + +.right-group { + display: flex; + align-items: center; +} + +.right-group > img, +.right-group > b, +.right-group > button { + margin-left: 5px; + margin-right: 5px; +} + +#avatar { + border-radius: 50%; +} + +/* ===== 网站简介 ===== */ +.site-intro { + max-width: 640px; + margin: 0 auto; + font-size: 0.95rem; + line-height: 1.9; + color: var(--fg-secondary); +} diff --git a/static/public/index.html b/static/public/index.html index d86131d..e2b1eff 100644 --- a/static/public/index.html +++ b/static/public/index.html @@ -4,41 +4,14 @@ - +