Skip to content

Instantly share code, notes, and snippets.

@ZogStriP
Last active April 20, 2024 06:21
Show Gist options
  • Save ZogStriP/6aba3430735ee097179ee0775a285dde to your computer and use it in GitHub Desktop.
Save ZogStriP/6aba3430735ee097179ee0775a285dde to your computer and use it in GitHub Desktop.
/**********/
/* GLOBAL */
/**********/
.powered-by-discourse {
display: none !important;
}
.badge-category__name {
text-transform: lowercase;
color: var(--category-badge-color) !important;
}
.badge-category:before {
display: none !important;
}
.discourse-tag:not(.assigned-to):before {
content: "#";
}
.discourse-tag.assigned-to:before {
content: "@";
}
.discourse-tag.assigned-to svg {
display: none !important;
}
mark {
color: var(--primary) !important;
background-color: var(--tertiary) !important;
}
.user-stream-item .emoji {
max-width: 20px !important;
max-height: 20px !important;
margin: 0 !important;
}
[data-section-name='categories'],
[data-section-name='messages'] {
display: none !important;
}
#user-menu-button-likes {
display: none !important;
}
/**************/
/* TOPIC LIST */
/**************/
.nav-item_top,
.topic-excerpt,
.post-excerpt,
.topic-list-header,
.topic-list-bottom,
.topic-list-data.posters,
.topic-list-data.posts,
.topic-list-data.views,
.topic-list-data .topic-post-badges,
.topic-list-data .topic-statuses,
.topic-list-data .discourse-tag:not(.assigned-to),
.topic-list-item-separator,
.event-date-container-wrapper {
display: none !important;
}
.topic-list > .topic-list-body > .topic-list-item.last-visit {
border-bottom: 1px solid var(--danger-low) !important;
}
.topic-list .num.age {
text-align: right !important;
}
.topic-list-data.main-link {
display: flex !important;
}
#list-area .link-top-line {
margin-right: 5px;
}
.topic-list .topic-list-data {
padding: 6px 0 !important;
}
.topic-list-main-link a.title,
.latest-topic-list-item .main-link a.title,
.topic-list .main-link a.title,
.topic-list .num.activity a {
padding: 0 !important;
}
.show-more.has-topics a {
padding-top: 6px !important;
padding-bottom: 6px !important;
}
.topic-list-item.closed:not(:hover) .raw-topic-link {
text-decoration: line-through !important;
}
.topic-list tr.selected td:first-child {
box-shadow: none !important;
}
.topic-list tr.selected .link-top-line a {
text-decoration: underline !important;
text-decoration-style: wavy !important;
text-decoration-color: var(--danger) !important;
text-decoration-thickness: 2px !important;
text-underline-offset: 4px !important;
}
.link-top-line:not(:hover):has(~ .link-bottom-line .restricted) {
filter: blur(4px);
}
/**************/
/* TOPIC VIEW */
/**************/
.topic-map,
.topic-avatar,
.post-stream .avatar,
.post-notice,
.discourse-reactions-counter,
.more-topics__container,
#topic-footer-button-flag,
#topic-footer-button-share-and-invite,
#topic-footer-buttons .topic-notifications-button {
display: none !important;
}
.small-action {
font-style: italic !important;
}
.small-action .small-action-desc {
border-bottom: 1px solid var(--primary-low) !important;
}
.topic-body,
.small-action .small-action-desc,
.small-action.topic-post-visited .topic-post-visited-line {
width: 100% !important;
}
/********************/
/* USER PREFERENCES */
/********************/
.user-nav__notifications-likes,
.user-nav__notifications-links,
.discourse-reactions-user-notification-reactions {
display: none !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment