gpttemp
This commit is contained in:
48
code/public/static/css/modules/banner/banner_01.css
Normal file
48
code/public/static/css/modules/banner/banner_01.css
Normal file
@@ -0,0 +1,48 @@
|
||||
/* banner_01.css */
|
||||
.__PFX__-b1-wrap {
|
||||
margin: 16px 0;
|
||||
}
|
||||
|
||||
.__PFX__-b1-link {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.__PFX__-b1-figure {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.__PFX__-b1-img {
|
||||
width: 100%;
|
||||
height: 170px;
|
||||
border-radius: 14px;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.__PFX__-b1-cap {
|
||||
position: absolute;
|
||||
left: 12px;
|
||||
right: 12px;
|
||||
bottom: 12px;
|
||||
background: linear-gradient(to top, rgba(0, 0, 0, .45), transparent);
|
||||
color: #fff;
|
||||
padding: 10px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.__PFX__-b1-cap h2 {
|
||||
font-size: 16px;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.__PFX__-b1-cap p {
|
||||
font-size: 12px;
|
||||
opacity: .9;
|
||||
}
|
||||
|
||||
@media(min-width:768px) {
|
||||
.__PFX__-b1-img {
|
||||
height: 240px;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user