# Discourse Central主题真的很好看

**URL:** <https://www.isharkfly.com/t/discourse-central/16166>\
**Category:** Discourse\
**Tags:** discourse\
**Created:** [August 20, 2024, 4:50pm UTC](https://www.isharkfly.com/t/discourse-central/16166 "2024-08-20T16:50:09Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lhcfl](https://www.isharkfly.com/user_avatar/www.isharkfly.com/lhcfl/32/14361_2.png) [@Lhcfl](https://www.isharkfly.com/u/Lhcfl)\
**Post date:** [August 20, 2024, 4:50pm UTC](https://www.isharkfly.com/t/discourse-central/16166/1 "2024-08-20T16:50:09Z")

</div>

> **[Discourse Central Theme — Meta Pre-Release Out Now!](https://meta.discourse.org/t/discourse-central-theme-meta-pre-release-out-now/287495/135)**
>
> Hi everyone, progress is being made! I’ve enabled the Central theme here as a user option on Meta if you want to give it a spin… you can select your theme from the bottom of the sidebar nav, or from...

只能说不愧是专业设计师，有水平的

 ![image](https://cdn.isharkfly.com/com-isharkfly-www/discourse-uploads/original/2X/2/2db9406326c83c5bf2e85333fd6232963f9390a1.png)

虽然现阶段还有很多bug，但靠自己的css技术缝缝补补了一些，用上去还是非常赏心悦目

> **我对这个主题的补丁**
>
> ```css
> body:not(.admin-interface) #sidebar-section-content-categories .sidebar-section-link-wrapper[data-category-id] .sidebar-section-link-prefix:before {
> display: none !important;
> }
> 
> .badge-category__wrapper .badge-category:before {
> display: none !important;
> }
> 
> .d-header .d-header-icons li>button, .d-header .d-header-icons li>.icon {
> overflow: visible;
> }
> 
> .d-header .header-dropdown-toggle .user-status-background {
> transform: translateX(40px);
> z-index: 1002 !important;
> img {
> width: 14px !important;
> height: 14px !important;
> }
> }
> 
> .cooked a {
> color: var(--tertiary);
> }
> 
> :root {
> --d-max-width: 1600px !important;
> }
> 
> .sidebar-footer-actions .d-icon {
> scale: 120%;
> }
> 
> #header-list-area {
> .category-boxes,
> .c-categories {
> display: none;
> }
> }
> 
> .c-categories__item {
> width: 100%;
> }
> 
> @media screen and (max-width: 768px) { 
> #sidebar-section-content-user-threads {
> display: none;
> }
> body:not(.admin-interface) .sidebar-wrapper .sidebar-section-wrapper:not([data-section-name=community]) {
> display: none;
> }
> }
> 
> .new-user-content-wrapper,
> .new-user-wrapper .user-navigation,
> .new-user-wrapper .user-navigation-secondary {
> max-width: calc(100vw - 2rem);
> }
> 
> ```

---

<div class="post-metadata">

**Author:** ![honeymoose](https://www.isharkfly.com/user_avatar/www.isharkfly.com/honeymoose/32/20796_2.png) [@honeymoose](https://www.isharkfly.com/u/honeymoose)\
**Post date:** [August 20, 2024, 5:12pm UTC](https://www.isharkfly.com/t/discourse-central/16166/2 "2024-08-20T17:12:47Z")

</div>

Discourse 的设计还是在线的。

简洁的风格，内容获取都非常不错。

---

<div class="post-metadata">

**Author:** ![CAKE\_NICE](https://www.isharkfly.com/user_avatar/www.isharkfly.com/cake_nice/32/14319_2.png) [@CAKE\_NICE](https://www.isharkfly.com/u/CAKE_NICE)\
**Post date:** [August 21, 2024, 12:47am UTC](https://www.isharkfly.com/t/discourse-central/16166/3 "2024-08-21T00:47:49Z")

</div>

很久以前就发现了这个，真的很好看，简洁的外观上又不失美感。

只不过当时暂时还未发布

---

<div class="post-metadata">

**Author:** ![Lhcfl](https://www.isharkfly.com/user_avatar/www.isharkfly.com/lhcfl/32/14361_2.png) [@Lhcfl](https://www.isharkfly.com/u/Lhcfl)\
**Post date:** [August 21, 2024, 1:01am UTC](https://www.isharkfly.com/t/discourse-central/16166/4 "2024-08-21T01:01:06Z")

</div>

现在已经发布了

> [@awesomerobot](#):
>
> Hi everyone, progress is being made! I’ve enabled the Central theme here as a user option on Meta if you want to give it a spin… you can select your theme from the bottom of the sidebar nav, or from [Discourse Meta - The Official Support Forum for Discourse](https://meta.discourse.org/my/preferences/interface)
> 
> The github repo is also public now at: [GitHub - discourse/discourse-central-theme: CENTRAL](https://github.com/discourse/discourse-central-theme)
> 
> There are still some minor known issues with the theme, but we’re working on it! At the moment you should use it with the site setting `desktop category page style` set to `categories with featured topics`

---

<div class="post-metadata">

**Author:** ![CAKE\_NICE](https://www.isharkfly.com/user_avatar/www.isharkfly.com/cake_nice/32/14319_2.png) [@CAKE\_NICE](https://www.isharkfly.com/u/CAKE_NICE)\
**Post date:** [August 21, 2024, 3:39am UTC](https://www.isharkfly.com/t/discourse-central/16166/5 "2024-08-21T03:39:38Z")

</div>

了解，但我似乎找不到从哪里开关，允许用户在边栏切换主题了？

还是说这是一个组件？

 ![image](https://cdn.isharkfly.com/com-isharkfly-www/discourse-uploads/original/2X/f/f64158aade0011107fdd3655c0d8ee6ccf4a4d4f.png)

---

<div class="post-metadata">

**Author:** ![CAKE\_NICE](https://www.isharkfly.com/user_avatar/www.isharkfly.com/cake_nice/32/14319_2.png) [@CAKE\_NICE](https://www.isharkfly.com/u/CAKE_NICE)\
**Post date:** [August 21, 2024, 3:48am UTC](https://www.isharkfly.com/t/discourse-central/16166/6 "2024-08-21T03:48:40Z")

</div>

已经找到了

> **[GitHub - discourse/discourse-hamburger-theme-selector](https://github.com/discourse/discourse-hamburger-theme-selector)**
>
> Contribute to discourse/discourse-hamburger-theme-selector development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![Lhcfl](https://www.isharkfly.com/user_avatar/www.isharkfly.com/lhcfl/32/14361_2.png) [@Lhcfl](https://www.isharkfly.com/u/Lhcfl)\
**Post date:** [August 21, 2024, 11:59am UTC](https://www.isharkfly.com/t/discourse-central/16166/7 "2024-08-21T11:59:43Z")

</div>

其实是sidebar theme selector，不是hamburger theme selector

---

<div class="post-metadata">

**Author:** ![CAKE\_NICE](https://www.isharkfly.com/user_avatar/www.isharkfly.com/cake_nice/32/14319_2.png) [@CAKE\_NICE](https://www.isharkfly.com/u/CAKE_NICE)\
**Post date:** [August 21, 2024, 12:05pm UTC](https://www.isharkfly.com/t/discourse-central/16166/8 "2024-08-21T12:05:41Z")

</div>

thanks

---

<div class="post-metadata">

**Author:** ![upsolution](https://www.isharkfly.com/user_avatar/www.isharkfly.com/upsolution/32/21727_2.png) [@upsolution](https://www.isharkfly.com/u/upsolution)\
**Post date:** [August 28, 2024, 4:36pm UTC](https://www.isharkfly.com/t/discourse-central/16166/9 "2024-08-28T16:36:39Z")

</div>

确实好看好好播

---

<div class="post-metadata">

**Author:** ![whitewatercn](https://www.isharkfly.com/user_avatar/www.isharkfly.com/whitewatercn/32/2131_2.png) [@whitewatercn](https://www.isharkfly.com/u/whitewatercn)\
**Post date:** [August 30, 2024, 2:30am UTC](https://www.isharkfly.com/t/discourse-central/16166/10 "2024-08-30T02:30:24Z")

</div>

好看，不过好像还没有很完善

> **[【PDF】李少川儿科经验集](https://forum.beginner.center/t/topic/1366)**
>
> 简介 儿科轮转期间，老师推荐儿科入门级读物 相关信息 作者: 马融 出版社: 人民卫生出版社 出版年: 2013-4 页数: 172 定价: 27.00元 ISBN: 9787117169721 详见 李少川儿科经验集 (豆瓣) 下载 之前能打开的zlibrary页面打不开了？——zlibrary官网域名被封禁/更换后怎么办 https://zh.singlelogin.re/book/21624823/be351c/李少川儿科经验集李少川兒科經驗集.html ...

# 新主题

 ![IMG_1724](https://cdn.isharkfly.com/com-isharkfly-www/discourse-uploads/original/2X/a/a55dde371bcf647f5f34bf06b1a099dcce3c3bff.jpeg)

 ![IMG_1725](https://cdn.isharkfly.com/com-isharkfly-www/discourse-uploads/original/2X/a/abbd27520f78471b11f29ff82e651e0b9f4acf48.jpeg)

---

<div class="post-metadata">

**Author:** ![kacha1](https://www.isharkfly.com/user_avatar/www.isharkfly.com/kacha1/32/15186_2.png) [@kacha1](https://www.isharkfly.com/u/kacha1)\
**Post date:** [August 30, 2024, 3:05am UTC](https://www.isharkfly.com/t/discourse-central/16166/11 "2024-08-30T03:05:41Z")

</div>

目前PC端很好看，移动端看起来很空，感觉少点什么

---

<div class="post-metadata">

**Author:** ![VegaMonika](https://www.isharkfly.com/user_avatar/www.isharkfly.com/vegamonika/32/14424_2.png) [@VegaMonika](https://www.isharkfly.com/u/VegaMonika)\
**Post date:** [August 31, 2024, 9:20am UTC](https://www.isharkfly.com/t/discourse-central/16166/12 "2024-08-31T09:20:10Z")

</div>

好看是好看 就是 和我用的主题一样左右都空了太多了 如果可以拉长就好了

 ![image](https://cdn.isharkfly.com/com-isharkfly-www/discourse-uploads/original/2X/7/71a7678a75fb522aeb39f8f9c94f1603e0e4595e.jpeg)

 ![image](https://cdn.isharkfly.com/com-isharkfly-www/discourse-uploads/original/2X/a/acfe19d388170c5b58b3221ba63d970861a62794.jpeg)

 ![image](https://cdn.isharkfly.com/com-isharkfly-www/discourse-uploads/original/2X/8/88f356bb155e8cc15111a1188313d4c3ca99b1ee.jpeg)

---

<div class="post-metadata">

**Author:** ![Lhcfl](https://www.isharkfly.com/user_avatar/www.isharkfly.com/lhcfl/32/14361_2.png) [@Lhcfl](https://www.isharkfly.com/u/Lhcfl)\
**Post date:** [August 31, 2024, 2:26pm UTC](https://www.isharkfly.com/t/discourse-central/16166/13 "2024-08-31T14:26:49Z")

</div>

> [@VegaMonika](#):
>
> 如果可以拉长就好了

这个值由 `--d-max-width` 控制，你想设置多少都可以啊

比如我在我社区就设置了：

```css
:root {
    --d-max-width: 1600px !important;
}

```
