| | |
| | | color: #000; |
| | | position: relative; |
| | | background: #e8e8e8; |
| | | background-image: url("{{image}}"); |
| | | background-size: cover; |
| | | background-position: center; |
| | | /* 背景模糊效果 */ |
| | | display: flex; |
| | | flex-direction: column; |
| | | align-items: center; |
| | | padding: 0 60px; |
| | | } |
| | | |
| | | .media-bg { |
| | | position: absolute; |
| | | inset: 0; |
| | | z-index: 0; |
| | | overflow: hidden; |
| | | } |
| | | |
| | | /* 背景遮罩层 */ |
| | |
| | | </style> |
| | | </head> |
| | | <body> |
| | | <div class="media-bg">{{media}}</div> |
| | | |
| | | <!-- 标题 --> |
| | | <div class="title">{{title}}</div> |
| | | |
| | |
| | | <!-- 作者 --> |
| | | <div class="author">{{author=HITsz-TMG}}</div> |
| | | </body> |
| | | </html> |
| | | </html> |