تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
لقد تم إغلاق هذا السؤال والسبب: not enough information given to provide help
بواسطة Everardo Teran Fimbres (evtf) في 10 أكتوبر, 2025 12:18:36
13 أدوات العرض

/* assets/css/main.css */

* {

  margin: 0;

  padding: 0;

  box-sizing: border-box;

}


body {

  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

  background-color: #fafafa;

  color: #222;

  line-height: 1.6;

}


.container {

  width: 90%;

  max-width: 1200px;

  margin: 0 auto;

}


/* التنقل */

.navbar {

  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);

  color: white;

  padding: 1rem 0;

}

.navbar .container {

  display: flex;

  justify-content: space-between;

  align-items: center;

  flex-wrap: wrap;

}

.navbar h1 {

  font-size: 1.5rem;

}

.navbar nav a {

  color: white;

  text-decoration: none;

  margin-left: 1.5rem;

  font-weight: 500;

}

.navbar nav a:hover {

  text-decoration: underline;

}


/* الأزرار */

.btn {

  display: inline-block;

  padding: 0.7rem 1.4rem;

  border-radius: 30px;

  text-decoration: none;

  font-weight: bold;

  transition: all 0.3s;

}

.btn.primary {

  background: #2575fc;

  color: white;

}

.btn.primary:hover {

  background: #1a5fc9;

}

.btn.secondary {

  background: #6a11cb;

  color: white;

}

.btn.secondary:hover {

  background: #500d99;

}


/* الأقسام الرئيسية */

.hero, .hero-store {

  text-align: center;

  padding: 3rem 1rem;

  background: white;

  margin-bottom: 2rem;

}

.hero h2, .hero-store h2 {

  font-size: 2.2rem;

  margin-bottom: 1rem;

  color: #2575fc;

}


/* البطاقات */

.features, .products-grid {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));

  gap: 2rem;

  margin-bottom: 3rem;

}

.card, .product-card {

  background: white;

  border-radius: 12px;

  padding: 1.5rem;

  box-shadow: 0 4px 12px rgba(0,0,0,0.08);

  text-align: center;

}

.card h3, .product-card h3 {

  margin: 1rem 0 0.8rem;

  color: #2575fc;

}

.card a, .product-card a {

  margin-top: 1rem;

  display: inline-block;

}

.product-card img {

  width: 100%;

  height: 180px;

  object-fit: cover;

  border-radius: 8px;

  margin-bottom: 1rem;

}

.price {

  font-size: 1.3rem;

  font-weight: bold;

  color: #6a11cb;

  margin: 0.8rem 0;

}


/* التذييل */

.footer {

  background: #222;

  color: #ddd;

  text-align: center;

  padding: 2rem 1rem;

}

.footer a {

  color: #2575fc;

  text-decoration: none;

}

.footer a:hover {

  text-decoration: underline;

}


/* استجابة للهاتف */

@media (max-width: 600px) {

  .navbar .container {

    flex-direction: column;

    gap: 1rem;

  }

  .navbar nav a {

    margin: 0 0.5rem;

  }

}

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
فبراير 25
999
2
أكتوبر 24
4010
2
يونيو 24
3254
1
يونيو 19
6321
1
يناير 17
4081