The backend of a gist server written in Rust
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

style.css 858B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. body {
  2. line-height: 1.5;
  3. }
  4. .container {
  5. margin: auto;
  6. max-width: 800px;
  7. }
  8. .container--narrow {
  9. max-width: 500px;
  10. }
  11. .header {
  12. align-items: baseline;
  13. display: flex;
  14. flex-wrap: wrap;
  15. font-family: serif;
  16. justify-content: space-between;
  17. margin-bottom: 10px;
  18. padding: 0;
  19. }
  20. .header__title {
  21. font-size: 28px;
  22. margin-right: 10px;
  23. }
  24. .header__date {
  25. font-size: 16px;
  26. font-weight: normal;
  27. margin-right: 10px;
  28. }
  29. .header__raw-link {
  30. font-size: 16px;
  31. font-weight: normal;
  32. }
  33. pre {
  34. background-color: #f5f5f5;
  35. counter-reset: line;
  36. font-size: 16px;
  37. margin: 0;
  38. overflow-x: scroll;
  39. padding: 15px;
  40. }
  41. pre code {
  42. counter-increment: line;
  43. }
  44. pre code:before {
  45. content: counter(line);
  46. margin-right: 10px;
  47. }
  48. pre.shell {
  49. margin: 10px 0;
  50. padding: 5px;
  51. }
  52. pre.shell:before {
  53. content: '$';
  54. margin-right: 10px;
  55. }