"ഫലകം:Header4/styles.css" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം

1,152 ബൈറ്റുകൾ കൂട്ടിച്ചേർത്തിരിക്കുന്നു ,  30 സെപ്റ്റംബർ
തിരുത്തലിനു സംഗ്രഹമില്ല
('→‎Container: #mp-topbanner { width: 100%; background: #fff; margin: 10px 0; padding: 15px; border-radius: 10px; box-shadow: 0px 4px 8px rgba(0,0,0,0.1); text-align: center; display: flex; flex-direction: column; align-items: center; } →‎Title: #mp-topbanner .banner-title { font-size: 2rem; →‎~32px desktop: font-weight: bold; color: #004EC3; margin: 10px 0; } /* Single image cent...' താൾ സൃഷ്ടിച്ചിരിക്കുന്നു)
 
No edit summary
 
(ഒരേ ഉപയോക്താവ് ചെയ്ത ഇടയ്ക്കുള്ള 25 നാൾപ്പതിപ്പുകൾ പ്രദർശിപ്പിക്കുന്നില്ല)
വരി 1: വരി 1:
/* Container */
/* Container */
#mp-topbanner {
#mp-topbanner {
   width: 100%;
   width: 96%;
   background: #fff;
  max-width: 1200px;
   margin: 10px 0;
   background: linear-gradient(135deg,#ddfbd7,#fff);
   padding: 15px;
   margin: 10px auto;
   border-radius: 10px;
   padding: 20px;
   box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
   border-radius: 12px;
   text-align: center;
  border: 3px solid #7BBCE5;
   box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
 
/* Flex container */
#mp-topbanner .banner-container {
  display: flex;
   flex-direction: row;
  align-items: flex-start;
  gap: 1rem;
  padding: 5px 10px;
}
 
/* Left (Image) */
#mp-topbanner .banner-left {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
 
#mp-topbanner .banner-left img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
}
 
/* Right (Text) */
#mp-topbanner .banner-right {
  flex: 2;
  font-size: 1rem;
  line-height: 1.6;
   display: flex;
   display: flex;
   flex-direction: column;
   flex-direction: column;
   align-items: center;
   justify-content: center;
  text-align: left;
  padding: 10px 0;
}
}


/* Title */
/* Title */
#mp-topbanner .banner-title {
#mp-topbanner .banner-title {
   font-size: 2rem;   /* ~32px desktop */
   font-size: 2rem;
   font-weight: bold;
   font-weight: bold;
   color: #004EC3;
   color: #004EC3;
   margin: 10px 0;
   margin: 15px 5px;
}
  text-align: center;
 
   line-height: 1.2;
/* Single image centered */
#mp-topbanner .banner-image {
  margin: 20px 0;
}
#mp-topbanner .banner-image img {
   max-width: 100% !important;
  height: auto !important;
  display: block;
  margin: 0 auto;
}
}


/* Description */
/* Description */
#mp-topbanner .banner-desc {
#mp-topbanner .banner-desc {
   font-size: 1.2rem; /* ~19px */
   font-size: 1rem;
   color: #333;
   color: #333;
   margin: 10px 0;
   margin:0;
  line-height: 1.6em;
}
#mp-topbanner .banner-desc p {
margin:0;
}
}
/* Stats */
/* Stats */
#mp-topbanner .banner-stats {
#mp-topbanner .banner-stats {
   font-size: 1rem;   /* ~16px */
   font-size: 0.9rem;
   color: #444;
   color: #444;
  margin-top: 15px;
   line-height: 1.6em;
   line-height: 1.6em;
  margin: 0;
}
#mp-topbanner .banner-stats p {
margin:0;
}
/* Links */
.banner-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 5px;
}
.banner-links a {
  display: inline-block;
  padding: 8px 15px;
  background-color: #004EC3;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s;
}
}


/* Responsive tweaks */
.banner-links a:hover {
  background-color: #003A9B;
}
/* Responsive: stack on small screens */
@media (max-width: 768px) {
@media (max-width: 768px) {
  #mp-topbanner .banner-container {
    flex-direction: column;
    align-items: center;
    padding: 0.5rem;
  }
  #mp-topbanner .banner-right {
    text-align: center;
    padding: 10px 0;
  }
   #mp-topbanner .banner-title {
   #mp-topbanner .banner-title {
     font-size: 1.5rem; /* ~24px */
     font-size: 1.6rem;
   }
   }
   #mp-topbanner .banner-desc {
   #mp-topbanner .banner-desc {
     font-size: 1rem;
     font-size: 1.1rem;
   }
   }
   #mp-topbanner .banner-stats {
   .banner-links {
     font-size: 0.9rem;
     justify-content: center;
   }
   }
}
}


/* Extra small screens */
@media (max-width: 480px) {
@media (max-width: 480px) {
  #mp-topbanner {
    padding: 10px;
  }
   #mp-topbanner .banner-title {
   #mp-topbanner .banner-title {
     font-size: 1.2rem; /* ~20px */
     font-size: 1.4rem;
   }
   }
   #mp-topbanner .banner-desc {
   #mp-topbanner .banner-desc {
     font-size: 0.95rem;
     font-size: 1rem;
  }
.banner-links {
    flex-direction: column;
    align-items: center;
   }
   }
   #mp-topbanner .banner-stats {
 
     font-size: 0.85rem;
   .banner-links a {
     width: 100%;
    text-align: center;
   }
   }
}
}
"https://schoolwiki.in/പ്രത്യേകം:മൊബൈൽവ്യത്യാസം/2865431...2866245" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്