انتقل إلى المحتوى

مستخدم:وهراني/بوابة:الجزائر/styles.css

من ويكيبيديا، الموسوعة الحرة

ملاحظة: بعد الحفظ، قد يلزمك إفراغ الكاش لرؤية التغييرات.

.grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-gap: 10px;
}

.span-c6 {
  grid-column: span 6 / auto;
}

.span-c5 {
  grid-column: span 5 / auto;
}

.span-c4 {
  grid-column: span 4 / auto;
}

.span-c3 {
  grid-column: span 3 / auto;
}
.span-c2 {
  grid-column: span 2 / auto;
}

.span-r3 {
  grid-row: span 2 / auto;
}

@media screen and (max-width: 675px) {
  .grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 10px;
  }

  .span-c6 {
    grid-column: auto;
  }

  .span-c5 {
    grid-column: auto;
  }

  .span-c4 {
    grid-column: auto;
  }

  .span-c3 {
    grid-column: auto;
  }
  .span-c2 {
    grid-column: auto;
  }

  .span-r3 {
    grid-row: auto;
  }

  .nav-links {
    flex-direction: column;
  }
}

.title-card {
  vertical-align: top;
  background: #fff;
  color: #000;
  border-radius: 2px;
  box-shadow: 0.5px 0.866px 5px 0 rgba(0, 0, 0, 0.11);
  border-bottom: 15px solid #2e5328;
  border-top: 10px solid #2e5328;
}

.title-text {
  font-size: 20px;
  font-weight: normal;
  text-align: center;
  color: #2e5328;
  line-height: 1.5em;
}
.title-text2 {
  font-size: 40px;
  font-weight: bold;
  text-align: center;
  color: #2e5328;
  line-height: 1.5em;
}

.card {
  display: block;
  padding: 10px;
  background: #fff;
  color: #000;
  border-radius: 2px;
  box-shadow: 0.5px 0.866px 5px 0 rgba(0, 0, 0, 0.11);
  border-top: 10px solid #2e5328;
}

.card:hover {
  border-top: 15px solid #83b93d;
  box-shadow: 0.5px 0.866px 5px 0 rgba(0, 0, 0, 0.21);
}

.sec-title {
  display: block;
  font-size: 20px;
  color: #83b93d;
  font-weight: bold;
  margin: 5px;
  padding: 5px;
}

.nav-links {
  display: flex;
  list-style: none;
  width: 100%;
  margin: auto;
  padding: 10px;
  justify-content: center;
  align-items: center;
}

.nav-links ul a {
  text-decoration: none;
}

.nav ul li {
  border: 1px solid #e0e0e0;
  border-radius: 2px;
  padding: 5px;
  width: 150px;
  text-align: center;
  font-size: 105%;
  font-weight: bold;
  margin: 5px;
}

.nav ul li:hover {
  background: #83b93d;
}

li.content-title:hover {
  width: 200px;
  background: #007bff;
  color: white;
  transition-duration: 0.5s;
}

li.content-title a {
  color: #000;
}

li.content-title.green-b {
  background: #189771;
}

.content-title.green-b a {
  color: white;
}

.nav p {
  font-family: "Tajawal", sans-serif;
  font-size: 35px;
  font-weight: bold;
  text-align: center;
  line-height: 5px;
}

.footer {
  background: #2e5328;
  padding: 10px;
  border-radius: 2px;
}

.num-card {
  display: block;
  background: #2e5328;
  border-radius: 2px;
  box-shadow: 0.5px 0.866px 5px 0 rgba(0, 0, 0, 0.11);
  color: #fff;
}

.num-card:hover {
  box-shadow: 0.5px 0.866px 5px 0 rgba(0, 0, 0, 0.21);
}

.num-title {
  display: block;
  font-size: 14px;
  color: #fff;
  margin: 5px;
  padding: 5px;
  text-align: center;
  background: #83b93d;
}

.num-big {
  margin: 5px;
  padding: 15px;
  font-family: "Tajawal", sans-serif;
  text-align: center;
  font-size: 40px;
  font-weight: bold;
}