style.css 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  1. html {
  2. -ms-text-size-adjust: 100%;
  3. -webkit-text-size-adjust: 100%;
  4. }
  5. body {
  6. margin: 0;
  7. font: 16px/1 sans-serif;
  8. -moz-osx-font-smoothing: grayscale;
  9. -webkit-font-smoothing: antialiased;
  10. }
  11. h1,
  12. h2,
  13. h3,
  14. h4,
  15. p,
  16. blockquote,
  17. figure,
  18. ol,
  19. ul {
  20. margin: 0;
  21. padding: 0;
  22. }
  23. main li {
  24. display: block;
  25. }
  26. h1,
  27. h2,
  28. h3,
  29. h4 {
  30. font-size: inherit;
  31. }
  32. strong {
  33. font-weight: bold;
  34. }
  35. button {
  36. color: inherit;
  37. -webkit-transition: 0.3s;
  38. transition: 0.3s;
  39. }
  40. a {
  41. -webkit-transition: 0.3s;
  42. transition: 0.3s;
  43. cursor: pointer;
  44. }
  45. ::-moz-focus-inner {
  46. padding: 0;
  47. border: 0;
  48. }
  49. :focus {
  50. outline: 0;
  51. }
  52. img {
  53. max-width: 100%;
  54. height: auto;
  55. border: 0;
  56. }
  57. input,
  58. label,
  59. select,
  60. button,
  61. textarea,
  62. fieldset {
  63. margin: 0;
  64. border: 0;
  65. padding: 0;
  66. display: inline-block;
  67. vertical-align: middle;
  68. white-space: normal;
  69. background: none;
  70. line-height: 1;
  71. }
  72. button {
  73. overflow: visible;
  74. -webkit-font-smoothing: inherit;
  75. letter-spacing: inherit;
  76. cursor: pointer;
  77. }
  78. /** Appearance */
  79. @import url("https://fonts.googleapis.com/css?family=Roboto");
  80. .clearfix {
  81. overflow: auto;
  82. zoom: 1;
  83. }
  84. * {
  85. font-family: 'Roboto', sans-serif;
  86. font-size: 24;
  87. box-sizing: border-box;
  88. }
  89. h1,
  90. h2,
  91. h3,
  92. h4,
  93. th {
  94. font-family: 'Roboto', sans-serif;
  95. }
  96. code {
  97. font-family: 'Source Code Pro', monospace;
  98. }
  99. p,
  100. input {
  101. font-family: 'Roboto', sans-serif;
  102. }
  103. /** Main layout (Flexbox-Design) */
  104. .app-wrapper {
  105. display: -webkit-box;
  106. display: -ms-flexbox;
  107. display: flex;
  108. min-height: 100vh;
  109. -webkit-box-orient: vertical;
  110. -webkit-box-direction: normal;
  111. -ms-flex-direction: column;
  112. flex-direction: column;
  113. -ms-flex-line-pack: center;
  114. align-content: center;
  115. }
  116. .app-wrapper .app-header {
  117. background: #000;
  118. color: #fff;
  119. -webkit-box-flex: 0;
  120. -ms-flex: 0 0 60px;
  121. flex: 0 0 60px;
  122. }
  123. .app-wrapper .app-header .app-nav ul {
  124. padding: 0;
  125. display: -webkit-box;
  126. display: -ms-flexbox;
  127. display: flex;
  128. list-style: none;
  129. }
  130. .app-wrapper .app-header .app-nav ul li {
  131. -webkit-box-flex: 1;
  132. -ms-flex: 1 1 100px;
  133. flex: 1 1 100px;
  134. }
  135. .app-wrapper .app-main {
  136. -webkit-box-flex: 1;
  137. -ms-flex: 1 1 400px;
  138. flex: 1 1 400px;
  139. display: -webkit-box;
  140. display: -ms-flexbox;
  141. display: flex;
  142. }
  143. .app-wrapper .app-main .app-content {
  144. -webkit-box-flex: 4;
  145. -ms-flex: 4 1 560px;
  146. flex: 4 1 560px;
  147. }
  148. .app-wrapper .app-main .content-flex {
  149. display: -webkit-box;
  150. display: -ms-flexbox;
  151. display: flex;
  152. }
  153. .app-wrapper .app-main .content-flex .content-aside-left {
  154. -webkit-box-flex: 1;
  155. -ms-flex: 1 0 200px;
  156. flex: 1 0 200px;
  157. }
  158. .app-wrapper .app-main .content-flex .content-main {
  159. -webkit-box-flex: 4;
  160. -ms-flex: 4 1 400px;
  161. flex: 4 1 400px;
  162. }
  163. .app-wrapper .app-main .content-flex .content-aside-right {
  164. -webkit-box-flex: 1;
  165. -ms-flex: 1 0 200px;
  166. flex: 1 0 200px;
  167. }
  168. .app-wrapper .app-main .app-aside-left {
  169. -webkit-box-flex: 1;
  170. -ms-flex: 1 0 200px;
  171. flex: 1 0 200px;
  172. -webkit-box-ordinal-group: 0;
  173. -ms-flex-order: -1;
  174. order: -1;
  175. display: -webkit-box;
  176. display: -ms-flexbox;
  177. display: flex;
  178. -webkit-box-orient: vertical;
  179. -webkit-box-direction: normal;
  180. -ms-flex-direction: column;
  181. flex-direction: column;
  182. }
  183. .app-wrapper .app-main .app-aside-left div,
  184. .app-wrapper .app-main .app-aside-left ul {
  185. -webkit-box-flex: 1;
  186. -ms-flex: 1 1;
  187. flex: 1 1;
  188. }
  189. .app-wrapper .app-main .app-aside-right {
  190. -webkit-box-flex: 1;
  191. -ms-flex: 1 0 200px;
  192. flex: 1 0 200px;
  193. -webkit-box-ordinal-group: 1000;
  194. -ms-flex-order: 999;
  195. order: 999;
  196. -webkit-box-orient: vertical;
  197. -webkit-box-direction: normal;
  198. -ms-flex-direction: column;
  199. flex-direction: column;
  200. }
  201. .app-wrapper .app-footer {
  202. background: #000;
  203. color: #fff;
  204. -webkit-box-flex: 0;
  205. -ms-flex: 0 0 40px;
  206. flex: 0 0 40px;
  207. }
  208. /** Scrollable lists */
  209. .scrollable {
  210. max-height: 100%;
  211. overflow-y: scroll;
  212. }
  213. /** Forms */
  214. form * {
  215. padding: 0.2em 0.6em;
  216. margin: 0.2em 0.3em;
  217. }
  218. form button {
  219. background: #f0d1d1;
  220. border: 1px solid #cc8a8a;
  221. border-bottom: 3px solid #cc8a8a;
  222. }
  223. form input,
  224. form textbox,
  225. form select {
  226. border: 1px solid #cc8a8a;
  227. }
  228. /** Tables */
  229. table,
  230. tbody,
  231. thead {
  232. border-collapse: collapse;
  233. }
  234. table tr,
  235. tbody tr,
  236. thead tr,
  237. table th,
  238. tbody th,
  239. thead th,
  240. table td,
  241. tbody td,
  242. thead td {
  243. border-collapse: collapse;
  244. border: 1px solid #dcdef2;
  245. }