Khác biệt giữa các bản “Bản mẫu:Biến đổi khí hậu/styles.css”
Dòng 53: | Dòng 53: | ||
.top a.new, .sec a.new { border:1px solid; border-image:linear-gradient(0.25turn,#964cf0 35%,#ed4aed 70%,#964cf0) 1;border-bottom-width:1px;border-top-width:0;border-right-width:0;border-left-width:0;color:inherit !important;} | .top a.new, .sec a.new { border:1px solid; border-image:linear-gradient(0.25turn,#964cf0 35%,#ed4aed 70%,#964cf0) 1;border-bottom-width:1px;border-top-width:0;border-right-width:0;border-left-width:0;color:inherit !important;} | ||
.top { font-size:large;background:#f0f0f5;padding:10px 40px 20px } | .top { font-size:large;background:#f0f0f5;padding:10px 40px 20px } | ||
− | h2 { max-width: | + | h2 { max-width:1420px;margin-left:auto;margin-right:auto;padding:20px 40px 0 } |
@media (min-width: 600px) { | @media (min-width: 600px) { | ||
.sec { | .sec { | ||
column-count: 2; | column-count: 2; | ||
− | padding: 20px; | + | padding: 20px 40px; |
column-gap: 40px; | column-gap: 40px; | ||
max-width: 1500px; | max-width: 1500px; |
Phiên bản lúc 16:49, ngày 7 tháng 6 năm 2021
#content { padding:0;margin:0;border:none;box-shadow:none }
.mw-indicators { padding: 48px 40px }
#contentSub { background:#f0f0f5;padding-left:20px }
.page-title {
padding: 40px;
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: 250px;
color: white;
font-size: 32px;
background-position: left;
font-weight: 300;
}
.page-title::before {
content: '';
position: absolute;
top: 80px;
left: 40px;
height: 1px;
width: calc(100% - 80px);
background: white;
}
.page-title::after {
content: '';
position: absolute;
top: 173px;
height: 200px;
left: 0;
width: 100%;
background: linear-gradient(0,rgba(240,240,245,1),rgba(240,240,245,0));
}
#mw-content-text { font-weight:300;text-align:justify }
.toc {
background-image: linear-gradient(110deg,#ed4aed 10%,#ff5a28 60%,#ed4aed);
background-clip: text;
-webkit-background-clip: text; /* chrome */
color: transparent;
font-weight:bold;
border:none;
box-shadow:none;
margin:0;
padding:20px 0;
letter-spacing: 2px;
line-height:1.5;
}
.toc a { color:inherit !important }
.toc ul, .toc ul ul { list-style-type:none;margin:0;padding:0;display:inline }
.toc li { display:inline }
.toc .toclevel-3, .toctitle { display: none }
.top a, .sec a { border:2px solid; border-image:linear-gradient(0.25turn,#ff5a28 35%,#ffaa20 70%,#ff5a28) 1;border-bottom-width:2px;border-top-width:0;border-right-width:0;border-left-width:0;color:inherit !important;}
.top sup a, .sec sup a, .top .toc a, a.mw-tmh-play, a.image, a.internal { border:none; }
.top a.new, .sec a.new { border:1px solid; border-image:linear-gradient(0.25turn,#964cf0 35%,#ed4aed 70%,#964cf0) 1;border-bottom-width:1px;border-top-width:0;border-right-width:0;border-left-width:0;color:inherit !important;}
.top { font-size:large;background:#f0f0f5;padding:10px 40px 20px }
h2 { max-width:1420px;margin-left:auto;margin-right:auto;padding:20px 40px 0 }
@media (min-width: 600px) {
.sec {
column-count: 2;
padding: 20px 40px;
column-gap: 40px;
max-width: 1500px;
margin-left:auto;
margin-right:auto;
}
.sec .thumb { break-inside:avoid }
.sec .thumbinner { width:calc(100% - 40px) !important;text-align:center }
.sec .thumbinner img { width:100%;height:auto;max-width:450px }
.sec .tright, .sec .tleft { margin:10px 0;padding:0 }
}
@media (min-width: 1200px) {
.sec {
column-count: 3;
}
}
.sec2 { background:#f0f0f5; }
.sec2 h2 { text-align:right;padding-top:40px }
.mw-body h2::after { border:none }
h2::before { content:'';border-top:1px solid;display:block;margin-bottom:10px }