The backend of a gist server written in Rust
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

style.css 893B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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. .subheader {
  34. font-size: 20px;
  35. }
  36. pre {
  37. background-color: #f5f5f5;
  38. counter-reset: line;
  39. font-size: 16px;
  40. margin: 0;
  41. overflow-x: scroll;
  42. padding: 15px;
  43. }
  44. pre code {
  45. counter-increment: line;
  46. }
  47. pre code:before {
  48. content: counter(line);
  49. margin-right: 10px;
  50. }
  51. pre.shell {
  52. margin: 10px 0;
  53. padding: 5px;
  54. }
  55. pre.shell:before {
  56. content: '$';
  57. margin-right: 10px;
  58. }