site-footer.css 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  1. /**
  2. * @file
  3. * Footer Styling.
  4. */
  5. .site-footer {
  6. font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  7. padding: 35px 0 30px;
  8. }
  9. .site-footer .layout-container {
  10. padding: 0 15px;
  11. }
  12. @media all and (min-width: 560px) {
  13. .site-footer__top .region {
  14. float: left; /* LTR */
  15. position: relative;
  16. width: 50%;
  17. }
  18. [dir="rtl"] .site-footer__top .region {
  19. float: right;
  20. }
  21. }
  22. @media all and (min-width: 560px) and (max-width: 850px) {
  23. .site-footer .region {
  24. box-sizing: border-box;
  25. }
  26. .site-footer__top .region:nth-child(2n+1) {
  27. padding-right: 10px; /* LTR */
  28. }
  29. [dir="rtl"] .site-footer__top .region:nth-child(2n+1) {
  30. padding-left: 10px;
  31. padding-right: 0;
  32. }
  33. .site-footer__top .region:nth-child(2n) {
  34. padding-left: 10px; /* LTR */
  35. }
  36. [dir="rtl"] .site-footer__top .region:nth-child(2n) {
  37. padding-left: 0;
  38. padding-right: 10px;
  39. }
  40. .region-footer-third {
  41. clear: both;
  42. }
  43. }
  44. @media all and (min-width: 851px) {
  45. .site-footer__top .region {
  46. width: 24%;
  47. padding: 0 0.65%;
  48. }
  49. .site-footer__top .region:first-child {
  50. padding-left: 0; /* LTR */
  51. }
  52. [dir="rtl"] .site-footer__top .region:first-child {
  53. padding-left: 10px;
  54. padding-right: 0;
  55. }
  56. .site-footer__top .region:last-child {
  57. padding-right: 0; /* LTR */
  58. }
  59. [dir="rtl"] .site-footer__top .region:last-child {
  60. padding-left: 0;
  61. padding-right: 10px;
  62. }
  63. }
  64. .site-footer h2 {
  65. color: #c0c0c0;
  66. color: rgba(255, 255, 255, 0.65);
  67. }
  68. .site-footer blockquote {
  69. color: #555;
  70. }
  71. .site-footer .content {
  72. color: #c0c0c0;
  73. color: rgba(255, 255, 255, 0.65);
  74. font-size: 0.857em;
  75. }
  76. .site-footer .menu-item {
  77. padding: 0;
  78. }
  79. .site-footer .content ol:not(.menu),
  80. .site-footer .content ul:not(.menu) {
  81. padding-left: 1.4em; /* LTR */
  82. }
  83. [dir="rtl"] .site-footer .content ol:not(.menu),
  84. [dir="rtl"] .site-footer .content ul:not(.menu) {
  85. padding-right: 1.4em;
  86. padding-left: 0;
  87. }
  88. .site-footer .content a,
  89. .site-footer .content a.is-active {
  90. color: #fcfcfc;
  91. color: rgba(255, 255, 255, 0.8);
  92. }
  93. .site-footer .content a:hover,
  94. .site-footer .content a:focus {
  95. color: #fefefe;
  96. color: rgba(255, 255, 255, 0.95);
  97. }
  98. .site-footer .block {
  99. margin: 20px 0;
  100. border: 1px solid #444;
  101. border-color: rgba(255, 255, 255, 0.1);
  102. padding: 10px;
  103. }
  104. .site-footer table {
  105. font-size: 1em;
  106. }
  107. .site-footer tr td,
  108. .site-footer tr th {
  109. border-color: #555;
  110. border-color: rgba(255, 255, 255, 0.18);
  111. }
  112. .site-footer tr.odd {
  113. background-color: transparent;
  114. }
  115. .site-footer tr.even {
  116. background-color: #2c2c2c;
  117. background-color: rgba(0, 0, 0, 0.15);
  118. }
  119. /* Footer Top Styling. */
  120. .site-footer__top h2 {
  121. border-bottom: 1px solid #555;
  122. border-color: rgba(255, 255, 255, 0.15);
  123. font-size: 1em;
  124. margin-bottom: 0;
  125. padding-bottom: 3px;
  126. text-transform: uppercase;
  127. }
  128. .site-footer__top .content {
  129. margin-top: 0;
  130. }
  131. .site-footer__top p {
  132. margin-top: 1em;
  133. }
  134. .site-footer__top .content .menu {
  135. padding-left: 0; /* LTR */
  136. }
  137. [dir="rtl"] .site-footer__top .content .menu {
  138. padding-right: 0;
  139. }
  140. .site-footer__top .content li a {
  141. display: block;
  142. border-bottom: 1px solid #555;
  143. border-color: rgba(255, 255, 255, 0.15);
  144. line-height: 1.2;
  145. padding: 0.8em 2px 0.8em 20px; /* LTR */
  146. text-indent: -15px;
  147. }
  148. [dir="rtl"] .site-footer__top .content li a {
  149. padding: 0.8em 20px 0.8em 2px;
  150. }
  151. .site-footer__top .content li a:hover,
  152. .site-footer__top .content li a:focus {
  153. background-color: #1f1f21;
  154. background-color: rgba(255, 255, 255, 0.05);
  155. text-decoration: none;
  156. }
  157. .site-footer__top .block-menu,
  158. .site-footer__bottom .block {
  159. margin: 0;
  160. padding: 0;
  161. border: none;
  162. }
  163. /* Footer Bottom Styling. */
  164. .site-footer__bottom .block {
  165. margin: 0.5em 0;
  166. }
  167. .site-footer__bottom .content {
  168. padding: 0.5em 0;
  169. margin-top: 0;
  170. }
  171. .site-footer__bottom .block h2 {
  172. margin: 0;
  173. }
  174. .site-footer__bottom {
  175. letter-spacing: 0.2px;
  176. margin-top: 30px;
  177. border-top: 1px solid #555;
  178. border-color: rgba(255, 255, 255, 0.15);
  179. }
  180. .site-footer__bottom .region {
  181. margin-top: 20px;
  182. }
  183. .site-footer__bottom .block {
  184. clear: both;
  185. }
  186. /* We need to be specific to overwrite [dir="rtl"] .block ul in block.css. */
  187. .site-footer__bottom .block .menu {
  188. padding: 0;
  189. }
  190. .site-footer__bottom .menu-item a {
  191. float: left; /* LTR */
  192. padding: 0 12px;
  193. display: block;
  194. border-right: 1px solid #555; /* LTR */
  195. border-color: rgba(255, 255, 255, 0.15);
  196. }
  197. [dir="rtl"] .site-footer__bottom .menu-item a {
  198. float: right;
  199. border-left: 1px solid #555;
  200. border-right: none;
  201. }
  202. .site-footer__bottom .menu-item:first-child a {
  203. padding-left: 0; /* LTR */
  204. }
  205. [dir="rtl"] .site-footer__bottom .menu-item:first-child a {
  206. padding-right: 0;
  207. padding-left: 12px;
  208. }
  209. .site-footer__bottom .menu-item:last-child a {
  210. padding-right: 0; /* LTR */
  211. border-right: none; /* LTR */
  212. }
  213. [dir="rtl"] .site-footer__bottom .menu-item:last-child a {
  214. padding-left: 0;
  215. padding-right: 12px;
  216. border-left: none;
  217. }
  218. /**
  219. * When the item is both first and last, :last-child overrides the right padding
  220. * when using [dir="rtl"]. We need this rule to remove the right padding.
  221. */
  222. [dir="rtl"] .site-footer__bottom .menu-item:first-child:last-child a {
  223. padding-right: 0;
  224. }