index.html 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Robware</title>
  5. <meta charset="UTF-8">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <style type="text/css">
  8. @import url(http://fonts.googleapis.com/css?family=Roboto);
  9. html,body,h1,h2 {
  10. padding:0;
  11. margin:0;
  12. }
  13. html{
  14. font-family: 'Roboto', sans-serif;
  15. }
  16. body{
  17. width:100%;
  18. background:#f9f9f9;
  19. }
  20. nav {
  21. padding:10px;
  22. }
  23. h1, h2{
  24. }
  25. #menu{
  26. background:#f9f9f9;
  27. width:240px;
  28. left:0;
  29. position:fixed;
  30. height:100%;
  31. box-shadow: 7px 0px 4px 0px rgba(0,0,0,0.15);
  32. }
  33. #main{
  34. float:left;
  35. padding-left:240px;
  36. width:100%;
  37. }
  38. #content{
  39. padding:10px;
  40. }
  41. #footer{
  42. padding:20px;
  43. }
  44. .header {
  45. height:64px;
  46. background:#F44336;
  47. color:white;
  48. width:100%;
  49. white-space:nowrap;
  50. }
  51. .header>*{
  52. line-height:64px;
  53. font-size:24px;
  54. font-weight:400;
  55. float:left;
  56. padding-left:10px;
  57. }
  58. .header>img{
  59. height:40px;
  60. margin-top:12px;
  61. }
  62. .header span{
  63. float:left;
  64. }
  65. .header span:not(:first-child):before{
  66. margin:2px 10px 0 10px;
  67. width:6px;
  68. float:left;
  69. height:62px;
  70. background: url("chevron.png") no-repeat scroll right center / contain rgba(0, 0, 0, 0);
  71. content:"";
  72. }
  73. </style>
  74. </head>
  75. <body>
  76. <div id="menu">
  77. <div style="position: relative; overflow:auto; height:100%">
  78. <div class="header" style="postition:fixed">
  79. <img src="logo.png" />
  80. <h1>Robware</h1>
  81. </div>
  82. <nav>
  83. <dl>
  84. <dt>Page</dt>
  85. <div class="sub-pages">
  86. <dd><a href="">Sub Page</a></dd>
  87. </div>
  88. </dl>
  89. </nav>
  90. </div>
  91. </div>
  92. <div id="main">
  93. <div class="header">
  94. <h2>
  95. <span>Style</span>
  96. <span>Colour</span>
  97. </h2>
  98. </div>
  99. <div id="content">{@Body}</div>
  100. <div id="footer">{@Footer}</div>
  101. </div>
  102. </body>
  103. </html>