Skip to content

Instantly share code, notes, and snippets.

@ddelrio1986
Created February 20, 2024 18:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ddelrio1986/86eece716141e1abefba1a929f62eb9f to your computer and use it in GitHub Desktop.
Save ddelrio1986/86eece716141e1abefba1a929f62eb9f to your computer and use it in GitHub Desktop.
Skillways Discourse Theme
:root:not(.admin-area) {
--d-sidebar-width: 0;
}
html:not(.admin-area) {
.alert-emails-disabled,
.d-header,
.sidebar-wrapper {
display: none;
}
}
body:not(.is-admin) {
footer,
#d-tooltip-portal-outlet,
.bulk-select,
.edit-topic,
.list-controls,
.more-topics__container,
.pinned-button,
.post-controls .actions button,
.timeline-controls,
.topic-footer-main-buttons button,
.topic-notifications-button,
.topic-statuses {
display: none;
}
.post-controls .actions>button:last-child,
.topic-footer-main-buttons>button:last-child {
display: block;
}
}
.badge-category__name {
visibility: hidden;
}
.badge-category__wrapper .badge-category:before {
content: "Back to topics";
text-indent: 1.1rem;
height: 1.1rem;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment