HEX
Server: nginx/1.18.0
System: Linux test-ipsremont 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
User: ips (1000)
PHP: 8.0.30
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/quadcode-site/src/style/components/news/block-hero.scss
.block-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 550px;

  @include breakpoint-down('deskL') {
    min-height: 480px;
  }

  @include breakpoint-down('deskS') {
    min-height: 360px;
  }

  @include breakpoint-down('tabM') {
    min-height: 320px;
  }

  &__image {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  &:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(194, 64, 87, 0.9) 0%, rgba(0, 73, 126, 0.4) 100%);
    z-index: 1;
  }

  .container {
    padding-top: 86px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    z-index: 2;

    @include breakpoint-down('deskS') {
      padding-top: 60px;
    }

    @include breakpoint-down('tabM') {
      padding-top: 68px;
    }
  }

  &__date {
    margin-bottom: 8px;
    color: $white;
    display: flex;
    align-items: center;

    @include breakpoint-down('deskS') {
      margin-bottom: 0;
    }

    span {
      display: flex;
      font-weight: 400;

      @include breakpoint-down('deskL') {
        font-size: 14px;
        line-height: 20px;
      }

      @include breakpoint-down('deskS') {
        font-size: 11px;
        line-height: 15px;
      }
    }

    svg {
      display: flex;
      margin-right: 4px;
    }
  }

  &__title {
    margin-bottom: 24px;
    max-width: 780px;
    width: 100%;
    color: $white;

    @include breakpoint-down('deskS') {
      font-weight: 700;
      font-size: 31px;
      line-height: 44px;
      max-width: 688px;
    }

    @include breakpoint-down('tabM') {
      max-width: none;
      font-size: 22px;
      line-height: 30px;
      margin-bottom: 32px;
    }
  }

  &__link {
    color: $white;
  }

  &.inside {
    .block-hero__title {
      text-align: center;
      margin: 0 auto;

      @include breakpoint-down('deskS') {
        font-size: 43px;
        line-height: 47px;
        max-width: 620px;
      }

      @include breakpoint-down('tabM') {
        font-size: 31px;
        line-height: 44px;
      }
    }
  }
}