MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
 
(37 intermediate revisions by 2 users not shown)
Line 223: Line 223:
}
}


/* Display "From Wikipedia, the free encyclopedia" in skins that support it,
/* Display "From Chabadpedia, the free encyclopedia" in skins that support it,
  do not apply to print mode */
  do not apply to print mode */
#siteSub {
#siteSub {
Line 427: Line 427:
body.page-Main_Page #siteSub{
body.page-Main_Page #siteSub{
     display : none;
     display : none;
}
.widget-box{
  background-color : #f8f8ff;
  padding:7px;
  margin-bottom:10px;
  border-radius : 0.6em 0.6em 0 0 ;
}
.widget-box .widget-header {
  background : #f5f5f5;
  border : 1px solid #d3d3d3;
  border-radius : 0.5em 0.5em 0 0 ;
  padding : 7px;
  margin-bottom : 7px;
}
.widget-box .widget-header h3 {
  margin-top : 0;
  padding-top:0;
}
/* Base Grid Container */
.ab-row {
  display: flex;
  flex-wrap: wrap;
  justify-content:center;
}
.ab-col {
  padding-left: 15px;
  padding-right: 15px;
  flex: 1 0 0%;
}
/* Column Sizes - Mobile First */
[class*="ab-col-"] {
  flex: 0 0 auto;
}
.ab-col-1  { flex: 0 0 8.3333%;  max-width: 8.3333%; }
.ab-col-2  { flex: 0 0 16.6667%; max-width: 16.6667%; }
.ab-col-3  { flex: 0 0 25%;      max-width: 25%; }
.ab-col-4  { flex: 0 0 33.3333%; max-width: 33.3333%; }
.ab-col-5  { flex: 0 0 41.6667%; max-width: 41.6667%; }
.ab-col-6  { flex: 0 0 50%;      max-width: 50%; }
.ab-col-7  { flex: 0 0 58.3333%; max-width: 58.3333%; }
.ab-col-8  { flex: 0 0 66.6667%; max-width: 66.6667%; }
.ab-col-9  { flex: 0 0 75%;      max-width: 75%; }
.ab-col-10 { flex: 0 0 83.3333%; max-width: 83.3333%; }
.ab-col-11 { flex: 0 0 91.6667%; max-width: 91.6667%; }
.ab-col-12 { flex: 0 0 100%;    max-width: 100%; }
/* Responsive Breakpoints */
/* Small devices (≥576px) */
@media (min-width: 576px) {
  .ab-col-sm-1  { flex: 0 0 8.3333%;  max-width: 8.3333%; }
  .ab-col-sm-2  { flex: 0 0 16.6667%; max-width: 16.6667%; }
  .ab-col-sm-3  { flex: 0 0 25%;      max-width: 25%; }
  .ab-col-sm-4  { flex: 0 0 33.3333%; max-width: 33.3333%; }
  .ab-col-sm-5  { flex: 0 0 41.6667%; max-width: 41.6667%; }
  .ab-col-sm-6  { flex: 0 0 50%;      max-width: 50%; }
  .ab-col-sm-7  { flex: 0 0 58.3333%; max-width: 58.3333%; }
  .ab-col-sm-8  { flex: 0 0 66.6667%; max-width: 66.6667%; }
  .ab-col-sm-9  { flex: 0 0 75%;      max-width: 75%; }
  .ab-col-sm-10 { flex: 0 0 83.3333%; max-width: 83.3333%; }
  .ab-col-sm-11 { flex: 0 0 91.6667%; max-width: 91.6667%; }
  .ab-col-sm-12 { flex: 0 0 100%;    max-width: 100%; }
}
/* Medium devices (≥768px) */
@media (min-width: 768px) {
  .ab-col-md-1  { flex: 0 0 8.3333%;  max-width: 8.3333%; }
  .ab-col-md-2  { flex: 0 0 16.6667%; max-width: 16.6667%; }
  .ab-col-md-3  { flex: 0 0 25%;      max-width: 25%; }
  .ab-col-md-4  { flex: 0 0 33.3333%; max-width: 33.3333%; }
  .ab-col-md-5  { flex: 0 0 41.6667%; max-width: 41.6667%; }
  .ab-col-md-6  { flex: 0 0 50%;      max-width: 50%; }
  .ab-col-md-7  { flex: 0 0 58.3333%; max-width: 58.3333%; }
  .ab-col-md-8  { flex: 0 0 66.6667%; max-width: 66.6667%; }
  .ab-col-md-9  { flex: 0 0 75%;      max-width: 75%; }
  .ab-col-md-10 { flex: 0 0 83.3333%; max-width: 83.3333%; }
  .ab-col-md-11 { flex: 0 0 91.6667%; max-width: 91.6667%; }
  .ab-col-md-12 { flex: 0 0 100%;    max-width: 100%; }
}
/* Large devices (≥992px) */
@media (min-width: 992px) {
  .ab-col-lg-1  { flex: 0 0 8.3333%;  max-width: 8.3333%; }
  .ab-col-lg-2  { flex: 0 0 16.6667%; max-width: 16.6667%; }
  .ab-col-lg-3  { flex: 0 0 25%;      max-width: 25%; }
  .ab-col-lg-4  { flex: 0 0 33.3333%; max-width: 33.3333%; }
  .ab-col-lg-5  { flex: 0 0 41.6667%; max-width: 41.6667%; }
  .ab-col-lg-6  { flex: 0 0 50%;      max-width: 50%; }
  .ab-col-lg-7  { flex: 0 0 58.3333%; max-width: 58.3333%; }
  .ab-col-lg-8  { flex: 0 0 66.6667%; max-width: 66.6667%; }
  .ab-col-lg-9  { flex: 0 0 75%;      max-width: 75%; }
  .ab-col-lg-10 { flex: 0 0 83.3333%; max-width: 83.3333%; }
  .ab-col-lg-11 { flex: 0 0 91.6667%; max-width: 91.6667%; }
  .ab-col-lg-12 { flex: 0 0 100%;    max-width: 100%; }
}
.start-col div:first-child {
padding-inline-end : 30px;
}
.ab-w-100{
width : 100%;
}
.w-100-img img{
width : 100%;
height:auto;
}
.ab-col-3.ab-portal-box,.ab-col-md-3.ab-portal-box {
    min-height:200px !important;
    margin-bottom:30px;
}
.ab-col-3.ab-portal-box pre,.ab-col-md-3.ab-portal-box pre{
    background:transparent;
    border : 0px;
}
.ab-col-3.ab-portal-box pre,.ab-col-md-3.ab-portal-box pre{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:space-between;
    text-align:center; 
    height:100%;
    font-family : sans-serif;
    padding:0px;
    margin:0px;
    gap:20px;
}
.ab-portal-box{
  padding:15px;
  box-sizing:border-box;
}
.ab-col-3.ab-portal-box pre img,.ab-col-md-3.ab-portal-box pre img{
  width : 100%;
  height:auto;
  max-width:135px;
}
.ab-col-3.ab-portal-box pre span,.ab-col-md-3.ab-portal-box pre span {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}
.ab-latest-articles ul{
display: flex;
    flex-wrap: wrap;
    column-gap: 30px;
}
.page-Main_Page .catlinks {
    display: none;
}
.ab-col-3.ab-portal-box,.ab-col-md-2.ab-portal-box {
    min-height:200px !important;
    margin-bottom:30px;
}
.ab-col-3.ab-portal-box pre,.ab-col-md-2.ab-portal-box pre{
    background:transparent;
    border : 0px;
}
.ab-col-3.ab-portal-box pre,.ab-col-md-2.ab-portal-box pre{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:space-between;
    text-align:center; 
    height:100%;
    font-family : sans-serif;
    padding:0px;
    margin:0px;
    gap:20px;
}
.ab-col-3.ab-portal-box pre img,.ab-col-md-2.ab-portal-box pre img{
  width : 100%;
  height:auto;
  max-width:135px;
}
.ab-col-3.ab-portal-box pre span,.ab-col-md-2.ab-portal-box pre span {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}
@media (min-width: 992px) {
  .ab-col-md-for-5 {
    flex: 0 0 20%;
    max-width: 20%;
  }
}
.ab-row.ab-justify-content-between {
justify-content : space-between !important;
}
.ab-row.ab-justify-content-center {
justify-content : center !important;
}
.ab-col-3.ab-portal-box,.ab-col-md-2.ab-portal-box {
    min-height:200px !important;
    margin-bottom:30px;
}
.ab-col-3.ab-portal-box pre,.ab-col-md-2.ab-portal-box pre{
    background:transparent;
    border : 0px;
}
.ab-col-3.ab-portal-box pre,.ab-col-md-2.ab-portal-box pre{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:space-between;
    text-align:center; 
    height:100%;
    font-family : sans-serif;
    padding:0px;
    margin:0px;
    gap:20px;
}
.ab-col-3.ab-portal-box pre img,.ab-col-md-2.ab-portal-box pre img{
  width : 100%;
  height:auto;
  max-width:135px;
}
.ab-col-3.ab-portal-box pre span,.ab-col-md-2.ab-portal-box pre span {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}
/**/
.ab-col-md-for-5.ab-portal-box {
    min-height:200px !important;
    margin-bottom:30px;
}
.ab-col-md-for-5.ab-portal-box pre{
    background:transparent;
    border : 0px;
}
.ab-col-md-for-5.ab-portal-box pre{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:space-between;
    text-align:center; 
    height:100%;
    font-family : sans-serif;
    padding:0px;
    margin:0px;
    gap:20px;
}
.ab-col-md-for-5.ab-portal-box pre img{
  width : 100%;
  height:auto;
  max-width:135px;
}
.ab-col-md-for-5.ab-portal-box pre span {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}
@media screen and (max-width:767px){
.ab-no-home .ab-col-md-for-5.ab-portal-box pre b{
display:flex;
height:70px;
font-size:12px;
}
.ab-no-home .ab-col-md-for-5.ab-portal-box pre img{
width : 80% !important;
}
.ab-no-home .ab-col-md-for-5.ab-portal-box pre{
align-items:end;
}
.ab-no-home .ab-col-md-for-5.ab-portal-box{
min-height:50px !important;
margin-bottom:10px;
padding:8px !important;
}
.ab-no-home .ab-col-md-for-5.ab-portal-box pre span{
align-items:center !important;
}
}
}