options.css 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. body {
  2. box-sizing: border-box;
  3. background-color: #fff;
  4. margin-left: auto;
  5. margin-right: auto;
  6. font-family: sans-serif;
  7. text-align: justify;
  8. max-width: 600px;
  9. height: auto;
  10. }
  11. main {
  12. padding: 10px;
  13. }
  14. button {
  15. background: white;
  16. border-color: rgb(191, 191, 191);
  17. border-style: solid;
  18. height: 25px;
  19. border-radius: 2px;
  20. padding-left: 10px;
  21. padding-right: 10px;
  22. }
  23. button:active {
  24. border-color: rgb(237, 237, 237);
  25. }
  26. input[type="checkbox"] {
  27. margin-left: 30px;
  28. position: relative;
  29. top: -2px;
  30. }
  31. input[type="number"] {
  32. margin-left: 30px;
  33. max-width: 40px;
  34. text-align: right;
  35. position: relative;
  36. top: -2px;
  37. }
  38. h3 {
  39. padding-left: 14px;
  40. margin-bottom: 10px;
  41. margin-top: 10px;
  42. }
  43. details {
  44. padding-left: 12px;
  45. padding-right: 12px;
  46. border-top: gray 1px dashed;
  47. }
  48. details:last-of-type {
  49. border-bottom: gray 1px dashed;
  50. }
  51. details>summary {
  52. margin-bottom: 10px;
  53. margin-top: 10px;
  54. min-width: 350px;
  55. cursor: pointer;
  56. }
  57. details>summary:focus {
  58. outline-width: 0px;
  59. }
  60. a {
  61. display: inline-block;
  62. padding-top: 5px;
  63. }
  64. .option.second-level {
  65. margin-left: 10px;
  66. }
  67. .option {
  68. display: flex;
  69. justify-content: space-between;
  70. margin-top: 5px;
  71. padding-left: 12px;
  72. }
  73. .option:last-of-type {
  74. padding-bottom: 12px;
  75. }
  76. .option:first-of-type {
  77. padding-top: 6px;
  78. }
  79. .option.bottom {
  80. padding-top: 24px;
  81. }