Khác biệt giữa các bản “Bản mẫu:Mặt trăng/styles.css”
(Đã lùi lại sửa đổi 8792 của Tttrung (thảo luận))
Thẻ: Lùi sửa
Dòng 1: Dòng 1:
.head {
+
.top {
 
   background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/5/58/Full_moon%2C_clear_skies_%28May_2014%29%28175371813%29.jpg/1024px-Full_moon%2C_clear_skies_%28May_2014%29%28175371813%29.jpg);
 
   background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/5/58/Full_moon%2C_clear_skies_%28May_2014%29%28175371813%29.jpg/1024px-Full_moon%2C_clear_skies_%28May_2014%29%28175371813%29.jpg);
 
   background-size: cover;
 
   background-size: cover;
Dòng 5: Dòng 5:
 
   position: relative;  
 
   position: relative;  
 
}
 
}
.head-text {
+
.top1 {
 
   padding: 20px 30% 20px 30px;
 
   padding: 20px 30% 20px 30px;
 
   top: 0px;
 
   top: 0px;
Dòng 13: Dòng 13:
 
   color: white;
 
   color: white;
 
}
 
}
.head a.new:link {
+
.top a.new:link {
 
   color: #e0c7fc !important;
 
   color: #e0c7fc !important;
 
}
 
}
.head a.new:visited {
+
.top a.new:visited {
 
   color: #e0c7fc !important;
 
   color: #e0c7fc !important;
 
}
 
}
.head a.new:hover {
+
.top a.new:hover {
 
   color: #eacffd !important;
 
   color: #eacffd !important;
 
}
 
}
.head a.new:active {
+
.top a.new:active {
 
   color: #e0c7fc !important;
 
   color: #e0c7fc !important;
 
}
 
}
.group-layout {
+
.mid {
 
   display: flex;
 
   display: flex;
 
   flex-wrap: wrap;
 
   flex-wrap: wrap;
 
}
 
}
.group-layout .group1 {
+
.mid .mid1 {
 
   flex: 0 0 calc(40% - 24px);
 
   flex: 0 0 calc(40% - 24px);
 
   margin: 0 10px 0 10px;
 
   margin: 0 10px 0 10px;
 
}
 
}
.group-layout .group2 {
+
.mid .mid2 {
 
   flex: 0 0 calc(60% - 56px);
 
   flex: 0 0 calc(60% - 56px);
 
   margin: 0 30px 0 30px;
 
   margin: 0 30px 0 30px;
 
   text-align: justify;
 
   text-align: justify;
 
}
 
}
.group-layout .group2 h2 {
+
.mid .mid2 h2 {
 
   font-weight: bold;
 
   font-weight: bold;
 
}
 
}
.group-layout .group2 h2:after {
+
.mid .mid2 h2:after {
 
   border: none;
 
   border: none;
 
}
 
}
.group-layout .group2 p {
+
.mid .mid2 p {
 
   text-align: justify;
 
   text-align: justify;
 
}
 
}
 
@media only screen and (max-width: 1100px) {
 
@media only screen and (max-width: 1100px) {
.head-text {
+
.top2 {
 
   padding: 20px;
 
   padding: 20px;
 
   width: calc(100% - 40px);
 
   width: calc(100% - 40px);
 
}
 
}
.group-layout .group1 {
+
.mid .mid1 {
 
   flex: 0 0 100%;
 
   flex: 0 0 100%;
 
   margin: 0;
 
   margin: 0;
 
}
 
}
.group-layout .group2 {
+
.mid .mid2 {
 
   flex: 0 0 100%;
 
   flex: 0 0 100%;
 
   margin: 0;
 
   margin: 0;
 
}
 
}
 +
.bot {
 +
  padding:0;
 
}
 
}
.tail {
+
}
 +
.bot {
 
  background-color: #262635;
 
  background-color: #262635;
 
  color: white;
 
  color: white;
 
  padding: 20px;
 
  padding: 20px;
 
}
 
}
.tail a.new:link {
+
.bot a.new:link {
 
   color: #e0c7fc !important;
 
   color: #e0c7fc !important;
 
}
 
}
.tail a.new:visited {
+
.bot a.new:visited {
 
   color: #e0c7fc !important;
 
   color: #e0c7fc !important;
 
}
 
}
.tail a.new:hover {
+
.bot a.new:hover {
 
   color: #eacffd !important;
 
   color: #eacffd !important;
 
}
 
}
.tail a.new:active {
+
.bot a.new:active {
 
   color: #e0c7fc !important;
 
   color: #e0c7fc !important;
 
}
 
}
.tail h2 {
+
.bot h2 {
 
   font-weight: bold;
 
   font-weight: bold;
 
}
 
}
.tail h2:after {
+
.bot h2:after {
 
   border: none;
 
   border: none;
 
}
 
}
.tail .infobox {
+
.bot .infobox {
 
   color: white;
 
   color: white;
 
   background-color: #262635;
 
   background-color: #262635;
 
}
 
}

Phiên bản lúc 08:30, ngày 18 tháng 11 năm 2020

.top {
  background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/5/58/Full_moon%2C_clear_skies_%28May_2014%29%28175371813%29.jpg/1024px-Full_moon%2C_clear_skies_%28May_2014%29%28175371813%29.jpg);
  background-size: cover;
  width: 100%;
  position: relative; 
}
.top1 {
  padding: 20px 30% 20px 30px;
  top: 0px;
  text-align:justify;
  background-image: linear-gradient(to left, rgba(15, 15, 21, 0), rgba(15, 15, 21, 1));
  width: 50%;
  color: white;
}
.top a.new:link {
  color: #e0c7fc !important;
}
.top a.new:visited {
  color: #e0c7fc !important;
}
.top a.new:hover {
  color: #eacffd !important;
}
.top a.new:active {
  color: #e0c7fc !important;
}
.mid {
  display: flex;
  flex-wrap: wrap;
}
.mid .mid1 {
  flex: 0 0 calc(40% - 24px);
  margin: 0 10px 0 10px;
}
.mid .mid2 {
  flex: 0 0 calc(60% - 56px);
  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;
}
@media only screen and (max-width: 1100px) {
.top2 {
  padding: 20px;
  width: calc(100% - 40px);
}
.mid .mid1 {
  flex: 0 0 100%;
  margin: 0;
}
.mid .mid2 {
  flex: 0 0 100%;
  margin: 0;
}
.bot {
  padding:0;
}
}
.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: #eacffd !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;
}