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