Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_about-section.scss « components « scss « assets - github.com/StaticMania/portio-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 03d6e216225987dbc720cacceae0d41a96590966 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
.about {
  overflow: hidden;
  &_content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    &-thumb {
      width: 45%;
      position: relative;
      @include desktop {
        width: 100%;
      }
      .about-svg {
        position: absolute;
        top: -11%;
        left: -17%;
        z-index: -1;
        height: 150px;
        animation: move_top 4s infinite;
        @include tablet {
          top: -7%;
          left: -16%;
        }
        img {
          height: 100%;
          width: 100%;
        }
      }
      .about_content-thumb-image {
        img {
          height: 100%;
          width: 100%;
          &.about_mask_svg {
            mask: url(../images/about/about-mask-svg.svg);
            -webkit-mask-repeat: no-repeat;
            -webkit-mask-size: contain;
            -webkit-mask-position: center center;
          }
        }
      }
    }
    &-inner {
      width: 55%;
      padding: 60px 50px;
      background: #1b2031;
      border-radius: 20px;
      margin-left: -60px;
      position: relative;
      @include desktop {
        padding: 25px;
      }
      @include desktop {
        width: 100%;
        margin-left: 0;
        margin-top: 30px;
      }
      &-blob {
        position: absolute;
        top: -55%;
        right: -22%;
        z-index: -1;
        width: 400.369px;
        height: 362.909px;
        svg {
          width: 140%;
        }
        @include tablet {
          display: none;
        }
      }
    }
  }
}