No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

prism-command-line.css 683B

123456789101112131415161718192021222324252627282930313233
  1. .command-line-prompt {
  2. border-right: 1px solid #999;
  3. display: block;
  4. float: left;
  5. font-size: 100%;
  6. letter-spacing: -1px;
  7. margin-right: 1em;
  8. pointer-events: none;
  9. -webkit-user-select: none;
  10. -moz-user-select: none;
  11. -ms-user-select: none;
  12. user-select: none;
  13. }
  14. .command-line-prompt > span:before {
  15. color: #999;
  16. content: ' ';
  17. display: block;
  18. padding-right: 0.8em;
  19. }
  20. .command-line-prompt > span[data-user]:before {
  21. content: "[" attr(data-user) "@" attr(data-host) "] $";
  22. }
  23. .command-line-prompt > span[data-user="root"]:before {
  24. content: "[" attr(data-user) "@" attr(data-host) "] #";
  25. }
  26. .command-line-prompt > span[data-prompt]:before {
  27. content: attr(data-prompt);
  28. }