style.scss 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. ---
  2. ---
  3. @import "{{ site.theme }}";
  4. .highlight {
  5. margin-left: 0;
  6. margin-right: 0;
  7. }
  8. .wrapper {
  9. width: 1200px;
  10. }
  11. section {
  12. width: 840px;
  13. }
  14. header {
  15. position: static;
  16. }
  17. header nav.menu ul {
  18. height: auto;
  19. background: transparent;
  20. border-radius: 0;
  21. border: 0 none;
  22. width: auto;
  23. }
  24. header nav.menu ul li {
  25. width: auto !important;
  26. float: none;
  27. border: 0 none;
  28. height: auto;
  29. margin-bottom: 5px;
  30. display: block;
  31. }
  32. header nav.menu li:last-child a {
  33. border-radius: 0 none;
  34. }
  35. header nav.menu ul li a {
  36. font-size: 1rem;
  37. text-align: left;
  38. display: inline;
  39. height: auto;
  40. }
  41. header nav.menu ul li span {
  42. font-size: 1rem;
  43. }
  44. header nav.menu ul li .active {
  45. font-weight: 600;
  46. padding-top: 6px;
  47. line-height: 1;
  48. }
  49. header nav.menu ul li a:active {
  50. background: transparent;
  51. }
  52. footer {
  53. clear: both;
  54. position: static;
  55. width: auto;
  56. bottom: 0;
  57. float: none;
  58. }
  59. nav.index {
  60. font-size: 1rem;
  61. }
  62. @media print, screen and (max-width: 1280px) {
  63. .wrapper {
  64. width: 100%;
  65. }
  66. section {
  67. width: 70%;
  68. }
  69. header {
  70. width: 25%;
  71. }
  72. }
  73. @media print, screen and (max-width: 960px) {
  74. .wrapper {
  75. width: 100% !important;
  76. }
  77. section {
  78. width: 100%;
  79. float: none;
  80. }
  81. header {
  82. width: 100%;
  83. float: none;
  84. padding-right: 0;
  85. }
  86. header nav ul {
  87. position: static;
  88. right: 0;
  89. top: 0;
  90. }
  91. }