Bản mẫu:Mặt trăng/styles.css
Phiên bản vào lúc 14:32, ngày 24 tháng 5 năm 2021 của Tttrung (Thảo luận | đóng góp)
#content { padding:0;margin:0;border:none;box-shadow:none }
.mw-indicators { padding:20px 20px 0 0 }
.page-title { 
  padding: 20px;
  border: none;
  background: url(https://upload.wikimedia.org/wikipedia/commons/thumb/d/dc/Sonnensystem_Navigationsleiste.png/800px-Sonnensystem_Navigationsleiste.png);
  background-size: cover 
}
#contentSub { background:black;padding-left:20px }
#mw-content-text p { margin:1em 0 0;font-size:large;text-align: justify }
#mw-content-text a { border-bottom:1.5px solid #ff5a28;color:inherit !important }
#mw-content-text a.new { border-bottom:1px dotted #964cf0;color:inherit !important }
#mw-content-text a.mw-tmh-play, #mw-content-text a.image, #mw-content-text a.internal, #mw-content-text sup a, #mw-content-text .bot a, #mw-content-text .toc a { border:none; }
#mw-content-text .bot a { text-decoration:underline }
.top {
  background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/a/ae/Waxing_Crescent_%2815799021157%29.jpg/1024px-Waxing_Crescent_%2815799021157%29.jpg);
  background-size: cover;
  width: 100%;
  position: relative; 
  padding-bottom:25px;
}
.toc {
 background-color: rgba(0,0,0,0.5);
 color: #ff5a28;
 border: none;
 line-height: 1;
 font-size: 90%;
 padding: 0.5em;
 margin: 2.25em 20px 0 0;
}
.top1 {
  padding: 20px;
  top: 0px;
  text-align:justify;
  background: linear-gradient(to left,rgba(17,17,17,0),rgba(0,0,0,1) 60%,rgba(0,0,0,1));
  width: calc(65% - 40px);
  color: white;
}
#mw-content-text .mid {
  padding-bottom: 20px;
  background-color:#f2f2f2;
}
#mw-content-text .mid1, #mw-content-text .mid2 {
  max-width: 1280px;
  padding: 20px;
}
#mw-content-text .mid2 {
  margin: 0 auto;
}
#mw-content-text .mid1 {
  margin: 0 auto 20px auto;
}
#mw-content-text .mid1 p, #mw-content-text .mid1 h2, #mw-content-text .mid1 h3, #mw-content-text .mid1 h4, #mw-content-text .mid1 dl {
  padding-left: 360px;
}
#mw-content-text .mid2 p, #mw-content-text .mid2 h2, #mw-content-text .mid2 h3, #mw-content-text .mid2 h4, #mw-content-text .mid2 dl {
  padding-right: 360px;
}
#mw-content-text .mid1 h2, #mw-content-text .mid2 h2 {
  font-weight: bold;
}
#mw-content-text .mid1 h2:after, #mw-content-text .mid2 h2:after {
  border: none;
}
#mw-content-text .mid1 .thumbcaption, #mw-content-text .mid2 .thumbcaption {
  text-align: center;
}
#mw-content-text .mid1 blockquote {
  border-left: 4px solid #ff5a28;
  width: 310px;
  text-align:justify;
  padding:10px;
  float:left;
  clear:left;
}
#mw-content-text .mid1 blockquote p {
  padding: 0;
}
#mw-content-text .mid2 table {
  text-align:center;
  border-collapse:collapse;
  width:326px;
  float:right;
  clear:right;
} 
#mw-content-text .mid2 table caption {
  caption-side:bottom;
  font-size:90%;
}
#mw-content-text .mid2 table td:first-child {
  text-align: left;
}
#mw-content-text .mid2 table td:last-child {
  text-align: right;
}
#mw-content-text .mid2 table .bt td {
  border-top: 4px solid #FF5A28;
}
#mw-content-text .mid2 table .bb td {
  border-bottom: 4px solid #FF5A28;
}
.mid3 {
  text-align: center;
  max-width: 1280px;
  margin: 0 auto 30px auto;
}
.mid3 h2 {
  font-weight: bold;
}
.mid3 h2:after {
  border: none;
}
.mid3 img {
  max-width: 100%;
  height: auto;
}
.mid3 p {
  padding: 5px;
}
.mid3 .center {
  margin: 20px auto 0 auto;
}
.bot {
 background-color: #262635;
 color: white;
 padding: 20px;
}
.bot h2 {
  font-weight: bold;
}
.bot h2:after {
  border: none;
}
.bot .infobox {
  color: white;
  background-color: #262635;
  width:22em;
}
.bot ol.references li:target, .bot .reference-text:target, .bot sup.reference:target {
 background-color: #86869f;
}
@media only screen and (max-width: 850px) {
 #mw-content-text .mid1 p, #mw-content-text .mid1 h2, #mw-content-text .mid1 h3, #mw-content-text .mid1 h4, #mw-content-text .mid1 dl
 {
   padding-left: 0;
 }
 #mw-content-text .mid2 p, #mw-content-text .mid2 h2, #mw-content-text .mid2 h3, #mw-content-text .mid2 h4, #mw-content-text .mid2 dl
 {
   padding-right: 0;
 }
 #mw-content-text .mid1, #mw-content-text .mid2, .bot {
  padding: 5px;
 }
 #mw-content-text .mid1 blockquote {
  width: calc(100% - 24px);
 }
 #mw-content-text .mid2 table {
  width: 100%;
 }
 .top1 {
  padding: 5px;
  width: calc(100% - 10px);
 }
}