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.

218 lines
3.4 KiB

  1. /* CSS Mini Reset */
  2. html, body, div, form, fieldset, legend, label
  3. {
  4. margin: 0;
  5. padding: 0;
  6. }
  7. table
  8. {
  9. border-collapse: collapse;
  10. border-spacing: 0;
  11. }
  12. th, td
  13. {
  14. text-align: left;
  15. vertical-align: top;
  16. }
  17. h1, h2, h3, h4, h5, h6, th, td, caption { font-weight:normal; }
  18. img { border: 0; }
  19. /* ************************************** */
  20. /* Toolbar */
  21. .toolbar {
  22. padding: 13px;
  23. border-bottom: 1px #eee solid;
  24. background-color: rgba(255,255,255,0.97);
  25. position: fixed;
  26. top: 0;
  27. width: 100%;
  28. z-index: 1000;
  29. }
  30. .toolbar-left {
  31. float: left;
  32. }
  33. .toolbar-right {
  34. float: right;
  35. margin-right: 40px;
  36. }
  37. .toolbar-left .item {
  38. margin-right: 8px;
  39. display: inline-block;
  40. }
  41. .toolbar-left .logo {
  42. vertical-align: middle;
  43. }
  44. #draft-status {
  45. color: #aaa;
  46. font-family: sans-serif;
  47. font-size: 16px;
  48. }
  49. .toolbar .clear {
  50. clear: both;
  51. }
  52. .toolbar .btn {
  53. height: 38px;
  54. -webkit-border-radius: 999px;
  55. -moz-border-radius: 999px;
  56. border-radius: 999px;
  57. display: inline-block;
  58. padding: 0 24px;
  59. background: rgba(0,0,0,0);
  60. font-size: 14px;
  61. text-decoration: none;
  62. text-align: center;
  63. border: 1px #93dee5 solid;
  64. color: #72c1c8;
  65. vertical-align: middle;
  66. cursor: pointer;
  67. }
  68. .toolbar .btn:hover {
  69. border-color: #61a7ae;
  70. color: #51a1a8;
  71. }
  72. .publish-dropdown {
  73. position: absolute;
  74. top: 62px;
  75. right: 110px;
  76. z-index: 1001;
  77. background: white;
  78. width: 280px;
  79. min-height: 60px;
  80. border: 1px solid #dbdbdb;
  81. -webkit-border-radius: 6px;
  82. -moz-border-radius: 6px;
  83. border-radius: 6px;
  84. box-shadow: 0 0 9px rgba(0,0,0,0.07);
  85. }
  86. .publish-dropdown .arrow {
  87. clip: rect(0 14px 14px -4px);
  88. transform: rotate(45deg);
  89. margin-top: -7px;
  90. position: absolute;
  91. right: 20px;
  92. }
  93. .publish-dropdown .arrow::after {
  94. content: '';
  95. height: 16px;
  96. width: 16px;
  97. background: white;
  98. display: block;
  99. border: #dbdbdb 1px solid;
  100. }
  101. .hidden {
  102. display: none;
  103. }
  104. /* ************************************** */
  105. /* App Cache */
  106. #new_version_available {
  107. display: none;
  108. position: fixed;
  109. z-index: 1000;
  110. bottom: 0;
  111. left: 0;
  112. right: 0;
  113. background: rgba(246,206,217,0.3);
  114. }
  115. #new_version_available .inner {
  116. padding: 10px;
  117. width: 600px;
  118. margin: 0 auto;
  119. text-align: center;
  120. font-weight: bold;
  121. color: #cf224f;
  122. font-size: 14px;
  123. font-family: sans-serif;
  124. }
  125. /* ************************************** */
  126. /* Editor CSS */
  127. body {
  128. font-size: 22px;
  129. line-height: 30px;
  130. }
  131. body, input {
  132. font-family: Georgia,Cambria,"Times New Roman",Times,serif;
  133. }
  134. *:focus {
  135. outline: none;
  136. }
  137. .container {
  138. width: 960px;
  139. margin: 0 auto;
  140. margin-top: 63px;
  141. z-index: 0;
  142. }
  143. #post-name {
  144. margin-top: 20px;
  145. margin-bottom: 20px;
  146. border: 0;
  147. font-weight: bold;
  148. font-size: 42px;
  149. }
  150. #content {
  151. min-height: 300px;
  152. }
  153. /* editor's h1 is actually h3 */
  154. h3 {
  155. font-weight: bold;
  156. font-size: 36px;
  157. }
  158. h4 {
  159. font-weight: bold;
  160. font-size: 30px;
  161. }
  162. p {
  163. margin-bottom: 30px;
  164. }
  165. pre {
  166. font-family: 'Menlo', monospace;
  167. font-size: 15px;
  168. background-color: #f0f0f0;
  169. padding: 15px;
  170. border: 1px solid #ccc;
  171. border-radius: 5px;
  172. color: #666;
  173. }
  174. blockquote {
  175. display: block;
  176. padding-left: 20px;
  177. border-left: 6px solid #dbdbdb;
  178. margin-left: -15px;
  179. padding-left: 15px;
  180. font-style: italic;
  181. color: #555;
  182. }
  183. .editable,
  184. .secondEditable {
  185. outline: none;
  186. margin: 0 0 20px 0;
  187. padding: 0 0 20px 0;
  188. border-bottom: 1px solid #dbdbdb;
  189. border-top: 1px solid #dbdbdb;
  190. }
  191. .editable .placeholder {
  192. color: #ccc;
  193. }