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

ويكيبيديا:يوم المرأة الإماراتية/styles.css: الفرق بين النسختين

من ويكيبيديا، الموسوعة الحرة
تم حذف المحتوى تمت إضافة المحتوى
الرجوع عن التعديل 67678082 بواسطة Reda Kerbouche (نقاش)
اصلاح
 
سطر 101: سطر 101:
margin-bottom: 5px; /* Reduced bottom margin */
margin-bottom: 5px; /* Reduced bottom margin */
line-height: 1.2; /* Adjust line height to reduce space */
line-height: 1.2; /* Adjust line height to reduce space */
grid-column: span 6 / auto; /* Make it span 6 columns */
}
}



النسخة الحالية 16:33، 29 أغسطس 2024

/* General font settings for the entire document */
body, .grid, .num-card, .card, .sec-title, .num-title, .num-big {
  font-family: "Tajwal", sans-serif; /* Corrected font name */
}

/* Adjust the background of the title-card */
.title-card {
  background: #fff; /* Set background to white */
  color: #000;
  border-radius: 2px;
  box-shadow: 0.5px 0.866px 5px 0 rgba(0, 0, 0, 0.11);
  border-bottom: 15px solid #970302;
  border-top: 10px solid #970302;
}

.logo-card {
  background-color: white; /* Set background to white */
  border: none; /* Remove any borders */
  padding: 0; /* Remove padding */
  margin: 0; /* Remove margin */
  box-shadow: none; /* Remove box-shadow */
}


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

.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;
  }
}

/* Important Info Box */
.important-info {
  font-family: "Tajwal", sans-serif; /* Ensure the correct font */
  background-color: #970302; /* Background color */
  color: white; /* Text color */
  text-align: center;
  padding: 5px 0; /* Reduced padding */
  font-size: 22px; /* Increased font size */
  font-weight: bold;
  border-radius: 10px; /* Rounded corners */
  margin-bottom: 5px; /* Reduced bottom margin */
  line-height: 1.2; /* Adjust line height to reduce space */
}

.title-text {
  font-size: 20px;
  font-weight: normal;
  text-align: center;
  color: #970302;
  line-height: 1.5em;
  padding: 5px;
}

.title-text2 {
  font-size: 40px;
  font-weight: bold;
  text-align: center;
  color: #970302;
  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 #970302;
}

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

.sec-title {
  display: block;
  font-size: 20px;
  color: #000; /* Changed to black for normal card titles */
  font-weight: bold;
  margin: 5px;
  padding: 5px;
  text-align: right;
}

/* Navigation Links */
.nav-links {
  display: flex;
  justify-content: center; /* Center the navigation items */
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links li {
  border-radius: 10px;
  margin: 5px;
  padding: 10px 20px; /* Decreased padding */
  background-color: #d9d9d9; /* Default background color */
  color: #000; /* Default text color */
  font-weight: bold;
  font-size: 18px; /* Increased font size */
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s, color 0.3s; /* Smooth transition for hover effects */
}

.nav-links li.active {
  background-color: #970302; /* Active background color */
  color: white; /* Active text color */
  border-bottom: 3px solid white; /* White bottom border when active */
}

.nav-links li:hover {
  background-color: #970302; /* Hover background color */
  color: white; /* Hover text color */
}

.nav-links li a {
  text-decoration: none;
  color: inherit; /* Inherit color from li */
  display: block;
}

li.content-title:hover {
  width: 200px;
  transition-duration: 0.5s;
}

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

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

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

li.content-title.red-b {
  background: #da4453;
  color: white;
}

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

li.content-title.red-b:hover {
  width: 210px;
  background: silver;
  color: white;
  transition-duration: 0.5s;
}

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

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

.num-card {
  display: block;
  background: none;
  border-radius: 2px;
  box-shadow: none; /* Remove the box shadow */
  color: #000; /* Set text color to black */
  border: 2px solid #970302; /* Border color */
  text-align: center; /* Ensure text is centered */
}

.num-card:hover {
  box-shadow: none; /* Keep it consistent without shadow on hover */
}

.num-title, .num-big {
  font-size: 30px; /* Decreased font size */
  font-weight: bold;
  color: #000; /* Set text color to black */
  margin: 5px;
  padding: 5px;
  background: none; /* Remove background color */
}

.cat {
  width: 100%;
  margin: auto;
  padding: 10px;
}

.cat ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}

.cat ul li a {
  display: inline-block;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 2px;
  padding: 5px;
  min-width: 200px;
  text-align: center;
  font-size: 95%;
  margin: 2px 5px;
  cursor: pointer;
}

.cat .mw-selflink {
  background: #4ca40b;
  color: #ffffff;
  box-shadow: 0.5px 0.866px 5px 0 rgba(0, 0, 0, 0.21);
}

.cat ul li a:hover {
  background: #4ca40b;
  color: #ffffff;
  box-shadow: 0.5px 0.866px 5px 0 rgba(0, 0, 0, 0.21);
  transition-duration: 0.5s;
}