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

codex.css 3.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  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. .internal-link {
  64. color: #2196F3;
  65. }
  66. a {
  67. color: #3F51B5;
  68. }
  69. /* File View */
  70. .file-view ul li .thumbnail-icon {
  71. width: 220px;
  72. border: 1px solid #999;
  73. border-radius: 3px;
  74. background-color: white;
  75. height: 170px;
  76. margin-bottom: 5px;
  77. overflow: hidden;
  78. }
  79. .file-view ul li .thumbnail-icon img {
  80. width: 100%;
  81. height: auto;
  82. }
  83. .file-view ul li .icon img {
  84. height: 140px;
  85. padding-top: 10px;
  86. }
  87. .file-view-item {
  88. list-style: none;
  89. padding: 10px;
  90. margin: 10px;
  91. width: 220px;
  92. float: left;
  93. text-align: center;
  94. height: 220px;
  95. padding-bottom: 5px;
  96. margin-bottom: 0px;
  97. }
  98. .notebook-icon {
  99. width: 220px;
  100. height: 170px;
  101. margin-bottom: 5px;
  102. overflow: hidden;
  103. }
  104. .notebook-icon img {
  105. width: 220px;
  106. height: 170px;
  107. }
  108. pre code.hljs {
  109. display: block;
  110. line-height: 2em;
  111. border-radius: 5px;
  112. padding-left: 8px;
  113. padding-right: 8px;
  114. }
  115. code.hljs {
  116. display: inline-flex;
  117. padding: 2px;
  118. padding-left: 5px;
  119. padding-right: 5px;
  120. line-height: 1.1em;
  121. border-radius: 4px;
  122. margin-left: 1px;
  123. margin-right: 1px;
  124. }
  125. pre code.hljs .hljs-title {
  126. margin-right: 0px;
  127. }
  128. code.hljs .hljs-title {
  129. margin-right: 6px;
  130. }
  131. .hljs-number, .hljs-preprocessor, .hljs-pragma, .hljs-built_in, .hljs-literal, .hljs-params, .hljs-constant {
  132. padding-left: 7px;
  133. padding-right: 7px;
  134. }
  135. .icon-tabs {
  136. margin: 0px;
  137. margin-left: -34px;
  138. margin-top: 0px;
  139. }
  140. .icon-tabs li {
  141. float: left;
  142. list-style: none;
  143. text-align: center;
  144. font-size: 12px;
  145. line-height: 14px;
  146. padding-bottom: 4px;
  147. margin-right: 12px;
  148. padding-left: 3px;
  149. padding-right: 3px;
  150. padding-top: 3px;
  151. }
  152. .icon-tabs li.active {
  153. background-color: #C3C2C3;
  154. border-top-left-radius: 5px;
  155. border-top-right-radius: 5px;
  156. }
  157. .well {
  158. background-color: #ECECEC;
  159. padding: 15px;
  160. height: 100%;
  161. padding-top: 2px;
  162. }
  163. .icon-name {
  164. width: 220px;
  165. }
  166. .notebook-icon-title {
  167. position: relative;
  168. top: -102px;
  169. font-family: Helvetica-Bold;
  170. font-size: 18px;
  171. color: #000000;
  172. line-height: 22px;
  173. }
  174. .notebook-icon-info {
  175. position: relative;
  176. top: -48px;
  177. font-family: Helvetica;
  178. font-size: 12px;
  179. color: #000000;
  180. line-height: 14px;
  181. }
  182. /* make keyframes that tell the start state and the end state of our object */
  183. @keyframes fadeIn { from { opacity:0; ransform: scale(0.3); } to { opacity:1; transform: scale(1);} }
  184. .fade-in {
  185. opacity:0; /* make things invisible upon start */
  186. transform: scale(0.3);
  187. animation: fadeIn ease-in 1;
  188. animation-fill-mode:forwards;
  189. animation-duration:0.2s;
  190. }