_layout.jade 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. doctype
  2. html(lang="en")
  3. head
  4. meta(charset="utf-8")
  5. meta(http-equiv="X-UA-Compatible", content="IE=edge,chrome=1")
  6. //- title #{ pkg.name } #{ pkg.version }
  7. title Harp
  8. meta(name="handheldfriendly", content="true")
  9. meta(name="mobileoptimized", content="320")
  10. meta(name="viewport", content="width=device-width, initial-scale=1.0")
  11. meta(http-equiv="cleartype", content="on")
  12. style.
  13. body {
  14. font-family: Verdana;
  15. padding:10px 10px;
  16. }
  17. h1, h2, h3, h4, h5, h6{
  18. font-weight: 300;
  19. line-height: 1.5em;
  20. }
  21. h3 {
  22. font-weight: 500;
  23. font-size: 1em;
  24. }
  25. p {
  26. font-size: 1em;
  27. line-height: 1.5em;
  28. }
  29. header{
  30. padding:20px 0px;
  31. }
  32. header h1{
  33. margin:0;
  34. }
  35. header h3{
  36. margin:0;
  37. }
  38. .stacktrace{
  39. padding:0px;
  40. margin-bottom:20px;
  41. margin-top:40px;
  42. border:2px solid #a44;
  43. background:#a44;
  44. }
  45. .stacktrace h3{
  46. padding:22px 0px 20px 10px;
  47. color: #fff;
  48. margin:0px;
  49. font-size:0.75em;
  50. line-height:1em;
  51. font-weight:600;
  52. overflow:auto;
  53. }
  54. pre {
  55. padding: 20px 0px;
  56. margin:0;
  57. background:#f8f8f8;
  58. width:100%;
  59. overflow:auto;
  60. }
  61. code{
  62. line-height: 1.5em;
  63. font-size: 1em;
  64. }
  65. footer{
  66. background: #f8f8f8;
  67. padding:20px 0px 20px 20px;
  68. border-top:2px solid #eee;
  69. }
  70. .version{
  71. background: #6b919e;
  72. padding: 2px 6px;
  73. border-radius: 3px;
  74. color:#FFF;
  75. font-weight: 300;
  76. }
  77. ul.projects {
  78. padding: 0;
  79. }
  80. ul.projects li{
  81. list-style-type:none;
  82. margin-bottom:10px;
  83. }
  84. ul.projects li a{
  85. background: #eee;
  86. padding:25px 0px 25px 20px;
  87. border-left: 4px solid #6b919e;
  88. display:block;
  89. border-radius: 5px;
  90. text-decoration:none;
  91. }
  92. ul.projects li a h2{
  93. font-weight:bold;
  94. color: #6b919e;
  95. margin:0px;
  96. }
  97. ul.projects li a code{
  98. margin:0px;
  99. color:#666;
  100. text-decoration:none;
  101. }
  102. .center {
  103. text-align:center;
  104. padding-top: 100px;
  105. padding-bottom: 100px;
  106. }
  107. body
  108. != yield
  109. footer
  110. p Harp <span class="version">v#{ pkg.version }</span> &nbsp;
  111. a(href="http://harpjs.com/docs/", target="_blank") Documentation