Desktop markdown wiki app. Built with node, Electron Framework and AngularJS.

codex.css 3.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224
  1. .pane {
  2. height: 100%;
  3. }
  4. .note-container {
  5. background-color: #F6F6F6;
  6. padding-top: 5px;
  7. height: 100%;
  8. overflow-y: overlay;
  9. -webkit-user-select: all;
  10. }
  11. .note-container .note {
  12. padding: 20px;
  13. border-radius: 10px;
  14. background-color: white;
  15. margin: 15px;
  16. margin-top: 10px;
  17. margin-right: 25px;
  18. font-family: helvetica;
  19. font-weight: 300;
  20. font-size: 14px;
  21. color: #333;
  22. }
  23. .note-container .note * {
  24. -webkit-user-select: all;
  25. cursor: text;
  26. }
  27. .ace_editor { height: 100%; }
  28. .editor-container {
  29. background-color: #F6F6F6;
  30. padding-top: 0px;
  31. height: 100%;
  32. overflow-y: overlay;
  33. }
  34. .ace_content { cursor: text; }
  35. .note .xsmall {
  36. max-width: 150px;
  37. }
  38. .note .small {
  39. max-width: 250px;
  40. }
  41. .note .medium {
  42. max-width: 500px;
  43. }
  44. .note .medium {
  45. max-width: 500px;
  46. }
  47. .note .large {
  48. width: 650px;
  49. }
  50. .note .larger {
  51. width: 750px;
  52. }
  53. .note .huge {
  54. width: 1000px;
  55. }
  56. .note>h1:first-of-type {
  57. margin-top: 0px;
  58. }
  59. .toolbar-actions .spacer { padding-left: 25px; }
  60. code {
  61. border-radius: 6px;
  62. }
  63. /* File View */
  64. .file-view ul li .thumbnail-icon {
  65. width: 220px;
  66. border: 1px solid #999;
  67. border-radius: 3px;
  68. background-color: white;
  69. height: 170px;
  70. margin-bottom: 5px;
  71. overflow: hidden;
  72. }
  73. .file-view ul li .thumbnail-icon img {
  74. width: 100%;
  75. height: auto;
  76. }
  77. .file-view ul li .icon img {
  78. height: 140px;
  79. padding-top: 10px;
  80. }
  81. .file-view-item {
  82. list-style: none;
  83. padding: 10px;
  84. margin: 10px;
  85. width: 220px;
  86. float: left;
  87. text-align: center;
  88. height: 220px;
  89. padding-bottom: 5px;
  90. margin-bottom: 0px;
  91. }
  92. .notebook-icon {
  93. width: 220px;
  94. height: 170px;
  95. margin-bottom: 5px;
  96. overflow: hidden;
  97. }
  98. .notebook-icon img {
  99. width: 220px;
  100. height: 170px;
  101. }
  102. pre code.hljs {
  103. display: block;
  104. line-height: 2em;
  105. border-radius: 5px;
  106. padding-left: 8px;
  107. padding-right: 8px;
  108. }
  109. code.hljs {
  110. display: inline-flex;
  111. padding: 2px;
  112. padding-left: 5px;
  113. padding-right: 5px;
  114. line-height: 1.1em;
  115. border-radius: 4px;
  116. margin-left: 1px;
  117. margin-right: 1px;
  118. }
  119. pre code.hljs .hljs-title {
  120. margin-right: 0px;
  121. }
  122. code.hljs .hljs-title {
  123. margin-right: 6px;
  124. }
  125. .hljs-number, .hljs-preprocessor, .hljs-pragma, .hljs-built_in, .hljs-literal, .hljs-params, .hljs-constant {
  126. padding-left: 7px;
  127. padding-right: 7px;
  128. }
  129. .icon-tabs {
  130. margin: 0px;
  131. margin-left: -34px;
  132. margin-top: 0px;
  133. }
  134. .icon-tabs li {
  135. float: left;
  136. list-style: none;
  137. text-align: center;
  138. font-size: 12px;
  139. line-height: 14px;
  140. padding-bottom: 4px;
  141. margin-right: 12px;
  142. padding-left: 3px;
  143. padding-right: 3px;
  144. padding-top: 3px;
  145. }
  146. .icon-tabs li.active {
  147. background-color: #C3C2C3;
  148. border-top-left-radius: 5px;
  149. border-top-right-radius: 5px;
  150. }
  151. .well {
  152. background-color: #ECECEC;
  153. padding: 15px;
  154. height: 100%;
  155. padding-top: 2px;
  156. }
  157. .icon-name {
  158. width: 220px;
  159. }
  160. .notebook-icon-title {
  161. position: relative;
  162. top: -102px;
  163. font-family: Helvetica-Bold;
  164. font-size: 18px;
  165. color: #000000;
  166. line-height: 22px;
  167. }
  168. .notebook-icon-info {
  169. position: relative;
  170. top: -48px;
  171. font-family: Helvetica;
  172. font-size: 12px;
  173. color: #000000;
  174. line-height: 14px;
  175. }
  176. /* make keyframes that tell the start state and the end state of our object */
  177. @keyframes fadeIn { from { opacity:0; ransform: scale(0.3); } to { opacity:1; transform: scale(1);} }
  178. .fade-in {
  179. opacity:0; /* make things invisible upon start */
  180. transform: scale(0.3);
  181. animation: fadeIn ease-in 1;
  182. animation-fill-mode:forwards;
  183. animation-duration:0.2s;
  184. }