website.css 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. body {
  2. font-size: 15px;
  3. line-height: 1.6em;
  4. position: relative;
  5. margin: 0;
  6. }
  7. .container {
  8. width: 95%;
  9. max-width: 1260px;
  10. }
  11. p, pre {
  12. margin-bottom: 2em;
  13. }
  14. .main h2 {
  15. font-weight: bold;
  16. margin: 60px 0 20px 0;
  17. }
  18. .main h3 {
  19. margin: 60px 0 20px 0;
  20. }
  21. .main h4 {
  22. margin: 0 0 10px 0;
  23. font-weight: bold;
  24. }
  25. ul.nobullets {
  26. margin: 0;
  27. padding: 0;
  28. list-style-position: inside;
  29. }
  30. li {
  31. padding-bottom: 1em;
  32. }
  33. #sidebar {
  34. top: 20px;
  35. width: 300px;
  36. }
  37. #sidebar ul {
  38. margin-bottom: 5px;
  39. }
  40. #sidebar li {
  41. margin-bottom: 0;
  42. padding-bottom: 0;
  43. }
  44. #sidebar li ul {
  45. display: none;
  46. }
  47. #sidebar li.active ul {
  48. display: block;
  49. }
  50. #sidebar li li {
  51. padding: 4px 0;
  52. }
  53. input[type="text"] {
  54. padding: 6px;
  55. width: 100%;
  56. border-radius: 4px;
  57. }
  58. .navbar {
  59. text-align: left;
  60. margin: 0;
  61. border: 0;
  62. }
  63. .navbar-inverse {
  64. background: #ccc;
  65. }
  66. .navbar .container {
  67. padding: 0 20px;
  68. }
  69. .navbar-nav li a:link, .navbar-nav li a:visited {
  70. font-weight: bold;
  71. color: #fff;
  72. font-size: 16px;
  73. }
  74. .navbar-nav li {
  75. background: #fff;
  76. }
  77. .navbar-nav li a:hover {
  78. opacity: 0.8;
  79. }
  80. .navbar-nav li {
  81. padding: 0;
  82. }
  83. .navbar-inverse .navbar-text {
  84. margin: 18px 0 0 0;
  85. color: #eee;
  86. }
  87. #footer {
  88. background: #222;
  89. margin-top: 80px;
  90. padding: 30px;
  91. color: #fff;
  92. text-align: center;
  93. }
  94. #footer a:link, #footer a:visited {
  95. color: #fff;
  96. border-bottom: 1px dotted #fff;
  97. }
  98. #jumbo {
  99. background: #f5f5f5 linear-gradient(to bottom,#eee 0,#f5f5f5 100%);
  100. color: #000;
  101. padding: 30px 0;
  102. margin-bottom: 30px;
  103. }
  104. #jumbo .btn {
  105. border-radius: 0;
  106. }
  107. #config .demo { position: relative; }
  108. #config .demo i { position: absolute; bottom: 10px; right: 24px; top: auto; cursor: pointer; }
  109. #rightcol {
  110. margin-left: 330px;
  111. }
  112. #nav-spy {
  113. float: left;
  114. width: 300px;
  115. }
  116. @media (max-width: 980px) {
  117. #rightcol {
  118. margin-left: 0;
  119. }
  120. #nav-spy {
  121. float: none;
  122. position: relative;
  123. }
  124. }