summaryrefslogtreecommitdiff
path: root/source/features/clean-repo-header.css
diff options
context:
space:
mode:
Diffstat (limited to 'source/features/clean-repo-header.css')
-rw-r--r--source/features/clean-repo-header.css34
1 files changed, 18 insertions, 16 deletions
diff --git a/source/features/clean-repo-header.css b/source/features/clean-repo-header.css
index 8f423acb..95deff2e 100644
--- a/source/features/clean-repo-header.css
+++ b/source/features/clean-repo-header.css
@@ -1,19 +1,21 @@
-#repository-container-header:not(:has(.js-repo-nav)) /* Excludes pre-Global Navigation Update header */
-:is(
- #repo-stars-counter-star,
- #repo-stars-counter-unstar,
- #repo-network-counter, /* Forks */
- #repo-notifications-counter, /* Watchers */
- .js-codespaces-details-container summary .Button-label /* Green "Code" button label */
-) {
- display: none;
-}
+[rgh-clean-repo-header] {
+ #repository-container-header:not(:has(.js-repo-nav)) /* Excludes pre-Global Navigation Update header */
+ :is(
+ #repo-stars-counter-star,
+ #repo-stars-counter-unstar,
+ #repo-network-counter, /* Forks */
+ #repo-notifications-counter, /* Watchers */
+ .js-codespaces-details-container summary .Button-label /* Green "Code" button label */
+ ) {
+ display: none;
+ }
-/* Hide text of "Edit Pins" dropdown button in header of organization repos https://github.com/refined-github/refined-github/pull/5612 */
-.pagehead-actions pin-organization-repo summary {
- font-size: 0 !important;
-}
+ /* Hide text of "Edit Pins" dropdown button in header of organization repos https://github.com/refined-github/refined-github/pull/5612 */
+ .pagehead-actions pin-organization-repo summary {
+ font-size: 0 !important;
+ }
-.pagehead-actions pin-organization-repo .octicon-pin {
- vertical-align: middle !important;
+ .pagehead-actions pin-organization-repo .octicon-pin {
+ vertical-align: middle !important;
+ }
}