Skip to content

Instantly share code, notes, and snippets.

@dbowling
Last active November 30, 2022 18:06
Show Gist options
  • Save dbowling/0eb1e2b47b31afa459caee499a90c6c3 to your computer and use it in GitHub Desktop.
Save dbowling/0eb1e2b47b31afa459caee499a90c6c3 to your computer and use it in GitHub Desktop.
Refined Github Custom CSS
/*
* Disable Merge button and make Squash button the golden path
* Demo: https://share.cleanshot.com/liBQ8W
*/
.btn-group-merge {
background: #8c0000;
pointer-events: none; // disable the merge button
}
.btn-group-merge::after {
content: "- No touchy! Squash instead!";
}
.btn-group-merge:hover {
background: #290000;
}
button.btn-group-squash::after {
content: "- yessss! 🎉";
}
button.btn-group-squash:hover {
background: #2d8016;
text-shadow: 1px 1px #51530e59;
box-shadow: 1px 1px 19px -2px rgba(147, 145, 0, 0.75);
}
/* fix for super ultra wide monitor fullscreen */
body {
max-width: 1900px;
margin: 0 auto;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment