example.css 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. body {
  2. background-color: #14204f;
  3. margin: 0 auto;
  4. max-width: 760px;
  5. }
  6. html, body {
  7. -webkit-box-sizing: border-box;
  8. -moz-box-sizing: border-box;
  9. box-sizing: border-box;
  10. }
  11. *, *:before, *:after {
  12. -webkit-box-sizing: inherit;
  13. -moz-box-sizing: inherit;
  14. box-sizing: inherit;
  15. }
  16. body, input, button, textarea {
  17. font-family: Georgia, Helvetica;
  18. font-size: 17px;
  19. color: #ecf0f1;
  20. }
  21. textarea {
  22. border: none;
  23. padding: 10px;
  24. width: 100%;
  25. background-color: #14204f;
  26. min-height: 400px;
  27. }
  28. h1 {
  29. margin-top: 20px;
  30. text-align: center;
  31. }
  32. h3 {
  33. background-color: rgba(255, 255, 255, 0.2);
  34. padding: 20px;
  35. text-align: center;
  36. }
  37. a,
  38. a:hover {
  39. color: #ecf0f1;
  40. }
  41. pre code {
  42. color: #fff;
  43. font-size: 18px;
  44. }
  45. pre {
  46. overflow-x: auto;
  47. }
  48. label {
  49. display: block;
  50. margin-bottom: 15px;
  51. }
  52. sub {
  53. display: block;
  54. margin-top: -10px;
  55. margin-bottom: 15px;
  56. font-size: 11px;
  57. font-style: italic;
  58. }
  59. ul {
  60. margin: 0;
  61. padding: 0;
  62. }
  63. .parent {
  64. background-color: rgba(255, 255, 255, 0.2);
  65. margin: 50px 0;
  66. padding: 20px;
  67. }
  68. input {
  69. border: none;
  70. outline: none;
  71. background-color: #ecf0f1;
  72. padding: 10px;
  73. color: #14204f;
  74. border: 0;
  75. margin: 5px 0;
  76. display: block;
  77. width: 100%;
  78. }
  79. button {
  80. background-color: #ecf0f1;
  81. color: #14204f;
  82. border: 0;
  83. padding: 18px 12px;
  84. margin-left: 6px;
  85. cursor: pointer;
  86. outline: none;
  87. }
  88. button:hover {
  89. background-color: #e74c3c;
  90. color: #ecf0f1;
  91. }
  92. .nsg-tag {
  93. border-color: #14204f;
  94. }
  95. .inline {
  96. display: inline-block;
  97. }
  98. .gh-fork {
  99. position: fixed;
  100. top: 0;
  101. right: 0;
  102. border: 0;
  103. }
  104. .autofruit {
  105. width: 16px;
  106. margin-right: 3px;
  107. }
  108. #ddl {
  109. cursor: pointer;
  110. padding: 10px;
  111. background-color: rgba(0,0,0,0.1);
  112. }