フォロー

@sakasame@twiddon.com .theme-mastodon-light
.column-back-button,
.theme-mastodon-light
.column-header,
.theme-mastodon-light
.column-header__button,
.theme-mastodon-light
.column-header__back-button,
.theme-mastodon-light
.drawer__header,
.theme-mastodon-light
.list-editor h4,
.theme-mastodon-light
.public-layout .header,
.theme-mastodon-light
.search-results__header,
.theme-mastodon-light
.search-results__section h5,
.theme-mastodon-light
.tabs-bar {
(以下略)

@sakasame@twiddon.com カンマで区切っているひとつひとつにテーマのクラスを書かないとだめかな。

@sakasame@twiddon.com scssが使える場合は、

.theme-mastodon-light {
.column-back-button,
.column-header,
.column-header__button,
.column-header__back-button,
.drawer__header,
.list-editor h4,
.public-layout .header,
.search-results__header,
.search-results__section h5,
.tabs-bar {
border-top-left-radius: 15px;
border-top-right-radius: 15px;
}
}

って階層的に書けるんだけどね。生で書く場合は展開するしかないと思う。

ログインして会話に参加
Fedibird

様々な目的に使える、日本の汎用マストドンサーバーです。安定した利用環境と、多数の独自機能を提供しています。