_redis.scss 807 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. ._redis {
  2. padding-left: 1rem;
  3. // Index
  4. > .commands {
  5. padding-left: 0;
  6. list-style: none;
  7. > li { margin-bottom: 1em; }
  8. }
  9. .command, .summary { display: block; }
  10. .args {
  11. font-size: .75rem;
  12. color: $textColorLight;
  13. }
  14. // Others
  15. > h1, > h2, > .metadata, > h1 ~ p, > h1 + pre { margin-left: -1rem; }
  16. > h2 ~ p { margin-left: 0; }
  17. > h2 { @extend %block-heading; }
  18. p > code { @extend %label; }
  19. > .metadata { @extend %note, %note-green; }
  20. > .metadata > p { margin: 0; }
  21. > .example {
  22. white-space: normal;
  23. @extend %pre;
  24. > .prompt {
  25. float: left;
  26. margin-right: .5em;
  27. color: $textColorLight;
  28. }
  29. > code {
  30. display: block;
  31. clear: left;
  32. margin-bottom: .5em;
  33. &:last-child { margin-bottom: 0; }
  34. }
  35. }
  36. }