مدیاویکی:Common.css: تفاوت میان نسخه‌ها

بدون خلاصۀ ویرایش
بدون خلاصۀ ویرایش
 
خط ۴۴۵: خط ۴۴۵:
}
}


.nw-button {
/* Download box */
   display: inline-block;
 
   background: linear-gradient(135deg, #3b82f6, #2563eb);
.nw-download-card {
   display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
   background: linear-gradient(135deg, #f8fbff, #ffffff);
  border: 1px solid #dbeafe;
  border-radius: 14px;
  padding: 20px;
}
 
.nw-download-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: #111827;
  margin-bottom: 6px;
}
 
.nw-download-desc {
  color: #6b7280;
  font-size: 0.95rem;
}
 
.nw-download-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
 
.nw-download-button a,
.nw-download-button a:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 10px;
  background: #2563eb;
   color: #fff !important;
   color: #fff !important;
   text-decoration: none;
   text-decoration: none !important;
  border-radius: 10px;
  padding: 10px 18px;
   font-weight: 800;
   font-weight: 800;
   box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
   box-shadow: 0 6px 14px rgba(37, 99, 235, 0.25);
   transition: all 0.2s ease;
}
 
.nw-download-button a:hover {
   background: #1d4ed8;
  color: #fff !important;
  text-decoration: none !important;
}
 
.nw-download-secondary a,
.nw-download-secondary a:visited {
  background: #eff6ff;
  color: #2563eb !important;
  box-shadow: none;
  border: 1px solid #bfdbfe;
}
}


.nw-button:hover {
.nw-download-secondary a:hover {
   background: linear-gradient(135deg, #2563eb, #1d4ed8);
   background: #dbeafe;
   transform: translateY(-1px);
  color: #1d4ed8 !important;
   box-shadow: 0 6px 14px rgba(37, 99, 235, 0.35);
}
   text-decoration: none;
 
@media screen and (max-width: 850px) {
   .nw-download-card {
    flex-direction: column;
    align-items: stretch;
   }
 
  .nw-download-actions {
    flex-direction: column;
   }
 
  .nw-download-button a {
    width: 100%;
  }
}
}