layout.css 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. html {
  2. box-sizing: border-box;
  3. }
  4. *, *::after, *::before {
  5. box-sizing: inherit;
  6. }
  7. .container {
  8. max-width: 1200px;
  9. margin-left: auto;
  10. margin-right: auto;
  11. width: auto;
  12. }
  13. .container::after {
  14. clear: both;
  15. content: "";
  16. display: block;
  17. }
  18. @media screen and (min-width: 45em) {
  19. .one-sidebar.sidebar-second #content {
  20. float: left;
  21. display: block;
  22. margin-right: 3.22581%;
  23. width: 74.19355%;
  24. }
  25. .one-sidebar.sidebar-second #content:last-child {
  26. margin-right: 0;
  27. }
  28. }
  29. @media screen and (min-width: 60em) {
  30. .one-sidebar.sidebar-second #content {
  31. float: left;
  32. display: block;
  33. margin-right: 2.12766%;
  34. width: 65.95745%;
  35. }
  36. .one-sidebar.sidebar-second #content:last-child {
  37. margin-right: 0;
  38. }
  39. }
  40. @media screen and (min-width: 45em) {
  41. .one-sidebar.sidebar-first #content {
  42. float: left;
  43. display: block;
  44. margin-right: 3.22581%;
  45. width: 74.19355%;
  46. margin-left: 25.80645%;
  47. }
  48. .one-sidebar.sidebar-first #content:last-child {
  49. margin-right: 0;
  50. }
  51. }
  52. @media screen and (min-width: 60em) {
  53. .one-sidebar.sidebar-first #content {
  54. float: left;
  55. display: block;
  56. margin-right: 2.12766%;
  57. width: 74.46809%;
  58. margin-left: 25.53191%;
  59. }
  60. .one-sidebar.sidebar-first #content:last-child {
  61. margin-right: 0;
  62. }
  63. }
  64. @media screen and (min-width: 45em) {
  65. .two-sidebars #content {
  66. float: left;
  67. display: block;
  68. margin-right: 3.22581%;
  69. width: 48.3871%;
  70. margin-left: 25.80645%;
  71. }
  72. .two-sidebars #content:last-child {
  73. margin-right: 0;
  74. }
  75. }
  76. @media screen and (min-width: 60em) {
  77. .two-sidebars #content {
  78. float: left;
  79. display: block;
  80. margin-right: 2.12766%;
  81. width: 40.42553%;
  82. margin-left: 25.53191%;
  83. }
  84. .two-sidebars #content:last-child {
  85. margin-right: 0;
  86. }
  87. }
  88. @media screen and (min-width: 45em) {
  89. #sidebar-first {
  90. float: left;
  91. display: block;
  92. margin-right: 3.22581%;
  93. width: 22.58065%;
  94. margin-left: -77.41935%;
  95. }
  96. #sidebar-first:last-child {
  97. margin-right: 0;
  98. }
  99. .one-sidebar.sidebar-first #sidebar-first {
  100. margin-left: -103.22581%;
  101. }
  102. }
  103. @media screen and (min-width: 60em) {
  104. #sidebar-first {
  105. float: left;
  106. display: block;
  107. margin-right: 2.12766%;
  108. width: 23.40426%;
  109. margin-left: -68.08511%;
  110. }
  111. #sidebar-first:last-child {
  112. margin-right: 0;
  113. }
  114. .one-sidebar.sidebar-first #sidebar-first {
  115. margin-left: -102.12766%;
  116. }
  117. }
  118. @media screen and (min-width: 45em) {
  119. #sidebar-second {
  120. float: left;
  121. display: block;
  122. margin-right: 3.22581%;
  123. width: 22.58065%;
  124. margin-left: 0%;
  125. }
  126. #sidebar-second:last-child {
  127. margin-right: 0;
  128. }
  129. }
  130. @media screen and (min-width: 60em) {
  131. #sidebar-second {
  132. float: left;
  133. display: block;
  134. margin-right: 2.12766%;
  135. width: 31.91489%;
  136. margin-left: 0%;
  137. }
  138. #sidebar-second:last-child {
  139. margin-right: 0;
  140. }
  141. }
  142. #footer {
  143. float: none;
  144. clear: both;
  145. }
  146. #header, #footer,
  147. #sidebar-first,
  148. #sidebar-second,
  149. #navigation {
  150. background: rgba(170, 170, 170, 0.2);
  151. }
  152. #header,
  153. #footer,
  154. .mission,
  155. .breadcrumb,
  156. .node {
  157. clear: both;
  158. }