_404.scss 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. /*--------------------------------------------------------------*/
  2. /* !## 404 */
  3. /*--------------------------------------------------------------*/
  4. /*--------------------------------------------------------------*/
  5. /* !## Archives */
  6. /*--------------------------------------------------------------*/
  7. .hfeed:not(.home):not(.blog).error404,
  8. .hfeed:not(.home):not(.blog).search-no-results {
  9. // Search form
  10. .search-form {
  11. padding: 0;
  12. width: 100%;
  13. .screen-reader-text {
  14. @include widget-title();
  15. margin-bottom: 0;
  16. padding: 0 ($gutter / 2);
  17. width: 100%;
  18. flex: 1 1 100%;
  19. float: left;
  20. }
  21. .search-field {
  22. float: left;
  23. padding: 10px ( $gutter / 2 );
  24. margin: 0 0 ( $baseline * .5 );
  25. width: calc( 100% - #{$gutter} );
  26. }
  27. .search-submit {
  28. clear: both;
  29. float: none;
  30. }
  31. }
  32. &.search-no-results #main #infinite-handle {
  33. display: none;
  34. }
  35. }
  36. @include breakpoint( mobileonly ) {
  37. .hfeed {
  38. }
  39. }
  40. @include breakpoint( phablet ) {
  41. .hfeed {
  42. }
  43. }
  44. @include breakpoint( tablet ) {
  45. .hfeed {
  46. }
  47. }
  48. @include breakpoint( laptop ) {
  49. .hfeed:not(.home):not(.blog).error404,
  50. .hfeed:not(.home):not(.blog).search-no-results {
  51. .site-main {
  52. margin-left: 20%;
  53. margin-right: 20%;
  54. padding: 0;
  55. width: calc( 60% - #{ $gutter * 2 } );
  56. .not-found {
  57. padding-top: ( $baseline * 2.5 );
  58. .page-header {
  59. max-width: inherit;
  60. padding-top: inherit;
  61. position: inherit;
  62. right: inherit;
  63. .page-title {
  64. @include article-title();
  65. padding: 0;
  66. }
  67. }
  68. }
  69. }
  70. }
  71. }