Commit | Line | Data |
---|---|---|
1e7a45c4 VSB |
1 | /** |
2 | * If using a CSS pre-processor, tell it to overwrite this file. If not, place | |
3 | * your custom CSS modifications here. | |
4 | */ | |
5 | ||
5b916836 VSB |
6 | /* Lato font */ |
7 | ||
8 | @font-face { | |
9 | font-family: "Lato"; | |
10 | url("../fonts/Lato-Regular.ttf") format('truetype'); | |
11 | font-weight: 400; | |
12 | font-style: normal; | |
13 | } | |
14 | ||
15 | @font-face { | |
16 | font-family: "Lato"; | |
17 | url('../fonts/Lato-RegularItalic.ttf') format('truetype'); | |
18 | font-weight: 400; | |
19 | font-style: italic; | |
20 | } | |
21 | ||
22 | @font-face { | |
23 | font-family: "Lato"; | |
24 | url('../fonts/Lato-Bold.ttf') format('truetype'); | |
25 | font-weight: 700; | |
26 | font-style: normal; | |
27 | } | |
28 | ||
29 | ||
30 | /* Universal */ | |
31 | ||
359dfa19 | 32 | body { |
5b916836 | 33 | font-family: "Lato", Helvetica, Arial, sans-serif; |
359dfa19 VSB |
34 | margin: 0; |
35 | min-width: 320px; | |
36 | } | |
1e7a45c4 | 37 | |
b4ed810a VSB |
38 | a { transition: 0.3s; } |
39 | ||
1fb61412 | 40 | section { position: relative; } |
bbb30910 AE |
41 | |
42 | /* etcetera */ | |
43 | ||
092ce192 VSB |
44 | .region-content { min-height: 300px; } |
45 | ||
46 | h2.block-title { | |
47 | background: #000; | |
48 | color: #FFF; | |
3cc6e9f4 | 49 | padding: 0.5em; |
092ce192 | 50 | } |
bbb30910 | 51 | |
3cc6e9f4 VSB |
52 | .feed-icons a { |
53 | background: url('../images/rss.svg') top left no-repeat; | |
54 | background-size: contain; | |
3cc6e9f4 VSB |
55 | height: 20px; |
56 | overflow: hidden; | |
1fb61412 VSB |
57 | display: block; |
58 | text-indent: 25px; | |
59 | font-size: 1em; | |
60 | width: fit-content; | |
61 | margin: auto; | |
62 | margin-top: 1em; | |
3cc6e9f4 VSB |
63 | } |
64 | ||
65 | .view-display-id-news_page .feed-icons a { | |
66 | margin-top: -30px; | |
bbb30910 | 67 | } |
3cc6e9f4 | 68 | |
bbb30910 | 69 | .more-link { |
3cc6e9f4 VSB |
70 | border: 1px solid #ddd; |
71 | border-radius: .5em; | |
72 | padding: .5em; | |
73 | text-align: center; | |
74 | width: 50%; | |
75 | margin: 0 auto; | |
bbb30910 AE |
76 | font-weight: bold; |
77 | } | |
78 | ||
3cc6e9f4 VSB |
79 | .more-link:hover { border: 1px solid #000; } |
80 | ||
bbb30910 AE |
81 | .block-views { |
82 | margin-top: 20px; | |
83 | } | |
84 | ||
85 | /* Navbar */ | |
86 | ||
1e7a45c4 VSB |
87 | .navbar-default { |
88 | background: #000; | |
89 | color: #FFF; | |
90 | border: none; | |
91 | border-radius: 0px; | |
92 | box-sizing: content-box; | |
1e7a45c4 | 93 | align-items: center; |
1e7a45c4 VSB |
94 | min-height: 100px; |
95 | } | |
96 | ||
b766958e AE |
97 | .navbar-header, |
98 | #navbar-collapse { | |
1e7a45c4 VSB |
99 | max-width: 1150px; |
100 | padding: 0; | |
101 | margin: 0 auto; | |
bfc9c2d3 VSB |
102 | border: none; |
103 | overflow: hidden; | |
1e7a45c4 VSB |
104 | } |
105 | ||
67263bd5 | 106 | .navbar-default .navbar-toggle { display: none; } |
bfc9c2d3 | 107 | |
1e7a45c4 VSB |
108 | .navbar-header { |
109 | position: absolute; | |
110 | top: 5px; | |
111 | } | |
112 | ||
67263bd5 | 113 | .navbar-brand { display: none; } |
ccc0e97e VSB |
114 | |
115 | #block-ryf-main-menu .navbar-nav { margin-left: 180px; } | |
116 | ||
ee748803 AE |
117 | .navbar-default .navbar-nav > li > a:focus { |
118 | outline: none; | |
119 | } | |
120 | ||
1fb61412 VSB |
121 | .navbar-default .navbar-nav > li > a, |
122 | .navbar-default .navbar-nav > li > a:link, | |
123 | .navbar-default .navbar-nav > li > a:visited { | |
b4ed810a | 124 | color: #FFF; |
0af85f8e | 125 | background: #000; |
b4ed810a | 126 | border-bottom: 2px solid transparent; |
0af85f8e AE |
127 | padding-bottom: 10px; |
128 | margin-bottom: 5px; | |
b4ed810a VSB |
129 | } |
130 | ||
1fb61412 VSB |
131 | .navbar-default .navbar-nav > li.active > a:hover, |
132 | .navbar-default .navbar-nav > li > a:hover { | |
092ce192 | 133 | color: #337AB7; |
ee748803 | 134 | background: #000; |
092ce192 | 135 | border-bottom: 2px solid #337AB7; |
b4ed810a | 136 | padding-bottom: 5px; |
0af85f8e | 137 | margin-bottom: 10px; |
b4ed810a VSB |
138 | } |
139 | ||
1fb61412 VSB |
140 | .navbar-default .navbar-nav > li > a.is-active { |
141 | border-bottom: 2px solid #FFF; | |
142 | background: #000; | |
143 | padding-bottom: 5px; | |
144 | margin-bottom: 10px; | |
145 | } | |
146 | ||
cafdcde8 | 147 | .page-header { |
357e6db1 | 148 | border-bottom: 2px solid #000; |
cafdcde8 VSB |
149 | font-size: 2em; |
150 | } | |
151 | ||
2cbded31 VSB |
152 | .region-header .search-block-form { |
153 | width: 300px; | |
154 | float: right; | |
155 | } | |
156 | ||
1fb61412 VSB |
157 | nav .search-block-form { |
158 | position: absolute; | |
159 | width: 300px; | |
160 | right: 10%; | |
161 | top: 30px; | |
162 | } | |
163 | ||
164 | /* | |
165 | * @media screen and (min-width: 520px) and (max-width: 599px) { | |
166 | * .logo img { margin-left: 50px; } | |
167 | * #block-ryf-main-menu .navbar-nav { margin-left: 230px; } | |
168 | * } | |
169 | * | |
170 | * @media screen and (min-width: 600px) and (max-width: 767px) { | |
171 | * .logo img { margin-left: 100px; } | |
172 | * #block-ryf-main-menu .navbar-nav { margin-left: 280px; } | |
173 | * } | |
174 | * | |
175 | * @media screen and (max-width: 767px) { | |
176 | * .logo img { height: 150px; margin-top: 25px; } | |
177 | * .navbar-default { min-height: 230px; margin-bottom: 30px; } | |
178 | * #block-ryf-main-menu .navbar-nav { max-width: 130px; } | |
179 | * } | |
180 | * | |
181 | */ | |
182 | ||
81342c63 | 183 | @media screen and (min-width: 768px) { |
4f6bd63c VSB |
184 | |
185 | .navbar-default { | |
186 | margin-bottom: 100px; | |
187 | } | |
188 | .navbar-nav { | |
189 | margin-top: 40px; | |
190 | } | |
191 | .region-header .breadcrumb { | |
192 | position: absolute; | |
193 | top: -70px; | |
194 | left: 200px; | |
195 | background: none; | |
196 | } | |
197 | .region-navigation-collapsible .search-block-form { | |
198 | float: right; | |
199 | padding-top: 30px; | |
200 | width: 210px; | |
201 | } | |
81342c63 AE |
202 | } |
203 | ||
5235611e | 204 | |
cd0efca0 AE |
205 | /* Selectors */ |
206 | ||
5235611e | 207 | |
cd0efca0 AE |
208 | @media screen and (min-width: 768px) { |
209 | .form-inline .form-item .select-wrapper { | |
210 | display: block; | |
211 | } | |
212 | .form-inline .form-actions { | |
213 | margin-top: 21px; | |
214 | } | |
215 | } | |
216 | ||
5235611e | 217 | |
16670121 | 218 | /* RYF List */ |
b4ed810a | 219 | |
5235611e | 220 | |
bd3568e1 | 221 | .ryf-list-row { |
aa68642c AE |
222 | padding: 0; |
223 | margin: 0 auto; | |
224 | overflow: auto; | |
225 | } | |
226 | ||
16670121 VSB |
227 | .ryf-list { |
228 | float: left; | |
229 | margin: 0; | |
230 | padding: 0.5em; | |
1fb61412 | 231 | position: relative; |
16670121 VSB |
232 | list-style: none; |
233 | } | |
b4ed810a | 234 | |
16670121 VSB |
235 | .ryf-list article { |
236 | border: 1px solid #ececec; | |
237 | border-radius: 5px; | |
238 | padding: 1em; | |
239 | box-shadow: 2px 2px 5px #ddd; | |
240 | transition: 0.3s; | |
241 | } | |
1e7a45c4 | 242 | |
16670121 VSB |
243 | .ryf-list article:hover { |
244 | box-shadow: 0px 0px 5px #aaa; | |
b4ed810a | 245 | } |
1e7a45c4 | 246 | |
16670121 | 247 | .ryf-list .field--type-image { |
c51f46de | 248 | width: 150px; |
de63e943 | 249 | height: 150px; |
16670121 VSB |
250 | background: #fff; |
251 | border-radius: 10px; | |
252 | display: flex; | |
c51f46de AE |
253 | align-items: center; |
254 | } | |
255 | ||
256 | .ryf-list .field--name-field-image { | |
00e72ccd | 257 | margin: 0 auto 10px auto; |
1e7a45c4 | 258 | } |
b4ed810a | 259 | |
16670121 VSB |
260 | .ryf-list img { |
261 | max-width: 150px; | |
00e72ccd AE |
262 | max-height: 150px; |
263 | object-fit: contain; | |
16670121 VSB |
264 | overflow: hidden; |
265 | } | |
266 | ||
267 | .ryf-list img:hover { | |
268 | border-radius: 0; | |
ccc0e97e | 269 | } |
b4ed810a | 270 | |
ccc0e97e | 271 | .ryf-list h2 { |
b4ed810a VSB |
272 | text-align: left; |
273 | font-size: 1.5em; | |
274 | font-weight: 500; | |
275 | line-height: 1.2em; | |
16670121 VSB |
276 | margin: 0; |
277 | padding: 0; | |
278 | padding-bottom: 1em; | |
b4ed810a VSB |
279 | } |
280 | ||
281 | .ryf-list a { | |
092ce192 | 282 | color: #337AB7; |
b4ed810a VSB |
283 | text-decoration: none; |
284 | } | |
285 | ||
286 | .ryf-list a:hover { | |
287 | color: #000; | |
288 | } | |
1e7a45c4 | 289 | |
ccc0e97e VSB |
290 | .ryf-list .node-readmore, |
291 | .ryf-list .tags, | |
292 | .ryf-list .supplier { | |
b4ed810a VSB |
293 | width: 100%; |
294 | float: left; | |
295 | font-size: 0.9em; | |
296 | border-top: 1px solid #ccc4c4; | |
297 | margin-top: 5px; | |
298 | padding-top: 5px; | |
299 | color: #afadad; | |
300 | } | |
16670121 VSB |
301 | |
302 | .ryf-list .node-readmore { | |
303 | text-align: right; | |
304 | } | |
305 | ||
e3fe14a1 | 306 | @media screen and (min-width: 450px) and (max-width: 659px) { |
bd3568e1 | 307 | .ryf-list-row { |
aa68642c AE |
308 | max-width: 600px; |
309 | } | |
e3fe14a1 AE |
310 | .ryf-list { |
311 | max-width: 300px; | |
312 | float: none; | |
313 | margin: 0 auto; | |
314 | } | |
315 | } | |
316 | @media screen and (min-width: 660px) and (max-width: 767px) { | |
bd3568e1 | 317 | .ryf-list-row { |
aa68642c AE |
318 | max-width: 600px; |
319 | } | |
e3fe14a1 AE |
320 | .ryf-list-row { |
321 | margin: 0 auto; | |
322 | max-width: 660px; | |
323 | } | |
324 | .ryf-list { | |
325 | max-width: 300px; | |
326 | float: left; | |
327 | } | |
b9bef353 | 328 | .auto-clear .col-xs-12:nth-child(odd){clear:left;} |
e3fe14a1 AE |
329 | } |
330 | ||
16670121 | 331 | |
dbd9476a AE |
332 | /* Vendors list */ |
333 | ||
5235611e | 334 | |
bd3568e1 | 335 | .vendors-list-row { |
df611aac | 336 | padding: 10px; |
00227dc4 AE |
337 | margin: 0 auto; |
338 | overflow: auto; | |
339 | } | |
340 | ||
dbd9476a AE |
341 | @media screen and (max-width: 767px) { |
342 | .vendors-list-row { | |
343 | margin: 0px auto; | |
344 | } | |
345 | ||
346 | .vendors-list { | |
347 | margin-bottom: 40px; | |
348 | list-style: none; | |
9203a4fd AE |
349 | |
350 | overflow: auto; | |
dbd9476a AE |
351 | } |
352 | ||
353 | .vendors-list .views-field-field-icon { | |
354 | width: 220px; | |
355 | ||
356 | margin: 0px auto 20px auto; | |
357 | } | |
358 | ||
359 | .vendors-list .views-field-field-icon img { | |
360 | margin: 0 auto; | |
361 | } | |
362 | ||
b766958e AE |
363 | .vendors-list .views-field-name, |
364 | .vendors-list .views-field-description__value { | |
dbd9476a AE |
365 | max-width: 300px; |
366 | margin: 0 auto 10px auto; | |
367 | } | |
368 | ||
369 | .vendors-list .views-field-name { | |
370 | font-weight: bold; | |
371 | font-size: 18px; | |
372 | text-align: center; | |
373 | } | |
374 | ||
375 | } | |
376 | ||
377 | @media screen and (min-width: 768px) { | |
378 | .vendors-list-row { | |
379 | width: 600px; | |
380 | margin: 0px auto; | |
381 | } | |
382 | ||
383 | .vendors-list { | |
384 | list-style: none; | |
385 | clear: left; | |
9203a4fd AE |
386 | |
387 | overflow: auto; | |
dbd9476a AE |
388 | } |
389 | ||
390 | .vendors-list .views-field-field-icon { | |
391 | width: 220px; | |
392 | height: 220px; | |
393 | ||
394 | margin-bottom: 40px; | |
395 | ||
396 | float: left; | |
397 | } | |
398 | ||
399 | .vendors-list .views-field-field-icon img { | |
400 | margin: 0 auto; | |
401 | } | |
402 | ||
b766958e AE |
403 | .vendors-list .views-field-name, |
404 | .vendors-list .views-field-description__value { | |
dbd9476a AE |
405 | margin-left: 300px; |
406 | } | |
407 | ||
408 | .vendors-list .views-field-name { | |
409 | margin-bottom: 10px; | |
410 | font-weight: bold; | |
411 | font-size: 18px; | |
412 | } | |
413 | } | |
414 | ||
415 | ||
f39cdbbc AE |
416 | /* Sidebars */ |
417 | ||
418 | ||
419 | @media screen and (max-width: 767px) { | |
420 | .path-products #block-views-block-categories-categories-block { display: none; } | |
421 | } | |
422 | ||
423 | ||
222cefba AE |
424 | /* Vendor and Category taxonomy term pages */ |
425 | ||
426 | ||
5df3859d AE |
427 | .view-taxonomy-term .view-header .field--name-field-icon img { |
428 | margin: 0 auto; | |
429 | } | |
430 | ||
431 | .view-filters { | |
432 | clear: left; | |
433 | } | |
434 | ||
728032e9 AE |
435 | .view-taxonomy-term .view-header .field--name-field-vendor-support-link, |
436 | .view-taxonomy-term .view-header .field--name-field-vendor-support-email { | |
437 | margin-top: 15px; | |
438 | } | |
439 | ||
222cefba | 440 | @media screen and (max-width: 559px) { |
c71d4a08 | 441 | .view-taxonomy-term.view-display-id-taxonomy_term_vendor .view-header { |
222cefba AE |
442 | margin: 0 auto 40px auto; |
443 | ||
444 | overflow: auto; | |
445 | } | |
446 | ||
447 | .view-taxonomy-term .view-header .field--name-field-icon { | |
448 | margin: 0 auto 20px auto; | |
449 | width: 220px; | |
450 | } | |
451 | ||
728032e9 AE |
452 | .view-taxonomy-term .view-header .field--name-description, |
453 | .view-taxonomy-term .view-header .field--name-field-vendor-support-link, | |
454 | .view-taxonomy-term .view-header .field--name-field-vendor-support-email { | |
222cefba | 455 | max-width: 360px; |
728032e9 | 456 | margin: 15px auto 0 auto; |
222cefba AE |
457 | padding: 0 10px; |
458 | } | |
459 | ||
222cefba AE |
460 | } |
461 | ||
5df3859d | 462 | @media screen and (min-width: 560px) { |
c71d4a08 | 463 | .view-taxonomy-term.view-display-id-taxonomy_term_vendor .view-header { |
222cefba AE |
464 | margin: 0 0 40px 0; |
465 | ||
466 | overflow: auto; | |
467 | } | |
468 | ||
469 | .view-taxonomy-term .view-header .field--name-field-icon { | |
470 | width: 220px; | |
471 | ||
472 | float: left; | |
473 | } | |
474 | ||
728032e9 AE |
475 | .view-taxonomy-term .view-header .field--name-description, |
476 | .view-taxonomy-term .view-header .field--name-field-vendor-support-link, | |
477 | .view-taxonomy-term .view-header .field--name-field-vendor-support-email { | |
222cefba AE |
478 | margin-left: 260px; |
479 | } | |
480 | ||
222cefba AE |
481 | } |
482 | ||
483 | @media screen and (min-width: 768px) { | |
484 | .view-taxonomy-term .view-header { | |
300bf8f5 | 485 | max-width: 700px; |
222cefba AE |
486 | } |
487 | } | |
488 | ||
489 | ||
4d7da022 AE |
490 | /* Product */ |
491 | ||
5235611e | 492 | |
d679ca4e AE |
493 | @media screen and (max-width: 767px) { |
494 | .page-node-type-product .product { | |
495 | max-width: 382px; | |
496 | margin: 0 auto; | |
497 | } | |
498 | } | |
499 | ||
21d9e444 AE |
500 | @media screen and (min-width: 768px) and (max-width: 991px) { |
501 | .page-node-type-product .product { | |
502 | width: 700px; | |
503 | margin: 0 auto; | |
504 | } | |
4d7da022 AE |
505 | } |
506 | ||
21d9e444 AE |
507 | @media screen and (min-width: 992px) { |
508 | .page-node-type-product .product { | |
509 | width: 800px; | |
510 | margin: 0 auto; | |
511 | } | |
512 | } | |
4d7da022 | 513 | |
d679ca4e AE |
514 | .page-node-type-product .product .field--name-field-image { |
515 | padding: 10px; | |
4d7da022 | 516 | |
d679ca4e AE |
517 | border: 1px solid #888; |
518 | border-radius: 10px; | |
519 | } | |
4d7da022 | 520 | |
aa0f7f3d AE |
521 | .page-node-type-product .product .field--name-field-image img { |
522 | margin: 0 auto; | |
523 | } | |
524 | ||
d679ca4e AE |
525 | .page-node-type-product .product .field--name-field-extra-images { |
526 | padding: 5px; | |
4d7da022 | 527 | |
d679ca4e AE |
528 | display: flex; |
529 | align-items: center; | |
4d7da022 | 530 | |
d679ca4e AE |
531 | border: 1px solid #888; |
532 | border-radius: 10px; | |
533 | } | |
4d7da022 | 534 | |
d679ca4e AE |
535 | .page-node-type-product .product .field--name-field-extra-images .field--item { |
536 | display: inline-block; | |
537 | margin: auto; | |
538 | padding: 5px; | |
539 | } | |
4d7da022 | 540 | |
b766958e AE |
541 | .page-node-type-product .product .field--name-field-categories, |
542 | .page-node-type-product .product .field--name-field-vendor { | |
d679ca4e AE |
543 | margin: 10px 10px 20px 0px; |
544 | padding: 10px; | |
545 | border: 1px solid #888; | |
546 | border-radius: 10px; | |
547 | } | |
548 | ||
433e107d AE |
549 | .page-node-type-product .product .field--name-field-categories .field--item { |
550 | display: list-item; | |
551 | list-style: circle; | |
552 | margin-left: 15px; | |
553 | } | |
554 | ||
28ff698e AE |
555 | /* product page colors */ |
556 | .page-node-type-product .product .field--name-field-image { | |
eee49201 | 557 | background-color: #fff; |
28ff698e AE |
558 | border-color: #aaa; |
559 | } | |
560 | .page-node-type-product .product .field--name-field-extra-images { | |
ebebd91d | 561 | background-color: #f3f3f3; |
28ff698e AE |
562 | border-color: #aaa; |
563 | } | |
564 | .page-node-type-product .product .field--name-field-categories { | |
8be2a870 AE |
565 | background-color: #def; |
566 | border-color: #8ad; | |
28ff698e AE |
567 | } |
568 | .page-node-type-product .product .field--name-field-vendor { | |
8be2a870 AE |
569 | background-color: #dfe; |
570 | border-color: #8da; | |
28ff698e AE |
571 | } |
572 | ||
d679ca4e AE |
573 | @media screen and (max-width: 767px) { |
574 | .page-node-type-product .product .field--name-field-extra-images { | |
575 | margin: 10px auto 0px auto; | |
21d9e444 | 576 | } |
4d7da022 | 577 | |
b766958e AE |
578 | .page-node-type-product .product .field--name-body, |
579 | .page-node-type-product .product .field--name-field-vendor-product-link, | |
580 | .page-node-type-product .product .field--name-field-certification-details, | |
581 | .page-node-type-product .product .field--name-field-certification-date, | |
582 | .page-node-type-product .product .field--name-field-source-code-links { | |
21d9e444 AE |
583 | margin-bottom: 20px; |
584 | } | |
4d7da022 | 585 | |
b766958e AE |
586 | .page-node-type-product .product .field--name-field-categories, |
587 | .page-node-type-product .product .field--name-field-vendor { | |
9b263139 | 588 | margin-bottom: 0px; |
21d9e444 | 589 | float: left; |
21d9e444 | 590 | } |
4d7da022 | 591 | |
21d9e444 | 592 | .page-node-type-product .product .field--name-body { |
9b263139 | 593 | padding-top: 20px; |
21d9e444 AE |
594 | clear: both; |
595 | } | |
4d7da022 AE |
596 | } |
597 | ||
21d9e444 AE |
598 | |
599 | @media screen and (min-width: 768px) { | |
600 | .page-node-type-product .product .field--name-field-image { | |
601 | width: 382px; | |
21d9e444 | 602 | float: left; |
21d9e444 AE |
603 | } |
604 | ||
605 | .page-node-type-product .product .field--name-field-extra-images { | |
606 | float: left; | |
607 | clear: left; | |
608 | ||
609 | width: 382px; | |
21d9e444 | 610 | margin-top: 10px; |
21d9e444 AE |
611 | } |
612 | ||
b766958e AE |
613 | .page-node-type-product .product .field--name-body, |
614 | .page-node-type-product .product .field--name-field-vendor-product-link, | |
615 | .page-node-type-product .product .field--name-field-certification-details, | |
616 | .page-node-type-product .product .field--name-field-certification-date, | |
617 | .page-node-type-product .product .field--name-field-source-code-links { | |
21d9e444 AE |
618 | margin-left: 400px; |
619 | margin-bottom: 20px; | |
620 | } | |
621 | ||
622 | .page-node-type-product .product .field--name-field-categories { | |
623 | float: left; | |
624 | clear: left; | |
625 | } | |
626 | ||
627 | .page-node-type-product .product .field--name-field-vendor { | |
628 | float: left; | |
629 | } | |
630 | ||
4d7da022 AE |
631 | } |
632 | ||
633 | ||
9f8b2429 AE |
634 | /* News and Product Announcements */ |
635 | ||
636 | ||
637 | .page-node-type-product-announcement .page-header, | |
fa74cee2 | 638 | .page-node-type-product-announcement .tabs--primary, |
9f8b2429 AE |
639 | .page-node-type-product-announcement .region-content, |
640 | .page-node-type-general-news-item .page-header, | |
fa74cee2 | 641 | .page-node-type-general-news-item .tabs--primary, |
dca6d2ea AE |
642 | .page-node-type-general-news-item .region-content, |
643 | .page-node-type-page .page-header, | |
fa74cee2 | 644 | .page-node-type-page .tabs--primary, |
dca6d2ea | 645 | .page-node-type-page .region-content, |
9f8b2429 | 646 | .path-news .page-header, |
fa74cee2 | 647 | .path-news .tabs--primary, |
9f8b2429 AE |
648 | .path-news .region-content { |
649 | max-width: 800px; | |
650 | margin: 0 auto; | |
651 | } | |
652 | ||
8499d9cd AE |
653 | /* don't apply above max-width rule to main page */ |
654 | .path-frontpage .page-header, | |
fa74cee2 | 655 | .path-frontpage .tabs--primary, |
8499d9cd AE |
656 | .path-frontpage .region-content { |
657 | max-width: 2000px; /* high number beyond the max */ | |
658 | } | |
659 | ||
dca6d2ea AE |
660 | .page-node-type-page .page-header { |
661 | margin-bottom: 20px; | |
662 | } | |
663 | ||
e9d294a4 AE |
664 | .path-news h2, |
665 | .block-views-blocknews-news-block article h2 { | |
9f8b2429 AE |
666 | font-size: 25px; |
667 | } | |
668 | ||
669 | .page-node-type-product-announcement .author, | |
670 | .page-node-type-general-news-item .author { | |
671 | margin: 10px 0 20px 0; | |
672 | font-style: oblique; | |
673 | } | |
674 | ||
675 | .page-node-type-product-announcement .field--name-body, | |
676 | .page-node-type-general-news-item .field--name-body { | |
677 | margin-bottom: 20px; | |
678 | } | |
679 | ||
680 | .page-node-type-product-announcement .field--name-field-external-news-link, | |
681 | .page-node-type-general-news-item .field--name-field-external-news-link { | |
682 | margin-bottom: 20px; | |
683 | } | |
684 | ||
685 | .page-node-type-product-announcement .field--name-field-vendor-page, | |
686 | .page-node-type-product-announcement .field--name-field-announced-products { | |
687 | margin-bottom: 20px; | |
688 | } | |
689 | ||
690 | ||
41399eb4 AE |
691 | /* Search Results */ |
692 | ||
693 | ||
694 | @media screen and (max-width: 600px) { | |
f12cbe51 | 695 | .path-search .region-content > ol { |
41399eb4 AE |
696 | width: 300px; |
697 | } | |
698 | } | |
699 | @media screen and (min-width: 601px) and (max-width 1000px) { | |
f12cbe51 | 700 | .path-search .region-content > ol { |
41399eb4 AE |
701 | width: 560px; |
702 | } | |
703 | } | |
704 | @media screen and (min-width: 1001px) { | |
f12cbe51 | 705 | .path-search .region-content > ol { |
41399eb4 AE |
706 | width: 900px; |
707 | } | |
708 | } | |
709 | ||
f12cbe51 | 710 | .path-search .region-content > ol { |
41399eb4 AE |
711 | margin: 0 auto; |
712 | padding-left: 0; | |
713 | overflow: auto; | |
714 | } | |
715 | ||
f12cbe51 | 716 | .path-search .region-content > ol li { |
41399eb4 AE |
717 | width: 280px; |
718 | height: 280px; | |
719 | margin: 0px auto; | |
720 | padding: 10px; | |
721 | ||
722 | float: left; | |
723 | ||
724 | list-style: none; | |
725 | overflow: hidden; | |
726 | } | |
727 | ||
f12cbe51 | 728 | .path-search .region-content > ol li h3 { |
41399eb4 AE |
729 | text-align: center; |
730 | } | |
731 | ||
f12cbe51 | 732 | .path-search .region-content > ol li .search-image { |
41399eb4 AE |
733 | width: 100px; |
734 | height: 100px; | |
735 | ||
736 | margin: 0 auto; | |
737 | ||
738 | display: flex; | |
739 | align-items: center; | |
740 | } | |
741 | ||
f12cbe51 | 742 | .path-search .region-content > ol li img { |
41399eb4 AE |
743 | } |
744 | ||
745 | ||
16670121 VSB |
746 | /* Footer */ |
747 | ||
5235611e | 748 | |
16670121 VSB |
749 | .footer { |
750 | background: #333; | |
751 | color: #FFF; | |
752 | } | |
753 | ||
06d8ab9f | 754 | /* full page width for footer */ |
c900f9d4 | 755 | .footer { |
c900f9d4 AE |
756 | width: 100%; |
757 | } | |
758 | ||
092ce192 | 759 | .footer a { color: #337AB7; } |
16670121 VSB |
760 | |
761 | .footer a:hover { color: #FFF; } | |
762 | ||
763 | .footer h4 { font-weight: bold; } | |
764 | ||
765 | .footer .copyright { font-size: 0.9em; text-align: center; width: 80%; margin-top: 1em; border-top: 1px solid #111; padding: 1em; } | |
766 | ||
0bd91ac3 AE |
767 | #fsf-logo-footer { margin-bottom: 10px; } |
768 | ||
18f8d3b1 AE |
769 | @media print { #fsf-logo-footer { filter: invert(100%) } } |
770 |