The backend of a gist server written in Rust
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.

style.css 828B

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