Dashboard sipadu mbip
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

main.css 5.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298
  1. /*
  2. * HTML5 Boilerplate
  3. *
  4. * What follows is the result of much research on cross-browser styling.
  5. * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
  6. * Kroc Camen, and the H5BP dev community and team.
  7. */
  8. /* ==========================================================================
  9. Base styles: opinionated defaults
  10. ========================================================================== */
  11. html,
  12. button,
  13. input,
  14. select,
  15. textarea {
  16. color: #222;
  17. }
  18. body {
  19. font-size: 1em;
  20. line-height: 1.4;
  21. }
  22. /*
  23. * Remove text-shadow in selection highlight: h5bp.com/i
  24. * These selection declarations have to be separate.
  25. * Customize the background color to match your design.
  26. */
  27. /*::-moz-selection {
  28. background: #b3d4fc;
  29. text-shadow: none;
  30. }
  31. ::selection {
  32. background: #b3d4fc;
  33. text-shadow: none;
  34. }*/
  35. /*
  36. * A better looking default horizontal rule
  37. */
  38. hr {
  39. display: block;
  40. height: 1px;
  41. border: 0;
  42. border-top: 1px solid #ccc;
  43. margin: 1em 0;
  44. padding: 0;
  45. }
  46. /*
  47. * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
  48. */
  49. img {
  50. vertical-align: middle;
  51. }
  52. /*
  53. * Remove default fieldset styles.
  54. */
  55. fieldset {
  56. border: 0;
  57. margin: 0;
  58. padding: 0;
  59. }
  60. /*
  61. * Allow only vertical resizing of textareas.
  62. */
  63. textarea {
  64. resize: vertical;
  65. }
  66. /* ==========================================================================
  67. Chrome Frame prompt
  68. ========================================================================== */
  69. .chromeframe {
  70. margin: 0.2em 0;
  71. background: #ccc;
  72. color: #000;
  73. padding: 0.2em 0;
  74. }
  75. /* ==========================================================================
  76. Author's custom styles
  77. ========================================================================== */
  78. /* ==========================================================================
  79. Helper classes
  80. ========================================================================== */
  81. /*
  82. * Image replacement
  83. */
  84. .ir {
  85. background-color: transparent;
  86. border: 0;
  87. overflow: hidden;
  88. /* IE 6/7 fallback */
  89. *text-indent: -9999px;
  90. }
  91. .ir:before {
  92. content: "";
  93. display: block;
  94. width: 0;
  95. height: 100%;
  96. }
  97. /*
  98. * Hide from both screenreaders and browsers: h5bp.com/u
  99. */
  100. .hidden {
  101. display: none !important;
  102. visibility: hidden;
  103. }
  104. /*
  105. * Hide only visually, but have it available for screenreaders: h5bp.com/v
  106. */
  107. .visuallyhidden {
  108. border: 0;
  109. clip: rect(0 0 0 0);
  110. height: 1px;
  111. margin: -1px;
  112. overflow: hidden;
  113. padding: 0;
  114. position: absolute;
  115. width: 1px;
  116. }
  117. /*
  118. * Extends the .visuallyhidden class to allow the element to be focusable
  119. * when navigated to via the keyboard: h5bp.com/p
  120. */
  121. .visuallyhidden.focusable:active,
  122. .visuallyhidden.focusable:focus {
  123. clip: auto;
  124. height: auto;
  125. margin: 0;
  126. overflow: visible;
  127. position: static;
  128. width: auto;
  129. }
  130. /*
  131. * Hide visually and from screenreaders, but maintain layout
  132. */
  133. .invisible {
  134. visibility: hidden;
  135. }
  136. /*
  137. * Clearfix: contain floats
  138. *
  139. * For modern browsers
  140. * 1. The space content is one way to avoid an Opera bug when the
  141. * `contenteditable` attribute is included anywhere else in the document.
  142. * Otherwise it causes space to appear at the top and bottom of elements
  143. * that receive the `clearfix` class.
  144. * 2. The use of `table` rather than `block` is only necessary if using
  145. * `:before` to contain the top-margins of child elements.
  146. */
  147. .clearfix:before,
  148. .clearfix:after {
  149. content: " "; /* 1 */
  150. display: table; /* 2 */
  151. }
  152. .clearfix:after {
  153. clear: both;
  154. }
  155. /*
  156. * For IE 6/7 only
  157. * Include this rule to trigger hasLayout and contain floats.
  158. */
  159. .clearfix {
  160. *zoom: 1;
  161. }
  162. /* ==========================================================================
  163. EXAMPLE Media Queries for Responsive Design.
  164. Theses examples override the primary ('mobile first') styles.
  165. Modify as content requires.
  166. ========================================================================== */
  167. @media only screen and (min-width: 35em) {
  168. /* Style adjustments for viewports that meet the condition */
  169. }
  170. @media only screen and (-webkit-min-device-pixel-ratio: 1.5),
  171. only screen and (min-resolution: 144dpi) {
  172. /* Style adjustments for high resolution devices */
  173. }
  174. /* ==========================================================================
  175. Print styles.
  176. Inlined to avoid required HTTP connection: h5bp.com/r
  177. ========================================================================== */
  178. @media print {
  179. * {
  180. background: transparent !important;
  181. color: #000 !important; /* Black prints faster: h5bp.com/s */
  182. box-shadow: none !important;
  183. text-shadow: none !important;
  184. }
  185. a,
  186. a:visited {
  187. text-decoration: underline;
  188. }
  189. a[href]:after {
  190. content: " (" attr(href) ")";
  191. }
  192. abbr[title]:after {
  193. content: " (" attr(title) ")";
  194. }
  195. /*
  196. * Don't show links for images, or javascript/internal links
  197. */
  198. .ir a:after,
  199. a[href^="javascript:"]:after,
  200. a[href^="#"]:after {
  201. content: "";
  202. }
  203. pre,
  204. blockquote {
  205. border: 1px solid #999;
  206. page-break-inside: avoid;
  207. }
  208. thead {
  209. display: table-header-group; /* h5bp.com/t */
  210. }
  211. tr,
  212. img {
  213. page-break-inside: avoid;
  214. }
  215. img {
  216. max-width: 100% !important;
  217. }
  218. @page {
  219. margin: 0.5cm;
  220. }
  221. p,
  222. h2,
  223. h3 {
  224. orphans: 3;
  225. widows: 3;
  226. }
  227. h2,
  228. h3 {
  229. page-break-after: avoid;
  230. }
  231. }