demo.css 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. /*
  2. * blueimp Gallery Demo CSS
  3. * https://github.com/blueimp/Gallery
  4. *
  5. * Copyright 2013, Sebastian Tschan
  6. * https://blueimp.net
  7. *
  8. * Licensed under the MIT license:
  9. * https://opensource.org/licenses/MIT
  10. */
  11. body {
  12. max-width: 750px;
  13. margin: 0 auto;
  14. padding: 1em;
  15. font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
  16. Arial, sans-serif;
  17. line-height: 1.4;
  18. background: #212121;
  19. color: #dedede;
  20. }
  21. a {
  22. color: #61afef;
  23. text-decoration: none;
  24. }
  25. a:visited {
  26. color: #56b6c2;
  27. }
  28. a:hover {
  29. color: #98c379;
  30. }
  31. figure,
  32. tr {
  33. background: #363636;
  34. }
  35. tr:nth-child(odd) {
  36. background: #414141;
  37. }
  38. td,
  39. th {
  40. padding: 10px;
  41. text-align: left;
  42. }
  43. table {
  44. width: 100%;
  45. word-wrap: break-word;
  46. table-layout: fixed;
  47. border-collapse: collapse;
  48. }
  49. figure {
  50. margin: 0;
  51. padding: 10px;
  52. border-radius: 5px;
  53. display: inline-block;
  54. }
  55. figure,
  56. table {
  57. margin-bottom: 20px;
  58. }
  59. img,
  60. canvas {
  61. border: 0;
  62. vertical-align: middle;
  63. }
  64. h1,
  65. h2,
  66. h3,
  67. h4,
  68. h5,
  69. h6 {
  70. margin-top: 1.5em;
  71. margin-bottom: 0.5em;
  72. }
  73. h1 {
  74. margin-top: 0.5em;
  75. }
  76. button,
  77. input,
  78. select,
  79. textarea {
  80. box-sizing: border-box;
  81. font-family: inherit;
  82. font-size: 100%;
  83. line-height: 1.15;
  84. margin: 0;
  85. padding: 5px;
  86. }
  87. input[type='file'] {
  88. padding: inherit;
  89. max-width: 100%;
  90. }
  91. @media (prefers-color-scheme: light) {
  92. body {
  93. background: #ececec;
  94. color: #212121;
  95. }
  96. a {
  97. color: #225c8d;
  98. }
  99. a:visited {
  100. color: #378f9a;
  101. }
  102. a:hover {
  103. color: #6fa349;
  104. }
  105. figure,
  106. tr {
  107. background: #fff;
  108. color: #212121;
  109. }
  110. tr:nth-child(odd) {
  111. background: #f6f6f6;
  112. }
  113. }
  114. @media (min-width: 481px) {
  115. #navigation {
  116. list-style: none;
  117. padding: 0;
  118. }
  119. #navigation li {
  120. display: inline-block;
  121. }
  122. #navigation li:not(:first-child)::before {
  123. content: ' | ';
  124. }
  125. }