commit.css 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. .commit_compare {
  2. display: flex;
  3. padding: 5px;
  4. line-height: 1.8em;
  5. border-bottom: 1px solid var(--border-line-color);
  6. }
  7. .commit_compare .pali {
  8. flex: 3;
  9. }
  10. .commit_compare .src_text {
  11. flex: 3;
  12. }
  13. .commit_compare .dest_text {
  14. flex: 3;
  15. }
  16. del {
  17. color: red;
  18. }
  19. ins {
  20. color: green;
  21. }
  22. .commit_head {
  23. display: flex;
  24. justify-content: space-around;
  25. padding-bottom: 10px;
  26. margin-bottom: 10px;
  27. border-bottom: 1px solid var(--border-line-color);
  28. }
  29. .commit_step {
  30. text-align: center;
  31. }
  32. .commit_step .num {
  33. font-size: 25px;
  34. font-weight: 700;
  35. color: var(--btn-color);
  36. width: 50px;
  37. line-height: 45px;
  38. text-align: center;
  39. border: 2px solid var(--link-color);
  40. border-radius: 99px;
  41. }
  42. .step1 > .commit_step_1 > .num {
  43. border-color: var(--link-hover-color);
  44. color: var(--main-color);
  45. }
  46. .step2 > .commit_step_1 > .num,
  47. .step2 > .commit_step_2 > .num {
  48. border-color: var(--link-hover-color);
  49. color: var(--main-color);
  50. }
  51. .step3 > .commit_step_1 > .num,
  52. .step3 > .commit_step_2 > .num,
  53. .step3 > .commit_step_3 > .num {
  54. border-color: var(--link-hover-color);
  55. color: var(--main-color);
  56. }
  57. .commit_win_inner {
  58. padding: 1em;
  59. }