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

390 ബൈറ്റുകൾ കൂട്ടിച്ചേർത്തിരിക്കുന്നു ,  30 സെപ്റ്റംബർ
തിരുത്തലിനു സംഗ്രഹമില്ല
(Ranjithsiji (സംവാദം) ചെയ്ത നാൾപ്പതിപ്പ് 2865988 നീക്കം ചെയ്യുന്നു)
റ്റാഗ്: തിരസ്ക്കരിക്കൽ
No edit summary
വരി 6: വരി 6:
   padding: 20px 15px;
   padding: 20px 15px;
   border-radius: 12px;
   border-radius: 12px;
   text-align: center;
   border: 3px solid #7BBCE5;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
 
   display: flex;
   display: flex;
   flex-direction: column;
   flex-direction: row;   /* Image left, text right on desktop */
   align-items: center;
   align-items: center;
   border: 3px solid #7BBCE5;  
   gap: 20px;
   box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  text-align: left;     /* Default text alignment */
   box-sizing: border-box;
}
}


/* 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;
വരി 22: വരി 25:
}
}


/* Single image centered */
/* Image Section */
#mp-topbanner .banner-image {
#mp-topbanner .banner-image {
   margin: 15px 0;
   flex: 1 1 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}
}
#mp-topbanner .banner-image img {
#mp-topbanner .banner-image img {
വരി 30: വരി 36:
   height: auto !important;
   height: auto !important;
   display: block;
   display: block;
  margin: 0 auto;
   border-radius: 8px;
   border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
/* Text Section */
#mp-topbanner .banner-text {
  flex: 1 1 60%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
}


/* Description */
#mp-topbanner .banner-desc {
#mp-topbanner .banner-desc {
   font-size: 1.2rem; /* ~19px */
   font-size: 1.2rem;
   color: #333;
   color: #333;
  margin: 10px 0;
   line-height: 1.6em;
   line-height: 1.6em;
}
}


/* Stats */
#mp-topbanner .banner-stats {
#mp-topbanner .banner-stats {
   font-size: 1rem;   /* ~16px */
   font-size: 1rem;
   color: #444;
   color: #444;
  margin-top: 15px;
   line-height: 1.6em;
   line-height: 1.6em;
  margin-top: 5px;
}
}


/* Responsive tweaks */
/* Responsive tweaks */
@media (max-width: 768px) {
@media (max-width: 768px) {
  #mp-topbanner {
    flex-direction: column; /* Stack vertically */
    text-align: center;
  }
   #mp-topbanner .banner-title {
   #mp-topbanner .banner-title {
     font-size: 1.5rem; /* ~24px */
     font-size: 1.5rem;
   }
   }
   #mp-topbanner .banner-desc {
   #mp-topbanner .banner-desc {
വരി 60: വരി 75:
   #mp-topbanner .banner-stats {
   #mp-topbanner .banner-stats {
     font-size: 0.9rem;
     font-size: 0.9rem;
  }
  #mp-topbanner .banner-text {
    align-items: center; /* Center align text under image */
   }
   }
}
}
വരി 65: വരി 83:
@media (max-width: 480px) {
@media (max-width: 480px) {
   #mp-topbanner .banner-title {
   #mp-topbanner .banner-title {
     font-size: 1.2rem; /* ~20px */
     font-size: 1.2rem;
   }
   }
   #mp-topbanner .banner-desc {
   #mp-topbanner .banner-desc {
"https://schoolwiki.in/പ്രത്യേകം:മൊബൈൽവ്യത്യാസം/2865993" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്