|
52 | 52 | .cases { |
53 | 53 | display: grid; |
54 | 54 | width: 100%; |
55 | | - grid-template-columns: repeat(auto-fill, minmax(284px, 1fr)); |
56 | | - gap: 20px; |
| 55 | + grid-template-columns: repeat(auto-fill, minmax(276px, 1fr)); |
| 56 | + gap: 24px; |
57 | 57 | margin-top: 2em; |
58 | 58 | } |
59 | 59 |
|
60 | 60 | .link { |
61 | | - background: rgba(255, 255, 255, 0.9); |
62 | | - box-shadow: |
63 | | - 0px 1px 2px rgba(46, 41, 51, 0.08), |
64 | | - 0px 2px 4px rgba(71, 63, 79, 0.08); |
| 61 | + background: #fefefe; |
| 62 | + border: 1px solid #e8e9ec; |
65 | 63 | border-radius: 12px; |
66 | 64 | overflow: hidden; |
67 | 65 | display: block; |
|
71 | 69 | display: flex; |
72 | 70 | gap: 0; |
73 | 71 | flex-direction: column; |
74 | | - height: 200px; |
| 72 | + height: 218px; |
75 | 73 | } |
76 | 74 |
|
77 | 75 | .title { |
78 | | - font-size: 16px; |
79 | | - line-height: 24px; |
80 | 76 | width: 100%; |
81 | | - height: 80px; |
82 | | - padding: 16px 15px 15px; |
| 77 | + height: 76px; |
| 78 | + padding: 16px 16px 15px; |
83 | 79 | color: #262626; |
84 | | - border: 1px solid rgba(35, 33, 41, 0.05); |
85 | | - border-top: 0; |
86 | | - border-radius: 0 0 12px 12px; |
| 80 | + border-top: 1px solid #e8e9ec; |
| 81 | + font-weight: 500; |
| 82 | + font-size: 15px; |
| 83 | + line-height: 22px; |
87 | 84 |
|
88 | 85 | span { |
89 | 86 | display: -webkit-box; |
|
96 | 93 |
|
97 | 94 | .placeholder { |
98 | 95 | width: 100%; |
99 | | - background: #f8f8f8; |
100 | | - border: 1px solid rgba(35, 33, 41, 0.05); |
101 | | - border-radius: 12px 12px 0 0; |
102 | | - height: 120px; |
| 96 | + height: 142px; |
| 97 | + background: linear-gradient(308deg, #dee9fc 0%, #fcfbfd 100%, #fbf9fe 100%); |
| 98 | + overflow: hidden; |
103 | 99 | } |
104 | 100 |
|
105 | 101 | .summary { |
106 | 102 | color: rgba(0, 0, 0, 0.65); |
107 | | - padding: 15px; |
108 | | - |
109 | | - span { |
110 | | - display: -webkit-box; |
111 | | - -webkit-line-clamp: 4; |
112 | | - line-clamp: 4; |
113 | | - -webkit-box-orient: vertical; |
114 | | - overflow: hidden; |
115 | | - } |
| 103 | + padding: 27px 0 0 24px; |
116 | 104 | } |
117 | 105 |
|
118 | 106 | .thumbnail span { |
|
125 | 113 | } |
126 | 114 |
|
127 | 115 | .link:hover { |
128 | | - box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.1); |
| 116 | + box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.06); |
129 | 117 |
|
130 | 118 | .title { |
131 | 119 | color: var(--elevo-color-brand); |
132 | 120 | } |
133 | 121 | } |
| 122 | + |
| 123 | +.summary-1 { |
| 124 | + display: block; |
| 125 | + background-image: url( "./images/[email protected]"); |
| 126 | + background-size: 237px 115px; |
| 127 | + background-repeat: no-repeat; |
| 128 | + background-position: 0 0; |
| 129 | + padding: 10px 0 0 10px; |
| 130 | +} |
| 131 | + |
| 132 | +.summary-2 { |
| 133 | + display: block; |
| 134 | + background: linear-gradient(90deg, #ffffff 0%, #e4ecfc 100%); |
| 135 | + padding: 12px 15px 5px 15px; |
| 136 | + border-top-left-radius: 12px; |
| 137 | + |
| 138 | + span { |
| 139 | + display: -webkit-box; |
| 140 | + -webkit-line-clamp: 4; |
| 141 | + line-clamp: 4; |
| 142 | + -webkit-box-orient: vertical; |
| 143 | + overflow: hidden; |
| 144 | + font-size: 15px; |
| 145 | + color: #525971; |
| 146 | + line-height: 22px; |
| 147 | + height: 88px; |
| 148 | + } |
| 149 | +} |
0 commit comments