에어 테마

새로운 #customization:theme-component를 생성하여 폰트를 오버라이드할 수 있다고 생각합니다.

이 컴퓨터가 수정 가능할 수도 있거나, Google Fonts에서 마음에 드는 폰트를 찾을 수도 있습니다.

.Google Fonts

헤더는 CSS를 통해 타겟팅하고 조정할 수 있다고 생각합니다.

찾고 계신 것과 정확히 일치하지는 않을 수 있지만, 참고할 만한 내용일 수 있습니다.

Hi all

Thanks for such a great theme!
I’m just struggling with something. I’ve noticed on mobile that some of the Profile Preferences tabs don’t have a solid background, causing it to look a bit strange. See image below for reference:

The error page on mobile version does the same thing. They’re all fine on desktop/tablet view, but mobile version seems to have different CSS?

Does anyone perhaps know how/where I can change this? I don’t have any coding background, so would I need to get a developer to do this for me?

1개의 좋아요

Here is an example of what it looks like on tablet/mobile and also what most of the other tabs look like:

1개의 좋아요

Welcome to Meta! :wave:

I don’t think so. This is an official theme so it is maintained by the Discourse team. But even other themes which are shared here are often fixed by the maintainer when you report a problem.

I can reproduce your problem here. It looks even worse than your screenshot because the message preview is wider than my screen.

1개의 좋아요

Does anyone know how to hide td-class?

1개의 좋아요

You can try this CSS:

.topic-list {
    .topic-list-header .posts,
    .topic-list-body .posts {
        display: none !important;   
    }
}

2개의 좋아요

Yes, I tried to hide them this way. regular divs are hidden, but it doesn’t work with td. I tried several options:

.td.num.posts... {
        display: none;
}

.td:num.posts... {
        display: none;
}
1개의 좋아요

I tested my CSS, and it works for me. Did you test it?

It misses the !important for this theme.

3개의 좋아요

Thank’s @chapoi

.full-width .contents .topic-list .topic-list-body .topic-list-item .topic-list-data.posts,
.full-width .contents .topic-list .topic-list-body .topic-list-item .topic-list-data.age,
.full-width .contents .topic-list .topic-list-body .topic-list-item .topic-list-data.posters {
	display: none;
	
}

3개의 좋아요

There is some empty space at the top. Is there any way to remove it? I can’t find anything using the element inspector.


And I would like to increase the width of the block with the topic content

@jordan.vidrine

There’s a margin-top in the main-outlet class

You should add this:

html body #main-outlet {
  margin-top: 0;
}

I’ve never used this yet, but there is a topic-width settings in the css, in a root element.

Add this, it should adapt everything else:

:root {
  --topic-body-width: 750px;
}
1개의 좋아요

This is something not right

At the same time it looks normal. Thank you

.container.posts {
    grid-template-columns: 90% 10%;
}

Thanks for sharing! Will take a look at this soon.

1개의 좋아요

This has been fixed in the latest merging of a PR

1개의 좋아요

Please tell me how to crop the background image like this, with symmetrically rounded corners.

Now the code looks like this:

html .background-container {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: url(https://site/uploads/default/original/2X/2/26d48362654a9e03c716eeaff4a176cbbd01d6b8.png);
    background-size: cover;
  
}
1개의 좋아요

You are going to want to edit the clip path properties. You can learn more about that on sites like css tricks.

2개의 좋아요

When I use the theme here at Meta, the icons in front of Quote, Edit, Copy Quote, and Ask AI are invisible.
image

1개의 좋아요

Hmm, what color scheme are you using? The bg for that isnt what the theme uses.

WCAG Light definitely has the problem, but I changed to “theme default”


and it was still the same. I did refresh to check that the color scheme was saved so I hope it is not affected by my problem with changing color schemes. The blue in the background was lighter after I changed to the default color scheme.

2개의 좋아요