style.styl 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. @import './foundation.styl'
  2. /** Appearance */
  3. //@import url('https://fonts.googleapis.com/css?family=Mukta+Vaani')
  4. //@import url('https://fonts.googleapis.com/css?family=Proza+Libre')
  5. //@import url('https://fonts.googleapis.com/css?family=Source+Code+Pro')
  6. //@import url('https://fonts.googleapis.com/css?family=Alegreya+Sans')
  7. @import url('https://fonts.googleapis.com/css?family=Roboto')
  8. .clearfix
  9. overflow auto
  10. zoom 1
  11. *
  12. //font-family 'Mukta Vaani', sans-serif
  13. //font-family 'Alegreya Sans', sans-serif;
  14. font-family 'Roboto', sans-serif
  15. font-size 24
  16. box-sizing border-box
  17. h1, h2, h3, h4, th
  18. font-family 'Roboto', sans-serif
  19. //font-family 'Proza Libre', sans-serif
  20. code
  21. font-family 'Source Code Pro', monospace
  22. p, input
  23. //font-family: 'Alegreya Sans', sans-serif;
  24. font-family 'Roboto', sans-serif
  25. /** Main layout (Flexbox-Design) */
  26. .app-wrapper
  27. display flex
  28. min-height 100vh
  29. flex-direction column
  30. align-content center
  31. .app-header
  32. background black
  33. color white
  34. flex 0 0 60px
  35. .app-nav
  36. ul
  37. padding 0
  38. display flex
  39. list-style none
  40. li
  41. flex 1 1 100px
  42. .app-main
  43. flex 1 1 400px
  44. display flex
  45. .app-content
  46. flex 4 1 560px
  47. .content-flex
  48. display flex
  49. .content-aside-left
  50. flex 1 0 200px
  51. .content-main
  52. flex 4 1 400px
  53. .content-aside-right
  54. flex 1 0 200px
  55. .app-aside-left
  56. flex 1 0 200px
  57. order -1
  58. display flex
  59. flex-direction column
  60. div, ul
  61. flex 1 1
  62. .app-aside-right
  63. flex 1 0 200px
  64. order 999
  65. flex-direction column
  66. .app-footer
  67. background black
  68. color white
  69. flex 0 0 40px
  70. /** Scrollable lists */
  71. .scrollable
  72. max-height 100%
  73. overflow-y scroll
  74. /** Forms */
  75. form
  76. *
  77. padding 0.2em 0.6em
  78. margin 0.2em 0.3em
  79. button
  80. background #F0D1D1
  81. border 1px solid #CC8A8A
  82. border-bottom 3px solid #CC8A8A
  83. input, textbox, select
  84. border 1px solid #CC8A8A
  85. /** Tables */
  86. table, tbody, thead
  87. border-collapse collapse
  88. tr, th, td
  89. border-collapse collapse
  90. border 1px solid #DCDEF2