123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- #zuck-modal{
- .item{
- .blur-bg{
- background-image: url(https://green.amic.ru/images/news/webp/508059_size1.webp);
- height: 100%;
- width: 100%;
- background-size: cover;
- background-repeat: no-repeat;
- filter: brightness(0.4) blur(10px);
- transform: scalex(-1);
- }
- .image-container{
- height: 75%;
- background-color: #000;
- border-radius: 30px;
- position: absolute;
- top: 0;
- bottom: 0;
- margin: auto;
- left: 0;
- right: 0;
- width: 50%;
- max-width: 35%;
- overflow: hidden;
- box-shadow: #000 0 0 10px;
- display: flex;
- align-items: center;
- img{
- width: 100%;
- }
- }
- .title{
- a{
- background: #000000ab;
- z-index: 9;
- position: absolute;
- width: 50%;
- left: 0;
- right: 0;
- margin: auto;
- color: #fff;
- padding: 30px;
- border-radius: 20px;
- box-shadow: black 0 0 4px;
- font-weight: bold;
- }
- }
- .comments{
- position: absolute;
- right: 0;
- background: #000000ab;
- z-index: 1;
- color: white;
- width: 300px;
- padding: 30px;
- font-size: 12px;
- .comment{
- margin-bottom: 15px;
- border-bottom: 1px solid white;
- .published_at{
- font-size: 10px;
- color: #a4a3a3;
- }
- }
- }
- @media(max-width: 1024px){
- .title{
- a{
- width: 80%;
- font-size: 20px;
- top: 20px;
- text-align: center;
- }
- }
- .image-container{
- width: 90%;
- max-width: 90%;
- }
- }
- }
- }
|