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 806B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. padding: 15px;
  36. }
  37. pre code {
  38. counter-increment: line;
  39. }
  40. pre code:before {
  41. content: counter(line);
  42. margin-right: 10px;
  43. }
  44. pre.shell {
  45. margin: 10px 0;
  46. padding: 5px;
  47. }
  48. pre.shell:before {
  49. content: '$';
  50. margin-right: 10px;
  51. }