Skip to content

Instantly share code, notes, and snippets.

@ronalfy
Created October 24, 2020 23:01
Show Gist options
  • Save ronalfy/14cf84ae018241fdbb0f0fc8f6c6f725 to your computer and use it in GitHub Desktop.
Save ronalfy/14cf84ae018241fdbb0f0fc8f6c6f725 to your computer and use it in GitHub Desktop.
Syntax Highlighting Block - Sample CSS
code.hljs {
position: relative;
}
code[rel]:not([rel=""]):before {
font-family: Ringside Regular A,Ringside Regular B,Rubik,Lato,Lucida Grande,Lucida Sans Unicode,Tahoma,Sans-Serif;
font-style: normal;
font-weight: 700;
font-size: 12px;
content: attr(rel);
color: #fff;
position: absolute;
top: 10px;
right: .4rem;
padding: 0;
text-transform: uppercase;
color: #ff8a00!important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment