Khác biệt giữa các bản “Bản mẫu:Biến đổi khí hậu/styles.css”
| Dòng 1: | Dòng 1: | ||
| − | .mw-indicators { padding: | + | .mw-indicators { padding:10px 10px 0 0 } |
.page-title { | .page-title { | ||
| − | padding: | + | padding: 10px; |
border: none; | border: none; | ||
background: url(https://upload.wikimedia.org/wikipedia/commons/thumb/1/1a/Endangered_arctic_-_starving_polar_bear.jpg/640px-Endangered_arctic_-_starving_polar_bear.jpg); | background: url(https://upload.wikimedia.org/wikipedia/commons/thumb/1/1a/Endangered_arctic_-_starving_polar_bear.jpg/640px-Endangered_arctic_-_starving_polar_bear.jpg); | ||
background-size: cover; | background-size: cover; | ||
| − | height: | + | height: 300px; |
| + | color: white; | ||
| + | font-size: 32px; | ||
| + | background-position: left; | ||
| + | } | ||
| + | .page-title:before { | ||
| + | content:''; | ||
| + | position:absolute; | ||
| + | top:10px; | ||
| + | left:10px; | ||
| + | height:4px; | ||
| + | width:300px; | ||
| + | background: white; | ||
} | } | ||
Phiên bản lúc 21:37, ngày 6 tháng 6 năm 2021
.mw-indicators { padding:10px 10px 0 0 }
.page-title {
padding: 10px;
border: none;
background: url(https://upload.wikimedia.org/wikipedia/commons/thumb/1/1a/Endangered_arctic_-_starving_polar_bear.jpg/640px-Endangered_arctic_-_starving_polar_bear.jpg);
background-size: cover;
height: 300px;
color: white;
font-size: 32px;
background-position: left;
}
.page-title:before {
content:'';
position:absolute;
top:10px;
left:10px;
height:4px;
width:300px;
background: white;
}