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

Schoolwiki സംരംഭത്തിൽ നിന്ന്
No edit summary
No edit summary
 
(ഒരേ ഉപയോക്താവ് ചെയ്ത ഇടയ്ക്കുള്ള 15 നാൾപ്പതിപ്പുകൾ പ്രദർശിപ്പിക്കുന്നില്ല)
വരി 1: വരി 1:
/* Container */
/* Container */
        #mp-topbanner {
#mp-topbanner {
            width: 96%;
  width: 96%;
            max-width: 1200px;
  max-width: 1200px;
            background: linear-gradient(135deg, #f0f7ff, #ffffff);
  background: linear-gradient(135deg,#ddfbd7,#fff);
            margin: 10px auto;
  margin: 10px auto;
            padding: 20px;
  padding: 20px;
            border-radius: 12px;
  border-radius: 12px;
            border: 3px solid #7BBCE5;
  border: 3px solid #7BBCE5;
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
           
}
            display: flex;
 
            flex-direction: row;
/* Flex container */
            align-items: stretch;
#mp-topbanner .banner-container {
            gap: 20px;
  display: flex;
        }
  flex-direction: row;
       
  align-items: flex-start;
        /* Left (Image) */
  gap: 1rem;
        #mp-topbanner .banner-left {
  padding: 5px 10px;
            flex: 1;
}
            display: flex;
 
            align-items: center;
/* Left (Image) */
            justify-content: center;
#mp-topbanner .banner-left {
            overflow: hidden;
  flex: 1;
        }
  display: flex;
       
  align-items: center;
        #mp-topbanner .banner-left img {
  justify-content: center;
            width: 100%;
}
            height: auto;
 
            max-width: 100%;
#mp-topbanner .banner-left img {
            border-radius: 8px;
  max-width: 100%;
            box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  height: auto;
            object-fit: cover;
  border-radius: 8px;
            min-height: 200px;
  object-fit: contain;
        }
}
       
 
        /* Right (Text) */
/* Right (Text) */
        #mp-topbanner .banner-right {
#mp-topbanner .banner-right {
            flex: 2;
  flex: 2;
            display: flex;
  font-size: 1rem;
            flex-direction: column;
  line-height: 1.6;
            justify-content: center;
  display: flex;
            text-align: left;
  flex-direction: column;
            padding: 10px 0;
  justify-content: center;
        }
  text-align: left;
       
  padding: 10px 0;
        /* Title */
}
        #mp-topbanner .banner-title {
 
            font-size: 2rem;
/* Title */
            font-weight: bold;
#mp-topbanner .banner-title {
            color: #004EC3;
  font-size: 2rem;
            margin: 0 0 15px 0;
  font-weight: bold;
            line-height: 1.2;
  color: #004EC3;
        }
  margin: 15px 5px;
       
  text-align: center;
        /* Description */
  line-height: 1.2;
        #mp-topbanner .banner-desc {
}
            font-size: 1.2rem;
 
            color: #333;
/* Description */
            line-height: 1.6em;
#mp-topbanner .banner-desc {
            margin-bottom: 15px;
  font-size: 1rem;
        }
  color: #333;
       
  margin:0;
        /* Stats */
}
        #mp-topbanner .banner-stats {
#mp-topbanner .banner-desc p {
            font-size: 1rem;
margin:0;
            color: #444;
}
            line-height: 1.6em;
/* Stats */
            margin-bottom: 10px;
#mp-topbanner .banner-stats {
        }
  font-size: 0.9rem;
       
  color: #444;
        /* Links */
  line-height: 1.6em;
        .banner-links {
  margin: 0;
            display: flex;
}
            flex-wrap: wrap;
#mp-topbanner .banner-stats p {
            gap: 10px;
margin:0;
            margin-top: 10px;
}
        }
/* Links */
       
.banner-links {
        .banner-links a {
  display: flex;
            display: inline-block;
  flex-wrap: wrap;
            padding: 8px 15px;
  gap: 10px;
            background-color: #004EC3;
  margin-top: 5px;
            color: white;
}
            text-decoration: none;
 
            border-radius: 5px;
.banner-links a {
            font-weight: bold;
  display: inline-block;
            transition: background-color 0.3s;
  padding: 8px 15px;
        }
  background-color: #004EC3;
       
  color: white;
        .banner-links a:hover {
  text-decoration: none;
            background-color: #003A9B;
  border-radius: 5px;
        }
  font-weight: bold;
       
  transition: background-color 0.3s;
        /* Responsive: stack on small screens */
}
        @media (max-width: 768px) {
 
            #mp-topbanner {
.banner-links a:hover {
                flex-direction: column;
  background-color: #003A9B;
                padding: 15px;
}
                gap: 15px;
/* Responsive: stack on small screens */
            }
@media (max-width: 768px) {
           
  #mp-topbanner .banner-container {
            #mp-topbanner .banner-left,
    flex-direction: column;
            #mp-topbanner .banner-right {
    align-items: center;
                flex: 1 1 100%;
    padding: 0.5rem;
                max-width: 100%;
  }
            }
 
           
  #mp-topbanner .banner-right {
            #mp-topbanner .banner-right {
    text-align: center;
                text-align: center;
    padding: 10px 0;
                margin-top: 0;
  }
            }
 
           
  #mp-topbanner .banner-title {
            #mp-topbanner .banner-title {
    font-size: 1.6rem;
                font-size: 1.6rem;
  }
            }
 
           
  #mp-topbanner .banner-desc {
            #mp-topbanner .banner-desc {
    font-size: 1.1rem;
                font-size: 1.1rem;
  }
            }
  .banner-links {
           
    justify-content: center;
            .banner-links {
  }
                justify-content: center;
}
            }
 
        }
/* Extra small screens */
       
@media (max-width: 480px) {
        /* Extra small screens */
  #mp-topbanner {
        @media (max-width: 480px) {
    padding: 10px;
            #mp-topbanner {
  }
                padding: 10px;
 
            }
  #mp-topbanner .banner-title {
           
    font-size: 1.4rem;
            #mp-topbanner .banner-title {
  }
                font-size: 1.4rem;
 
            }
  #mp-topbanner .banner-desc {
           
    font-size: 1rem;
            #mp-topbanner .banner-desc {
  }
                font-size: 1rem;
.banner-links {
            }
    flex-direction: column;
           
    align-items: center;
            .banner-links {
  }
                flex-direction: column;
 
                align-items: center;
  .banner-links a {
            }
    width: 100%;
           
    text-align: center;
            .banner-links a {
  }
                width: 100%;
}
                text-align: center;
            }
        }

12:20, 30 സെപ്റ്റംബർ 2025-നു നിലവിലുള്ള രൂപം

/* Container */
#mp-topbanner {
  width: 96%;
  max-width: 1200px;
  background: linear-gradient(135deg,#ddfbd7,#fff);
  margin: 10px auto;
  padding: 20px;
  border-radius: 12px;
  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;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  padding: 10px 0;
}

/* Title */
#mp-topbanner .banner-title {
  font-size: 2rem;
  font-weight: bold;
  color: #004EC3;
  margin: 15px 5px;
  text-align: center;
  line-height: 1.2;
}

/* Description */
#mp-topbanner .banner-desc {
  font-size: 1rem;
  color: #333;
  margin:0;
}
#mp-topbanner .banner-desc p {
margin:0;
}
/* Stats */
#mp-topbanner .banner-stats {
  font-size: 0.9rem;
  color: #444;
  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;
}

.banner-links a:hover {
  background-color: #003A9B;
}
/* Responsive: stack on small screens */
@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 {
    font-size: 1.6rem;
  }

  #mp-topbanner .banner-desc {
    font-size: 1.1rem;
  }
  .banner-links {
    justify-content: center;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  #mp-topbanner {
    padding: 10px;
  }

  #mp-topbanner .banner-title {
    font-size: 1.4rem;
  }

  #mp-topbanner .banner-desc {
    font-size: 1rem;
  }
.banner-links {
    flex-direction: column;
    align-items: center;
  }

  .banner-links a {
    width: 100%;
    text-align: center;
  }
}
"https://schoolwiki.in/index.php?title=ഫലകം:Header4/styles.css&oldid=2866245" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്