Khác biệt giữa các bản “Bản mẫu:Mặt trăng/styles.css”
(không cần nữa)
Dòng 200: Dòng 200:
 
   margin-top: 0;
 
   margin-top: 0;
 
   margin-bottom: 10px;
 
   margin-bottom: 10px;
}
 
}
 
 
@media only screen and (max-width: 400px) {
 
.bot .infobox {
 
  width:100%;
 
 
  }
 
  }
 
}
 
}

Phiên bản lúc 15:14, ngày 12 tháng 5 năm 2021

#mw-content { padding:0;margin:0;border:none;box-shadow:none }
.mw-indicators { padding:10px 30px 0 0 }
.page-title { padding:10px 30px 0 30px;border:none }
.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; 
}
.top .toc {
 background-color: rgba(0,0,0,0.5);
 border: none;
 line-height: 1;
 font-size: 90%;
 display: inherit;
 padding: 0.5em;
 margin: 2.25em 30px 0 0;
}
.top .toc .toctitle {
 color: #fff;
}
.top1 {
  padding: 20px 30% 20px 30px;
  top: 0px;
  text-align:justify;
/*  background-image: linear-gradient(to left, rgba(0,0,0,0), rgba(25,25,45,1)); */
  background-image: linear-gradient(to left, rgba(0,0,0,0), rgba(0,0,0,1));
  width: 50%;
  color: white;
}
.top a.new:link {
  color: #e0c7fc !important;
}
.top a.new:visited {
  color: #e0c7fc !important;
}
.top a.new:hover {
  color: #f2e6ff !important;
}
.top a.new:active {
  color: #e0c7fc !important;
}
.top a:link {
  color: #e87048 !important;
}
.top a:visited {
  color: #e87048 !important;
}
.top a:hover {
  color: #ed9274 !important;
}
.top a:active {
  color: #e87048 !important;
}
.mid {
  display: flex;
  flex-wrap: wrap;
}
.mid .mid1 {
  flex: 0 0 calc(35% - 20px);
  margin: 0 10px 0 10px;
}
.mid .mid2 {
  flex: 0 0 calc(65% - 60px);
  margin: 0 30px 0 30px;
  text-align: justify;
}
.mid .mid2 h2 {
  font-weight: bold;
}
.mid .mid2 h2:after {
  border: none;
}
.mid .mid2 p {
  text-align: justify;
}
.mid .mid1 .thumb {
  margin-top: 2.25em;
  margin-bottom: 10px;
}
.mid .mid1 .thumbinner {
  margin-left: auto;
  margin-right: auto;
}
.mid .mid1 .thumbcaption {
  text-align: center;
}
.mid .mid1 blockquote {
  margin-top: 2.25em;
  border-left: 4px solid #ff5a28;
  max-width: 300px;
  text-align:justify;
  padding:10px;
}
.mid .mid1 table {
  text-align:center;
  margin-left: auto; 
  margin-right: auto;
  margin-top: 2.25em;
  border-collapse:collapse;
  width:320px;
} 
.mid .mid1 table caption {
  caption-side:bottom;
  font-size:90%;
}
.mid .mid1 table td:first-child {
  text-align: left;
}
.mid .mid1 table td:last-child {
  text-align: right;
}
.mid .mid1 table .bt td {
  border-top: 4px solid #FF5A28;
}
.mid .mid1 table .bb td {
  border-bottom: 4px solid #FF5A28;
}
.mid3 {
  text-align: center;
}
.mid3 h2 {
  font-weight: bold;
}
.mid3 h2:after {
  border: none;
}
.mid3 img {
  max-width: 100%;
  height: auto;
}
.mid3 p {
  text-align: justify;
}
.bot {
 background-color: #262635;
 color: white;
 padding: 20px;
}
.bot a.new:link {
  color: #e0c7fc !important;
}
.bot a.new:visited {
  color: #e0c7fc !important;
}
.bot a.new:hover {
  color: #f2e6ff !important;
}
.bot a.new:active {
  color: #e0c7fc !important;
}
.bot h2 {
  font-weight: bold;
}
.bot h2:after {
  border: none;
}
.bot .infobox {
  color: white;
  background-color: #262635;
  width:22em;
}
.bot a:link {
  color: #e87048 !important;
}
.bot a:visited {
  color: #e87048 !important;
}
.bot a:hover {
  color: #ed9274 !important;
}
.bot a:active {
  color: #e87048 !important;
}
.bot ol.references li:target {
 background-color: #464655;
}

@media only screen and (max-width: 1100px) {
 .top .toc {
  margin: 1.5em 0 0 0;
 }
 .top1 {
  padding: 5px;
  width: calc(100% - 10px);
 }
 .mid .mid1 {
  flex: 0 0 100%;
  margin: 0;
 }
 .mid .mid2 {
  flex: 0 0 calc(100% - 10px);
  margin: 0;
  padding: 5px;
 }
 .bot {
  padding:5px;
 }
 .mid .mid1 .thumb, .mid .mid1 blockquote, .mid .mid1 table {
  margin-top: 0;
  margin-bottom: 10px;
 }
}