flaskbb.css 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. html,
  2. body {
  3. height: 100%; /* The html and body elements cannot have any padding or margin. */
  4. }
  5. /* Wrapper for page content to push down footer */
  6. #wrap {
  7. min-height: 100%;
  8. height: auto !important;
  9. height: 100%; /* Negative indent footer by its height */
  10. margin: 0 auto -60px;
  11. padding: 0 0 60px; /* Pad bottom by footer height */
  12. }
  13. /* Set the fixed height of the footer here */
  14. #footer {
  15. height: 60px;
  16. background-color: #f5f5f5;
  17. }
  18. .container .credit {
  19. margin: 20px 0;
  20. }
  21. #footer > .container {
  22. margin: 0 auto 15px;
  23. padding-left: 15px;
  24. padding-right: 15px;
  25. }
  26. .pagination-text {
  27. cursor: default;
  28. background-color: #fff;
  29. border-color: #ddd;
  30. }
  31. /*
  32. * Option to remove the borders from the table
  33. */
  34. /* borderless table */
  35. .table .table-borderless td, .table.table-borderless th {
  36. border: 0 !important;
  37. }
  38. .table .table-borderless {
  39. margin-bottom: 0px;
  40. }
  41. /*
  42. * Nav Header
  43. * Got these lines from bootstrap 2.3.2
  44. */
  45. .nav-header {
  46. display: block;
  47. padding: 3px 15px;
  48. font-size: 12px;
  49. font-weight: bold;
  50. line-height: 20px;
  51. color: #999999;
  52. text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  53. text-transform: uppercase;
  54. }
  55. .nav li + .nav-header {
  56. margin-top: 9px;
  57. }
  58. /*
  59. * Side navigation
  60. *
  61. * Scrollspy and affixed enhanced navigation to highlight sections and secondary
  62. * sections of docs content.
  63. *
  64. * Copied from the bootstrap3 docs.css file which is licensed under the
  65. * Apache 2.0 license.
  66. */
  67. /* By default it's not affixed in mobile views, so undo that */
  68. .sidebar.affix {
  69. position: static;
  70. }
  71. /* First level of nav */
  72. .sidenav {
  73. margin-bottom: 30px;
  74. padding-top: 10px;
  75. padding-bottom: 10px;
  76. text-shadow: 0 1px 0 #fff;
  77. background-color: #f7f5fa;
  78. border-radius: 5px;
  79. }
  80. /* All levels of nav */
  81. .sidebar .nav > li > a {
  82. display: block;
  83. color: #716b7a;
  84. padding: 5px 20px;
  85. }
  86. .sidebar .nav > li > a:hover,
  87. .sidebar .nav > li > a:focus {
  88. text-decoration: none;
  89. background-color: #e5e3e9;
  90. border-right: 1px solid #dbd8e0;
  91. }
  92. .sidebar .nav > .active > a,
  93. .sidebar .nav > .active:hover > a,
  94. .sidebar .nav > .active:focus > a {
  95. font-weight: bold;
  96. color: #0088cc;
  97. background-color: transparent;
  98. border-right: 1px solid #0088cc;
  99. }
  100. /* Nav: second level (shown on .active) */
  101. .sidebar .nav .nav {
  102. display: none; /* Hide by default, but at >768px, show it */
  103. margin-bottom: 8px;
  104. }
  105. .sidebar .nav .nav > li > a {
  106. padding-top: 3px;
  107. padding-bottom: 3px;
  108. padding-left: 30px;
  109. font-size: 90%;
  110. }
  111. /* Show and affix the side nav when space allows it */
  112. @media screen and (min-width: 992px) {
  113. .sidebar .nav > .active > ul {
  114. display: block;
  115. }
  116. /* Widen the fixed sidebar */
  117. .sidebar.affix,
  118. .sidebar.affix-bottom {
  119. width: 213px;
  120. }
  121. .sidebar.affix {
  122. position: fixed; /* Undo the static from mobile first approach */
  123. top: 80px;
  124. }
  125. .sidebar.affix-bottom {
  126. position: absolute; /* Undo the static from mobile first approach */
  127. }
  128. .sidebar.affix-bottom .sidenav,
  129. .sidebar.affix .sidenav {
  130. margin-top: 0;
  131. margin-bottom: 0;
  132. }
  133. }
  134. @media screen and (min-width: 1200px) {
  135. /* Widen the fixed sidebar again */
  136. .sidebar.affix-bottom,
  137. .sidebar.affix {
  138. width: 263px;
  139. }
  140. }
  141. .form-signin {
  142. max-width: 330px;
  143. padding: 15px;
  144. margin: 0 auto;
  145. }
  146. .form-signin .form-signin-heading,
  147. .form-signin .checkbox {
  148. margin-bottom: 10px;
  149. }
  150. .form-signin .checkbox {
  151. font-weight: normal;
  152. }
  153. .form-signin .form-control {
  154. position: relative;
  155. font-size: 16px;
  156. height: auto;
  157. padding: 10px;
  158. -webkit-box-sizing: border-box;
  159. -moz-box-sizing: border-box;
  160. box-sizing: border-box;
  161. }
  162. .form-signin .form-control:focus {
  163. z-index: 2;
  164. }
  165. .form-signin input[type="text"] {
  166. margin-bottom: -1px;
  167. border-bottom-left-radius: 0;
  168. border-bottom-right-radius: 0;
  169. }
  170. .form-signin input[type="password"] {
  171. margin-bottom: 10px;
  172. border-top-left-radius: 0;
  173. border-top-right-radius: 0;
  174. }
  175. /* End sidebar */
  176. .blog-info {
  177. font-size:15px;
  178. color:#999999;
  179. padding: 0;
  180. margin-top:5px;
  181. margin-bottom:10px;
  182. margin-right: 0px;
  183. margin-left: 0px;
  184. }
  185. .blog-info ul {
  186. list-style-type:none;
  187. }
  188. .blog-info li {
  189. display:inline;
  190. padding-right:10px;
  191. }
  192. .blog-info a {
  193. color:#999999;
  194. }
  195. .blog-content h1,
  196. .blog-content h2,
  197. .blog-content h3,
  198. .blog-content h4,
  199. .blog-content h5 {
  200. font-weight:500;
  201. }