Skip to content

Instantly share code, notes, and snippets.

@Nikitaw99
Last active January 5, 2022 23:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Nikitaw99/97ea388c6221f09403ce8beee049430d to your computer and use it in GitHub Desktop.
Save Nikitaw99/97ea388c6221f09403ce8beee049430d to your computer and use it in GitHub Desktop.
simple command prompt theme in simple html and css
body {
background-color: black;
color: #636363;
font-family: courier;
}
.root {
color: #008309;
}
Inspired by https://thelldev.tumblr.com/ 's theme.
Just paste
<link rel="stylesheet" type="text/css" href="https://gist.github.com/Nikitaw99/97ea388c6221f09403ce8beee049430d/raw/01a49b748c0ce2a03c9b6429afc36b33ffd8aebf/cmd.css">
Into your website's head.
The "root" class makes the text green.
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="cmd.css">
<meta charset="utf-8">
<title>Command Prompt</title>
</head>
<body>
<p><div class="root">[root@nikitaw99]</div>&dollar; vim webpagecontent.txt</p>
<p>Hello world!</p>
</body>
</html>
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment