Created
June 28, 2020 17:02
-
-
Save rebeccajae/6cc195764a5cb3dafecf8d9973a31d2d to your computer and use it in GitHub Desktop.
Selections are hard.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<title></title> | |
<style type="text/css"> | |
body { | |
font-family: Arial, Helvetica, sans-serif; | |
} | |
.container { | |
margin: auto; | |
width: 50%; | |
padding: 10px; | |
} | |
.code { | |
margin: 0.5em; | |
font-family: 'Courier New', Courier, monospace; | |
background-color: #aaaaaa; | |
padding: 0.5em; | |
border-radius: 5px; | |
} | |
shell-indicator { | |
margin-right: 0.5em; | |
/* | |
Thanks StackOverflow! | |
https://stackoverflow.com/questions/826782/how-to-disable-text-selection-highlighting | |
/* | |
-webkit-touch-callout: none; /* iOS Safari */ | |
-webkit-user-select: none; /* Safari */ | |
-khtml-user-select: none; /* Konqueror HTML */ | |
-moz-user-select: none; /* Old versions of Firefox */ | |
-ms-user-select: none; /* Internet Explorer/Edge */ | |
user-select: none; /* Non-prefixed version, currently | |
supported by Chrome, Edge, Opera and Firefox */ | |
} | |
</style> | |
</head> | |
<body> | |
<div class="container"> | |
<h1>Command Showcase</h1> | |
Run the following commands as root <br /> | |
<div class="code"> | |
<span class="code-line"><shell-indicator>#</shell-indicator>some-command</span><br /> | |
<span class="code-line"><shell-indicator>#</shell-indicator>some-command</span><br /> | |
<span class="code-line"><shell-indicator>#</shell-indicator>some-command</span><br /> | |
</div> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment