responsive.css 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. /* Responsive
  2. -------------------------------------------------- */
  3. /* Desktop large
  4. ------------------------- */
  5. @media (min-width: 1200px) {
  6. .sidenav {
  7. width: 258px;
  8. }
  9. .sidenav > li > a {
  10. width: 230px \9; /* Override the previous IE8-9 hack */
  11. }
  12. }
  13. /* Desktop
  14. ------------------------- */
  15. @media (min-width: 991px) and (max-width: 1199px) {
  16. /* When affixed, space properly */
  17. .sidenav {
  18. top: 0;
  19. width: 218px;
  20. margin-top: 30px;
  21. margin-bottom: 30px;
  22. margin-right: 0;
  23. }
  24. }
  25. /* Tablet to desktop
  26. ------------------------- */
  27. @media (min-width: 768px) and (max-width: 990px) {
  28. /* Remove any padding from the body */
  29. body {
  30. padding-top: 0;
  31. }
  32. /* Adjust sidenav width */
  33. .sidenav {
  34. width: 166px;
  35. margin-top: 20px;
  36. }
  37. }
  38. /* Tablet
  39. ------------------------- */
  40. @media (min-width: 481px) and (max-width: 767px) {
  41. /* Remove any padding from the body */
  42. body {
  43. padding-top: 0;
  44. }
  45. /* Sidenav */
  46. .sidenav {
  47. margin-bottom: 20px;
  48. position: static;
  49. width: auto;
  50. top: 0;
  51. }
  52. .page-header h1 span.date{
  53. display:block; overflow: hidden; width: 0; height: 0;
  54. }
  55. }
  56. /* Landscape phones
  57. ------------------------- */
  58. @media (max-width: 480px) {
  59. /* Remove padding above jumbotron */
  60. body {
  61. padding-top: 0;
  62. }
  63. /* Change up some type stuff */
  64. h2 small {
  65. display: block;
  66. }
  67. /* Do our best to make tables work in narrow viewports */
  68. table code {
  69. white-space: normal;
  70. word-wrap: break-word;
  71. word-break: break-all;
  72. }
  73. .sidenav{
  74. position: static;
  75. width: auto;
  76. top: 0;
  77. }
  78. .page-header h1 span.date{
  79. display:block; overflow: hidden; width: 0; height: 0;
  80. }
  81. }