Khác biệt giữa các bản “Bản mẫu:Mặt trăng/styles.css”
Dòng 1: Dòng 1:
.đầu {
+
.head {
 
   background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/5/57/NASA-Apollo8-Dec24-Earthrise-b.jpg/1024px-NASA-Apollo8-Dec24-Earthrise-b.jpg);
 
   background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/5/57/NASA-Apollo8-Dec24-Earthrise-b.jpg/1024px-NASA-Apollo8-Dec24-Earthrise-b.jpg);
 
   background-size: cover;
 
   background-size: cover;
 
   width: 100%;
 
   width: 100%;
 
 
   position: relative;  
 
   position: relative;  
 
}
 
}
Dòng 17: Dòng 16:
 
a.new:active {
 
a.new:active {
 
   color: #e0c7fc !important;
 
   color: #e0c7fc !important;
 +
}
 +
.head-text {
 +
  padding: 20px 40% 10% 20px;
 +
  top: 0px;
 +
  text-align:justify;
 +
  background-image: linear-gradient(to left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
 +
  width: 50%;
 
}
 
}

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

.head {
  background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/5/57/NASA-Apollo8-Dec24-Earthrise-b.jpg/1024px-NASA-Apollo8-Dec24-Earthrise-b.jpg);
  background-size: cover;
  width: 100%;
  position: relative; 
}
a.new:link {
  color: #e0c7fc !important;
}
a.new:visited {
  color: #e0c7fc !important;
}
a.new:hover {
  color: #eacffd !important;
}
a.new:active {
  color: #e0c7fc !important;
}
.head-text {
  padding: 20px 40% 10% 20px;
  top: 0px;
  text-align:justify;
  background-image: linear-gradient(to left, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
  width: 50%;
}