Khác biệt giữa các bản “Bản mẫu:Mặt trăng/styles.css”
Dòng 76: Dòng 76:
 
.tail a.new:active {
 
.tail a.new:active {
 
   color: #e0c7fc !important;
 
   color: #e0c7fc !important;
 +
}
 +
.tail h2 {
 +
  font-weight: bold;
 +
}
 +
.tail h2:after {
 +
  border: none;
 
}
 
}

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

.head {
  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; 
}
.head-text {
  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;
}
.head a.new:link {
  color: #e0c7fc !important;
}
.head a.new:visited {
  color: #e0c7fc !important;
}
.head a.new:hover {
  color: #eacffd !important;
}
.head a.new:active {
  color: #e0c7fc !important;
}
.group-layout {
  display: flex;
  flex-wrap: wrap;
}
.group-layout .group1 {
  flex: 0 0 calc(40% - 24px);
  margin: 0 10px 0 10px;
}
.group-layout .group2 {
  flex: 0 0 calc(60% - 56px);
  margin: 0 30px 0 30px;
  text-align: justify;
}
.group-layout .group2 h2 {
  font-weight: bold;
}
.group-layout .group2 h2:after {
  border: none;
}
.group-layout .group2 p {
  text-align: justify;
}
@media only screen and (max-width: 1100px) {
.head-text {
  padding: 20px;
  width: calc(100% - 40px);
}
.group-layout .group1 {
  flex: 0 0 100%;
  margin: 0;
}
.group-layout .group2 {
  flex: 0 0 100%;
  margin: 0;
}
}
.tail {
 background-color: #262635;
 color: white;
}
.tail a.new:link {
  color: #e0c7fc !important;
}
.tail a.new:visited {
  color: #e0c7fc !important;
}
.tail a.new:hover {
  color: #eacffd !important;
}
.tail a.new:active {
  color: #e0c7fc !important;
}
.tail h2 {
  font-weight: bold;
}
.tail h2:after {
  border: none;
}