style.css 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. @import url(http://fonts.googleapis.com/css?family=Roboto);
  2. html,body,h1,h2 {
  3. padding:0;
  4. margin:0;
  5. }
  6. html{
  7. font-family: 'Roboto', sans-serif;
  8. }
  9. body{
  10. width:100%;
  11. background:#f9f9f9;
  12. }
  13. nav img{
  14. vertical-align: middle;
  15. margin-right: 5px;
  16. }
  17. nav dt:not(:first-child){
  18. margin-top:3px;
  19. }
  20. nav a{
  21. color: black;
  22. text-decoration: none;
  23. }
  24. #menu{
  25. background:#f9f9f9;
  26. width:240px;
  27. left:0;
  28. position:fixed;
  29. height:100%;
  30. box-shadow: 7px 0px 4px 0px rgba(0,0,0,0.15);
  31. }
  32. #menu>div{
  33. position: relative;
  34. height:100%
  35. }
  36. #menu>div>*{
  37. padding-left:10px;
  38. }
  39. #nav-container{
  40. position:fixed;
  41. top:64px;
  42. bottom:0;
  43. width:230px;
  44. overflow: auto;
  45. }
  46. #main{
  47. padding-left:240px;
  48. padding-top:64px;
  49. }
  50. #main>*{
  51. padding-left:20px !important;
  52. }
  53. #main-header{
  54. position: fixed;
  55. padding-left: 240px;
  56. left:0;
  57. right:0;
  58. box-shadow: 0 5px 10px rgba(249,249,249, 0.9);
  59. }
  60. #main-header .header>*{
  61. padding-left: 20px !important;
  62. }
  63. #content{
  64. padding:20px;
  65. }
  66. .header {
  67. height:64px;
  68. background:#F44336;
  69. color:white;
  70. white-space:nowrap;
  71. padding:0 !important;
  72. }
  73. .header>*{
  74. line-height:64px;
  75. font-size:24px;
  76. font-weight:400;
  77. float:left;
  78. padding-left: 10px;
  79. }
  80. .header>img{
  81. height:40px;
  82. margin-top:12px;
  83. }
  84. .header span{
  85. float:left;
  86. }
  87. .header span:not(:first-child):before{
  88. margin:2px 10px 0 10px;
  89. width:6px;
  90. float:left;
  91. height:62px;
  92. background: url("/images/chevron.png") no-repeat scroll right center / contain rgba(0, 0, 0, 0);
  93. content:"";
  94. }