Jump to content
സഹായം

ಪ್ರವೇಶಿಸಿರಿ (ಸಹಾಯ)
உள்ளேற (உதவி)

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

344 ബൈറ്റുകൾ നീക്കംചെയ്തിരിക്കുന്നു ,  30 സെപ്റ്റംബർ
തിരുത്തലിനു സംഗ്രഹമില്ല
No edit summary
No edit summary
വരി 10: വരി 10:


   display: flex;
   display: flex;
   flex-direction: row;  /* side by side on desktop */
   flex-direction: row;  /* side by side */
   align-items: flex-start;
   align-items: stretch;
   gap: 20px;
   gap: 20px;
   box-sizing: border-box;
   box-sizing: border-box;
വരി 18: വരി 18:
/* Left (Image) */
/* Left (Image) */
#mp-topbanner .banner-left {
#mp-topbanner .banner-left {
   flex: 0 0 35%;  /* 35% width on desktop */
   flex: 1;  /* image takes 1 share */
   max-width: 350px;
   display: flex;
  align-items: center;
  justify-content: center;
}
}
#mp-topbanner .banner-left img {
#mp-topbanner .banner-left img {
   width: 100%;
   width: 100%;
   height: auto;
   height: auto;
   display: block;
   max-width: 100%;
   border-radius: 8px;
   border-radius: 8px;
   box-shadow: 0 4px 10px rgba(0,0,0,0.15);
   box-shadow: 0 4px 10px rgba(0,0,0,0.15);
വരി 31: വരി 33:
/* Right (Text) */
/* Right (Text) */
#mp-topbanner .banner-right {
#mp-topbanner .banner-right {
   flex: 1;  /* take remaining space */
   flex: 2;  /* text takes 2 shares */
   display: flex;
   display: flex;
   flex-direction: column;
   flex-direction: column;
വരി 61: വരി 63:
}
}


/* Responsive: Mobile */
/* Responsive: stack on small screens */
@media (max-width: 768px) {
@media (max-width: 768px) {
   #mp-topbanner {
   #mp-topbanner {
വരി 67: വരി 69:
     text-align: center;
     text-align: center;
   }
   }
   #mp-topbanner .banner-left,
   #mp-topbanner .banner-left,
   #mp-topbanner .banner-right {
   #mp-topbanner .banner-right {
വരി 73: വരി 74:
     max-width: 100%;
     max-width: 100%;
   }
   }
   #mp-topbanner .banner-right {
   #mp-topbanner .banner-right {
     text-align: center;
     text-align: center;
     margin-top: 15px;
     margin-top: 15px;
  }
  #mp-topbanner .banner-title {
    font-size: 1.5rem;
  }
  #mp-topbanner .banner-desc {
    font-size: 1rem;
  }
  #mp-topbanner .banner-stats {
    font-size: 0.9rem;
  }
}
@media (max-width: 480px) {
  #mp-topbanner .banner-title {
    font-size: 1.2rem;
  }
  #mp-topbanner .banner-desc {
    font-size: 0.95rem;
  }
  #mp-topbanner .banner-stats {
    font-size: 0.85rem;
   }
   }
}
}
"https://schoolwiki.in/പ്രത്യേകം:മൊബൈൽവ്യത്യാസം/2865999" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്