| 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 | |
| 6 | /* Lato font */ |
| 7 | |
| 8 | @font-face { |
| 9 | font-family: "Lato"; |
| 10 | src: 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 | src: 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 | src: url('../fonts/Lato-Bold.ttf') format('truetype'); |
| 25 | font-weight: 700; |
| 26 | font-style: normal; |
| 27 | } |
| 28 | |
| 29 | |
| 30 | /* Universal */ |
| 31 | |
| 32 | body { |
| 33 | font-family: "Lato", Helvetica, Arial, sans-serif; |
| 34 | margin: 0; |
| 35 | min-width: 320px; |
| 36 | } |
| 37 | |
| 38 | a { transition: 0.3s; } |
| 39 | |
| 40 | section { position: relative; } |
| 41 | |
| 42 | /* etcetera */ |
| 43 | |
| 44 | .visually-hidden.focusable:focus { |
| 45 | position: absolute !important; |
| 46 | background: #000; |
| 47 | color: #FFF; |
| 48 | padding: 0.5em; |
| 49 | z-index: 9999; |
| 50 | } |
| 51 | |
| 52 | .main-container { min-height: 50vh; } |
| 53 | |
| 54 | h2.block-title { |
| 55 | background: #337AB7; |
| 56 | color: #FFF; |
| 57 | padding: 0.5em; |
| 58 | } |
| 59 | |
| 60 | |
| 61 | |
| 62 | h2.block-title a:visited, |
| 63 | h2.block-title a:focus, |
| 64 | h2.block-title a:active, |
| 65 | h2.block-title a { |
| 66 | color: #FFF; |
| 67 | } |
| 68 | |
| 69 | h2.block-title a:hover { |
| 70 | color: #FFF; |
| 71 | } |
| 72 | |
| 73 | .feed-icons a { |
| 74 | background: url('../images/rss.svg') top left no-repeat; |
| 75 | background-size: contain; |
| 76 | height: 20px; |
| 77 | overflow: hidden; |
| 78 | display: block; |
| 79 | text-indent: 25px; |
| 80 | font-size: 1em; |
| 81 | width: fit-content; |
| 82 | margin-top: 1em; |
| 83 | float: right; |
| 84 | } |
| 85 | |
| 86 | .view-display-id-news_page .feed-icons a { |
| 87 | margin-top: -30px; |
| 88 | } |
| 89 | |
| 90 | .more-link { |
| 91 | border: 1px solid #ddd; |
| 92 | border-radius: .5em; |
| 93 | padding: .5em; |
| 94 | text-align: center; |
| 95 | width: 50%; |
| 96 | margin: 0 auto; |
| 97 | font-weight: bold; |
| 98 | margin-top: 2em; |
| 99 | } |
| 100 | |
| 101 | .more-link:hover { |
| 102 | background: #EEE; |
| 103 | color: #000; |
| 104 | } |
| 105 | |
| 106 | .block-views { |
| 107 | margin-top: 20px; |
| 108 | } |
| 109 | |
| 110 | /* Navbar */ |
| 111 | |
| 112 | .navbar-default { |
| 113 | background: #000; |
| 114 | color: #FFF; |
| 115 | border: none; |
| 116 | border-radius: 0px; |
| 117 | box-sizing: content-box; |
| 118 | align-items: center; |
| 119 | min-height: 100px; |
| 120 | } |
| 121 | |
| 122 | .navbar-header, |
| 123 | #navbar-collapse { |
| 124 | max-width: 1150px; |
| 125 | padding: 0; |
| 126 | margin: 0 auto; |
| 127 | border: none; |
| 128 | overflow: hidden; |
| 129 | } |
| 130 | |
| 131 | .navbar-default .navbar-toggle { display: none; } |
| 132 | |
| 133 | .navbar-header { |
| 134 | position: absolute; |
| 135 | top: 5px; |
| 136 | } |
| 137 | |
| 138 | .navbar-brand { display: none; } |
| 139 | |
| 140 | #block-ryf-main-menu .navbar-nav { margin-left: 195px; } |
| 141 | |
| 142 | .navbar-default .navbar-nav > li > a:focus { |
| 143 | outline: none; |
| 144 | } |
| 145 | |
| 146 | .navbar-default .navbar-nav > li > a, |
| 147 | .navbar-default .navbar-nav > li > a:link, |
| 148 | .navbar-default .navbar-nav > li > a:visited { |
| 149 | color: #FFF; |
| 150 | background: #000; |
| 151 | border-bottom: 2px solid transparent; |
| 152 | padding-bottom: 10px; |
| 153 | margin-bottom: 5px; |
| 154 | } |
| 155 | |
| 156 | .navbar-default .navbar-nav > li > a:focus, |
| 157 | .navbar-default .navbar-nav > li.active > a:hover, |
| 158 | .navbar-default .navbar-nav > li > a:hover { |
| 159 | color: #edd400; |
| 160 | background: #000; |
| 161 | border-bottom: 2px solid #edd400; |
| 162 | padding-bottom: 5px; |
| 163 | margin-bottom: 10px; |
| 164 | } |
| 165 | |
| 166 | .navbar-default .navbar-nav > li > a.is-active { |
| 167 | border-bottom: 2px solid #FFF; |
| 168 | background: #000; |
| 169 | padding-bottom: 5px; |
| 170 | margin-bottom: 10px; |
| 171 | } |
| 172 | |
| 173 | .page-header { |
| 174 | border-bottom: 2px solid #000; |
| 175 | font-size: 2em; |
| 176 | } |
| 177 | |
| 178 | .region-header .search-block-form { |
| 179 | width: 300px; |
| 180 | float: right; |
| 181 | } |
| 182 | |
| 183 | nav .search-block-form { |
| 184 | position: absolute; |
| 185 | width: 300px; |
| 186 | right: 10%; |
| 187 | top: 30px; |
| 188 | } |
| 189 | |
| 190 | @media screen and (max-width: 767px) { |
| 191 | #block-ryf-main-menu .navbar-nav { max-width: 130px; } |
| 192 | } |
| 193 | |
| 194 | .region-navigation-collapsible .search-block-form { |
| 195 | float: right; |
| 196 | width: 210px; |
| 197 | } |
| 198 | |
| 199 | @media screen and (min-width: 768px) { |
| 200 | |
| 201 | .navbar-default { |
| 202 | margin-bottom: 100px; |
| 203 | } |
| 204 | .navbar-nav { |
| 205 | margin-top: 40px; |
| 206 | } |
| 207 | .region-header .breadcrumb { |
| 208 | position: absolute; |
| 209 | top: -70px; |
| 210 | left: 200px; |
| 211 | background: none; |
| 212 | } |
| 213 | .region-navigation-collapsible .search-block-form { |
| 214 | padding-top: 50px; |
| 215 | } |
| 216 | } |
| 217 | |
| 218 | .maintenance-page #navbar { |
| 219 | margin-bottom: 120px; |
| 220 | } |
| 221 | |
| 222 | |
| 223 | /* Selectors */ |
| 224 | |
| 225 | |
| 226 | @media screen and (min-width: 768px) { |
| 227 | .form-inline .form-item .select-wrapper { |
| 228 | display: block; |
| 229 | } |
| 230 | .form-inline .form-actions { |
| 231 | margin-top: 21px; |
| 232 | } |
| 233 | } |
| 234 | |
| 235 | /* News */ |
| 236 | |
| 237 | .view-news article { |
| 238 | padding: 0.5em; |
| 239 | margin: 0 10%; |
| 240 | } |
| 241 | |
| 242 | .view-news p { |
| 243 | line-height: 1.5em; |
| 244 | font-size: 1.1em; |
| 245 | } |
| 246 | |
| 247 | .view-news .node-readmore { |
| 248 | padding: 0.5em 1em; |
| 249 | border: 1px solid #DDD; |
| 250 | border-radius: 0.5em; |
| 251 | float: right; |
| 252 | } |
| 253 | |
| 254 | .view-news .node-readmore:hover { |
| 255 | background: #EEE; |
| 256 | color: #000; |
| 257 | } |
| 258 | |
| 259 | .view-news footer { |
| 260 | color: #999; |
| 261 | padding: 0.5em; |
| 262 | text-align: right; |
| 263 | } |
| 264 | |
| 265 | |
| 266 | /* RYF List */ |
| 267 | |
| 268 | |
| 269 | .ryf-list-row { |
| 270 | padding: 0; |
| 271 | margin: 0 auto; |
| 272 | overflow: auto; |
| 273 | } |
| 274 | |
| 275 | .ryf-list { |
| 276 | float: left; |
| 277 | margin: 0; |
| 278 | padding: 0.5em; |
| 279 | position: relative; |
| 280 | list-style: none; |
| 281 | } |
| 282 | |
| 283 | .ryf-list article { |
| 284 | border: 1px solid #bbb; |
| 285 | border-radius: 5px; |
| 286 | padding: 1em; |
| 287 | box-shadow: 2px 2px 5px #ddd; |
| 288 | transition: 0.3s; |
| 289 | } |
| 290 | |
| 291 | .ryf-list article:hover { |
| 292 | box-shadow: 0px 0px 5px #aaa; |
| 293 | } |
| 294 | |
| 295 | .ryf-list .field--type-image { |
| 296 | border: 1px solid #ddd; |
| 297 | border-left: 0px; |
| 298 | border-right: 0px; |
| 299 | background: #fff; |
| 300 | height: 150px; |
| 301 | width: 100%; |
| 302 | overflow: hidden; |
| 303 | border-radius: 5px; |
| 304 | position: relative; |
| 305 | text-align: center; |
| 306 | } |
| 307 | |
| 308 | .ryf-list img { |
| 309 | width: auto; |
| 310 | height: 100%; |
| 311 | margin: auto 0; |
| 312 | display: inline-block; |
| 313 | } |
| 314 | |
| 315 | .ryf-list h2 { |
| 316 | text-align: left; |
| 317 | font-size: 1.5em; |
| 318 | line-height: 1.2em; |
| 319 | margin: 0; |
| 320 | padding: 0; |
| 321 | } |
| 322 | |
| 323 | .ryf-list .field--name-body { |
| 324 | display: block; |
| 325 | border-radius: 5px; |
| 326 | width: 100%; |
| 327 | height: 0px; |
| 328 | margin-top: 0px; |
| 329 | z-index: 99; |
| 330 | position: relative; |
| 331 | background: #00000088; |
| 332 | color: white; |
| 333 | padding: 0em; |
| 334 | transition: 0.2s; |
| 335 | cursor: default; |
| 336 | overflow: hidden; |
| 337 | } |
| 338 | |
| 339 | .ryf-list:hover .field--name-body { |
| 340 | height: 100px; |
| 341 | margin-top: -100px; |
| 342 | z-index: 99; |
| 343 | position: relative; |
| 344 | padding: 0.3em; |
| 345 | transition: 0.3s; |
| 346 | } |
| 347 | |
| 348 | .ryf-list a { |
| 349 | color: #337AB7; |
| 350 | } |
| 351 | |
| 352 | .ryf-list a:hover { |
| 353 | color: #000; |
| 354 | } |
| 355 | |
| 356 | .ryf-list .list-inline li { |
| 357 | font-size: 0.9em; |
| 358 | border: 1px solid #ddd; |
| 359 | width: auto; |
| 360 | border-radius: 0.5em; |
| 361 | padding: 0.3em 0.5em; |
| 362 | margin-top: 5px; |
| 363 | float: right; |
| 364 | } |
| 365 | |
| 366 | .ryf-list h2 a { |
| 367 | display: inline-block; |
| 368 | height: 55px; |
| 369 | overflow: hidden; |
| 370 | position: relative; |
| 371 | } |
| 372 | |
| 373 | .ryf-list h2 a:after { |
| 374 | content: '(...)'; |
| 375 | float: right; |
| 376 | display: block; |
| 377 | position: absolute; |
| 378 | bottom:5px; |
| 379 | right: 2px; |
| 380 | font-size: 0.8em; |
| 381 | } |
| 382 | |
| 383 | .ryf-list .list-inline li:hover { |
| 384 | background: #eee; |
| 385 | } |
| 386 | |
| 387 | @media screen and (min-width: 450px) and (max-width: 659px) { |
| 388 | .ryf-list-row { |
| 389 | max-width: 600px; |
| 390 | } |
| 391 | .ryf-list { |
| 392 | max-width: 300px; |
| 393 | float: none; |
| 394 | margin: 0 auto; |
| 395 | } |
| 396 | } |
| 397 | @media screen and (min-width: 660px) and (max-width: 767px) { |
| 398 | .ryf-list-row { |
| 399 | margin: 0 auto; |
| 400 | max-width: 660px; |
| 401 | } |
| 402 | .ryf-list { |
| 403 | max-width: 300px; |
| 404 | float: left; |
| 405 | } |
| 406 | .auto-clear .col-xs-12:nth-child(odd){clear:left;} |
| 407 | } |
| 408 | |
| 409 | @media screen and (min-width: 55em) { |
| 410 | |
| 411 | .ryf-list article { |
| 412 | min-height: 270px |
| 413 | } |
| 414 | |
| 415 | } |
| 416 | |
| 417 | |
| 418 | /* Vendors list */ |
| 419 | |
| 420 | |
| 421 | .vendors-list-row { |
| 422 | padding: 10px; |
| 423 | margin: 0 auto; |
| 424 | overflow: auto; |
| 425 | } |
| 426 | |
| 427 | .vendors-list { |
| 428 | margin-bottom: 40px; |
| 429 | list-style: none; |
| 430 | |
| 431 | overflow: auto; |
| 432 | } |
| 433 | |
| 434 | .vendors-list .views-field-field-icon { |
| 435 | width: 220px; |
| 436 | height: 220px; |
| 437 | |
| 438 | display: flex; |
| 439 | align-items: center; |
| 440 | |
| 441 | margin: 0px auto 20px auto; |
| 442 | } |
| 443 | |
| 444 | .vendors-list .views-field-field-icon img { |
| 445 | margin: 0 auto; |
| 446 | } |
| 447 | |
| 448 | .vendors-list .views-field-name, |
| 449 | .vendors-list .views-field-field-description-summary, |
| 450 | .vendors-list .views-field-description__value { |
| 451 | max-width: 300px; |
| 452 | margin: 0 auto 10px auto; |
| 453 | } |
| 454 | |
| 455 | .vendors-list .views-field-name { |
| 456 | font-weight: bold; |
| 457 | font-size: 18px; |
| 458 | text-align: center; |
| 459 | } |
| 460 | |
| 461 | |
| 462 | /* Sidebars */ |
| 463 | |
| 464 | |
| 465 | @media screen and (max-width: 767px) { |
| 466 | .path-products #block-views-block-categories-categories-block { display: none; } |
| 467 | } |
| 468 | |
| 469 | |
| 470 | /* Vendor and Category taxonomy term pages */ |
| 471 | |
| 472 | |
| 473 | .view-taxonomy-term .view-header .field--name-field-icon img { |
| 474 | margin: 0 auto; |
| 475 | } |
| 476 | |
| 477 | .view-filters { |
| 478 | clear: left; |
| 479 | } |
| 480 | |
| 481 | .view-taxonomy-term .view-header .field--name-field-vendor-support-link, |
| 482 | .view-taxonomy-term .view-header .field--name-field-vendor-support-email { |
| 483 | margin-top: 15px; |
| 484 | } |
| 485 | |
| 486 | @media screen and (max-width: 559px) { |
| 487 | .view-taxonomy-term.view-display-id-taxonomy_term_vendor .view-header { |
| 488 | margin: 0 auto 40px auto; |
| 489 | overflow: auto; |
| 490 | } |
| 491 | |
| 492 | .view-taxonomy-term .view-header .field--name-field-icon { |
| 493 | margin: 0 auto 20px auto; |
| 494 | width: 220px; |
| 495 | } |
| 496 | |
| 497 | .view-taxonomy-term .view-header .field--name-description, |
| 498 | .view-taxonomy-term .view-header .field--name-field-description-summary, |
| 499 | .view-taxonomy-term .view-header .field--name-field-vendor-website, |
| 500 | .view-taxonomy-term .view-header .field--name-field-vendor-support-link, |
| 501 | .view-taxonomy-term .view-header .field--name-field-vendor-support-email { |
| 502 | max-width: 360px; |
| 503 | margin: 15px auto 0 auto; |
| 504 | padding: 0 10px; |
| 505 | } |
| 506 | |
| 507 | } |
| 508 | |
| 509 | @media screen and (min-width: 560px) { |
| 510 | .view-taxonomy-term.view-display-id-taxonomy_term_vendor .view-header { |
| 511 | margin: 0 0 40px 0; |
| 512 | overflow: auto; |
| 513 | } |
| 514 | |
| 515 | .view-taxonomy-term .view-header .field--name-field-icon { |
| 516 | width: 220px; |
| 517 | float: left; |
| 518 | } |
| 519 | |
| 520 | .view-taxonomy-term .view-header .field--name-description, |
| 521 | .view-taxonomy-term .view-header .field--name-field-description-summary, |
| 522 | .view-taxonomy-term .view-header .field--name-field-vendor-website, |
| 523 | .view-taxonomy-term .view-header .field--name-field-vendor-support-link, |
| 524 | .view-taxonomy-term .view-header .field--name-field-vendor-support-email { |
| 525 | margin-left: 260px; |
| 526 | } |
| 527 | |
| 528 | } |
| 529 | |
| 530 | @media screen and (min-width: 768px) { |
| 531 | .view-taxonomy-term .view-header { |
| 532 | max-width: 700px; |
| 533 | } |
| 534 | } |
| 535 | |
| 536 | |
| 537 | /* Product */ |
| 538 | |
| 539 | |
| 540 | @media screen and (max-width: 767px) { |
| 541 | .page-node-type-product .product { |
| 542 | max-width: 382px; |
| 543 | margin: 0 auto; |
| 544 | } |
| 545 | } |
| 546 | |
| 547 | @media screen and (min-width: 768px) and (max-width: 991px) { |
| 548 | .page-node-type-product .product { |
| 549 | width: 700px; |
| 550 | margin: 0 auto; |
| 551 | } |
| 552 | } |
| 553 | |
| 554 | @media screen and (min-width: 992px) { |
| 555 | .page-node-type-product .product { |
| 556 | width: 800px; |
| 557 | margin: 0 auto; |
| 558 | } |
| 559 | } |
| 560 | |
| 561 | .page-node-type-product .product .field--name-field-image { |
| 562 | padding: 10px; |
| 563 | |
| 564 | border: 1px solid #888; |
| 565 | border-radius: 10px; |
| 566 | } |
| 567 | |
| 568 | .page-node-type-product .product .field--name-field-image img { |
| 569 | margin: 0 auto; |
| 570 | } |
| 571 | |
| 572 | .page-node-type-product .product .field--name-field-extra-images { |
| 573 | padding: 0 11px; |
| 574 | display: flex; |
| 575 | align-items: center; |
| 576 | } |
| 577 | |
| 578 | .page-node-type-product .product .field--name-field-extra-images .field--item { |
| 579 | display: inline-block; |
| 580 | margin-right: 15px; |
| 581 | padding: 5px; |
| 582 | } |
| 583 | .page-node-type-product .product .field--name-field-extra-images .field--item:last-child { |
| 584 | margin-right: 0; |
| 585 | } |
| 586 | |
| 587 | .page-node-type-product .product .field--name-field-categories, |
| 588 | .page-node-type-product .product .field--name-field-vendor { |
| 589 | margin: 10px 10px 20px 0px; |
| 590 | padding: 10px; |
| 591 | } |
| 592 | |
| 593 | .page-node-type-product .product .field--name-field-categories .field--item { |
| 594 | display: list-item; |
| 595 | list-style: circle; |
| 596 | margin-left: 15px; |
| 597 | } |
| 598 | |
| 599 | /* Mostly from Bootstrap 3 button CSS */ |
| 600 | .page-node-type-product .product .field--name-field-vendor-product-link a { |
| 601 | color: #fff; |
| 602 | background-color: #337ab7; |
| 603 | border-color: #2e6da4; |
| 604 | display: inline-block; |
| 605 | margin-bottom: 0; |
| 606 | font-weight: normal; |
| 607 | text-align: center; |
| 608 | white-space: nowrap; |
| 609 | vertical-align: middle; |
| 610 | -ms-touch-action: manipulation; |
| 611 | touch-action: manipulation; |
| 612 | cursor: pointer; |
| 613 | background-image: none; |
| 614 | border: 1px solid transparent; |
| 615 | padding: 6px 12px; |
| 616 | font-size: 14px; |
| 617 | line-height: 1.42857143; |
| 618 | border-radius: 4px; |
| 619 | -webkit-user-select: none; |
| 620 | -moz-user-select: none; |
| 621 | -ms-user-select: none; |
| 622 | user-select: none; |
| 623 | text-decoration: none; |
| 624 | } |
| 625 | |
| 626 | #block-views-block-categories-categories-block ul { |
| 627 | margin: 0; padding: 0 10px; |
| 628 | list-style: none; |
| 629 | } |
| 630 | |
| 631 | #block-views-block-categories-categories-block li { |
| 632 | padding: 5px 10px; |
| 633 | border: 1px solid #DDD; |
| 634 | border-radius: 5px; |
| 635 | list-style: none; |
| 636 | margin: 5px 0; |
| 637 | } |
| 638 | |
| 639 | #block-views-block-categories-categories-block li:hover { |
| 640 | background: #EEE; |
| 641 | color: #000; |
| 642 | } |
| 643 | |
| 644 | #block-views-block-categories-categories-block a { |
| 645 | width: 100%; |
| 646 | display: block; |
| 647 | } |
| 648 | |
| 649 | /* product page colors */ |
| 650 | .page-node-type-product .product .field--name-field-image { |
| 651 | background-color: #fff; |
| 652 | border-color: #aaa; |
| 653 | } |
| 654 | |
| 655 | @media screen and (max-width: 767px) { |
| 656 | .page-node-type-product .product .field--name-field-extra-images { |
| 657 | margin: 10px auto 0px auto; |
| 658 | } |
| 659 | |
| 660 | .page-node-type-product .product .field--name-body, |
| 661 | .page-node-type-product .product .field--name-field-vendor-product-link, |
| 662 | .page-node-type-product .product .field--name-field-certification-details, |
| 663 | .page-node-type-product .product .field--name-field-certification-date, |
| 664 | .page-node-type-product .product .field--name-field-source-code-links { |
| 665 | margin-bottom: 20px; |
| 666 | } |
| 667 | |
| 668 | .page-node-type-product .product .field--name-field-categories, |
| 669 | .page-node-type-product .product .field--name-field-vendor { |
| 670 | margin-bottom: 0px; |
| 671 | float: left; |
| 672 | } |
| 673 | |
| 674 | .page-node-type-product .product .field--name-body { |
| 675 | padding-top: 20px; |
| 676 | clear: both; |
| 677 | } |
| 678 | } |
| 679 | |
| 680 | |
| 681 | @media screen and (min-width: 768px) { |
| 682 | .page-node-type-product .product .field--name-field-image { |
| 683 | width: 382px; |
| 684 | float: left; |
| 685 | } |
| 686 | |
| 687 | .page-node-type-product .product .field--name-field-extra-images { |
| 688 | float: left; |
| 689 | clear: left; |
| 690 | width: 382px; |
| 691 | margin-top: 10px; |
| 692 | } |
| 693 | |
| 694 | .page-node-type-product .product .field--name-body, |
| 695 | .page-node-type-product .product .field--name-field-vendor-product-link, |
| 696 | .page-node-type-product .product .field--name-field-certification-details, |
| 697 | .page-node-type-product .product .field--name-field-certification-date, |
| 698 | .page-node-type-product .product .field--name-field-source-code-links { |
| 699 | margin-left: 400px; |
| 700 | margin-bottom: 20px; |
| 701 | } |
| 702 | |
| 703 | .page-node-type-product .product .field--name-field-categories { |
| 704 | float: left; |
| 705 | clear: left; |
| 706 | } |
| 707 | |
| 708 | .page-node-type-product .product .field--name-field-vendor { |
| 709 | float: left; |
| 710 | } |
| 711 | |
| 712 | } |
| 713 | |
| 714 | |
| 715 | /* News and Product Announcements */ |
| 716 | |
| 717 | |
| 718 | .page-node-type-product-announcement .page-header, |
| 719 | .page-node-type-product-announcement .tabs--primary, |
| 720 | .page-node-type-product-announcement .region-content, |
| 721 | .page-node-type-general-news-item .page-header, |
| 722 | .page-node-type-general-news-item .tabs--primary, |
| 723 | .page-node-type-general-news-item .region-content, |
| 724 | .page-node-type-page .page-header, |
| 725 | .page-node-type-page .tabs--primary, |
| 726 | .page-node-type-page .region-content, |
| 727 | .path-news .page-header, |
| 728 | .path-news .tabs--primary, |
| 729 | .path-news .region-content { |
| 730 | max-width: 800px; |
| 731 | margin: 0 auto; |
| 732 | } |
| 733 | |
| 734 | /* don't apply above max-width rule to main page */ |
| 735 | .path-frontpage .page-header, |
| 736 | .path-frontpage .tabs--primary, |
| 737 | .path-frontpage .region-content { |
| 738 | max-width: 2000px; /* high number beyond the max */ |
| 739 | } |
| 740 | |
| 741 | .page-node-type-page .page-header { |
| 742 | margin-bottom: 20px; |
| 743 | } |
| 744 | |
| 745 | .path-news h2, |
| 746 | .block-views-blocknews-news-block article h2 { |
| 747 | font-size: 25px; |
| 748 | } |
| 749 | |
| 750 | .page-node-type-product-announcement .author, |
| 751 | .page-node-type-general-news-item .author { |
| 752 | margin: 10px 0 20px 0; |
| 753 | font-style: oblique; |
| 754 | } |
| 755 | |
| 756 | .page-node-type-product-announcement .field--name-body, |
| 757 | .page-node-type-general-news-item .field--name-body { |
| 758 | margin-bottom: 20px; |
| 759 | } |
| 760 | |
| 761 | .page-node-type-product-announcement .field--name-field-external-news-link, |
| 762 | .page-node-type-general-news-item .field--name-field-external-news-link { |
| 763 | margin-bottom: 20px; |
| 764 | } |
| 765 | |
| 766 | .page-node-type-product-announcement .field--name-field-vendor-page, |
| 767 | .page-node-type-product-announcement .field--name-field-announced-products { |
| 768 | margin-bottom: 20px; |
| 769 | } |
| 770 | |
| 771 | |
| 772 | /* Search Results */ |
| 773 | |
| 774 | |
| 775 | @media screen and (max-width: 600px) { |
| 776 | .path-search .region-content > ol { |
| 777 | width: 300px; |
| 778 | } |
| 779 | } |
| 780 | @media screen and (min-width: 601px) and (max-width 1000px) { |
| 781 | .path-search .region-content > ol { |
| 782 | width: 560px; |
| 783 | } |
| 784 | } |
| 785 | @media screen and (min-width: 1001px) { |
| 786 | .path-search .region-content > ol { |
| 787 | width: 900px; |
| 788 | } |
| 789 | } |
| 790 | |
| 791 | .path-search .region-content > ol { |
| 792 | margin: 0 auto; |
| 793 | padding-left: 0; |
| 794 | overflow: auto; |
| 795 | } |
| 796 | |
| 797 | .path-search .region-content > ol li { |
| 798 | width: 280px; |
| 799 | height: 320px; |
| 800 | margin: 0px auto; |
| 801 | padding: 10px; |
| 802 | |
| 803 | float: left; |
| 804 | |
| 805 | list-style: none; |
| 806 | overflow: hidden; |
| 807 | } |
| 808 | |
| 809 | .path-search .region-content > ol li h3 { |
| 810 | text-align: center; |
| 811 | } |
| 812 | |
| 813 | .path-search .region-content > ol li .search-image { |
| 814 | width: 220px; |
| 815 | height: 220px; |
| 816 | |
| 817 | margin: 0 auto; |
| 818 | |
| 819 | display: flex; |
| 820 | align-items: center; |
| 821 | } |
| 822 | |
| 823 | .path-search .region-content > ol li p { |
| 824 | display: block; |
| 825 | width: 220px; |
| 826 | margin: 0 auto; |
| 827 | } |
| 828 | |
| 829 | .path-search .region-content > ol li img { |
| 830 | } |
| 831 | |
| 832 | |
| 833 | /* Footer */ |
| 834 | |
| 835 | .footer { |
| 836 | background: #333; |
| 837 | color: #FFF; |
| 838 | } |
| 839 | |
| 840 | #email-signup .email-input { |
| 841 | color: #000; |
| 842 | display: block; |
| 843 | margin-bottom: 10px; |
| 844 | } |
| 845 | #email-signup .action-button { |
| 846 | color: #000; |
| 847 | display: block; |
| 848 | } |
| 849 | |
| 850 | /* full page width for footer */ |
| 851 | |
| 852 | .footer { |
| 853 | width: 100%; |
| 854 | } |
| 855 | |
| 856 | .footer a { color: #edd400; } |
| 857 | |
| 858 | .footer a:hover { color: #FFF; } |
| 859 | |
| 860 | .footer h4 { font-weight: bold; } |
| 861 | |
| 862 | .footer .copyright { font-size: 0.9em; text-align: center; width: 80%; margin-top: 1em; border-top: 1px solid #111; padding: 1em; } |
| 863 | |
| 864 | #fsf-logo-footer { margin-bottom: 10px; } |
| 865 | |
| 866 | @media print { #fsf-logo-footer { filter: invert(100%) } } |
| 867 | |