Project

General

Profile

1
@import 'src/styles';
2

    
3
:host ::ng-deep .p-component {
4

    
5
  &.p-card {
6

    
7
    &.custom {
8
      background-image: linear-gradient(45deg, $orange, $tangerine);
9
      border-radius: 6px;
10
      transition: 0.5s;
11
      min-height: 340px;
12
      max-width: 240px;
13
      position: relative;
14
      left: 50%;
15
      transform: translateX(-50%);
16

    
17
      &:hover {
18
        box-shadow: 0 4px 4px -1px rgba(0, 0, 0, 0.2);
19
      }
20

    
21
      .p-card-content {
22
        padding: 0;
23

    
24
        i {
25
          color: $white;
26
        }
27

    
28
        .header {
29
          text-align: center;
30
          margin-bottom: 10px;
31

    
32
          i {
33
            font-size: 8rem;
34
          }
35
        }
36

    
37
        .title {
38
          text-align: center;
39
          font-size: 16px;
40
          color: $black;
41
          padding-bottom: 10px;
42
          font-weight: 700;
43
          border-bottom: 2px solid $white;
44
          margin-bottom: 10px;
45
        }
46

    
47
        .sub-title {
48
          color: $medium-grey;
49
        }
50

    
51
        .footer {
52
          text-align: right;
53
          margin-top: 10px;
54

    
55
          i {
56
            font-size: 3rem;
57
          }
58
        }
59
      }
60

    
61
    }
62
  }
63
}
64

    
65
@media screen and (max-width: 1400px) {
66
  :host ::ng-deep .p-component {
67

    
68
    &.p-card {
69

    
70
      &.custom {
71

    
72
        .p-card-content {
73

    
74
          .header {
75
          
76
            i {
77
              font-size: 6rem;
78
            }
79

    
80
          }
81

    
82
          .footer {
83

    
84
            i {
85
              font-size: 2rem;
86
            }
87

    
88
          }
89

    
90
        }
91

    
92
      }
93
    }
94
  }
95
}
(2-2/4)