Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
 
(30 intermediate revisions by one other user not shown)
Line 5: Line 5:
}
}


.leftBox {
.boxWrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  flex-wrap: wrap;
}


   float: left;  
.frontBox {
   width: 40%;  
   width: 40%;
   background-color: rgb(231, 231, 231);  
   min-width: 340px;
   color: black;  
   background-color: rgb(29, 35, 48);
   color: white;
   border: 2px solid black;  
   border: 2px solid black;  
   margin-top: 1.5em;  
   margin-top: 1.5em;  
Line 18: Line 24:
   margin-bottom: 1.5em;  
   margin-bottom: 1.5em;  
   border-radius: 25px;  
   border-radius: 25px;  
}


.leftBox {
  float: left;
}
}


.rightBox {
.rightBox {
  float: right;
}


  float: right;
html.skin-citizen-light div.frontBox {
  width: 40%;
    background-color: lightgrey !important;
  background-color: rgb(231, 231, 231);  
    color: black !important;
  color: black;  
}
  border: 2px solid black;
  margin-top: 1.5em;
  padding: 2px;
  padding-top: 0;
  text-align: center;
  margin-bottom: 1.5em;
  border-radius: 25px;


html.skin-citizen-dark div.frontBox {
    background-color: rgb(29, 35, 48) !important;
    color: white !important;
}
}


a {
a, .external.text {
 
   color: #337ab7;
   color: #337ab7;
   font-weight: 600; !important;
   font-weight: 600 !important;
   text-decoration: underline;
   text-decoration: underline;
}
.tag-header {
  border: 1px solid;
  padding: 1em 0 0 1em;
  padding-top: 1em;
  padding-right: 0px;
  padding-bottom: 0px;
  padding-left: 1em;
  font-size: larger;
  margin: 0 1em 1em 1em;
}
.citizen-header__inner {
  justify-content: flex-start !important;
}
@media screen and (min-width: 1120px) {
    .citizen-toc-enabled .citizen-body-container {
        display: grid;
        grid-template-areas:
        'header header header'
        'sidebar content adspace'
        'footer footer footer';
        grid-template-columns: var(--width-toc) minmax(0, var(--width-layout)) 300px;
    }
  .citizen-toc-enabled .citizen-body-container .citizen-body-adspace {
      display: flex;
      flex-direction: column;
      grid-area: adspace;
      gap: var(--space-sm);
      padding-left: var(--space-xs);
      margin-top: var(--space-sm);
      margin-left: calc(var(--space-xs)* -1);
    }
    .citizen-userMenu__card {
      bottom: 80px;
    }
    .citizen-body-container .citizen-header-adspace {
      min-height: 90px;
    }
    .citizen-body-container .citizen-header-adspace .adthrive-header {
      margin-top: 0 !important;
  }
}
@media screen and (max-width: 1119px) {
    .citizen-header {
        top: 0 !important;
        bottom: auto;
    }
    .citizen-body-container {
      margin-top: 45px;
    }
    .page-actions {
        top: calc(var(--header-size) + var(--space-xs));
    }
    .page-actions__card {
        top: 100%;
        bottom: auto;
    }
    .citizen-drawer__card {
        top: 100%;
        bottom: auto;
    }
    .citizen-userMenu__card {
        top: 100%;
        bottom: auto;
        left: 0;
        right: auto;
    }
}
:root.citizen-feature-custom-width-clientpref-standard {
  --width-layout: 1280px;
}
}

Latest revision as of 14:15, 30 May 2024

 .toclimit-2 .toclevel-1 ul, .toclimit-3 .toclevel-2 ul, .toclimit-4 .toclevel-3 ul, .toclimit-5 .toclevel-4 ul, .toclimit-6 .toclevel-5 ul, .toclimit-7 .toclevel-6 ul {

  display: none;

}

.boxWrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

.frontBox {
  width: 40%;
  min-width: 340px;
  background-color: rgb(29, 35, 48);
  color: white;
  border: 2px solid black; 
  margin-top: 1.5em; 
  padding: 2px; 
  padding-top: 0; 
  text-align: center; 
  margin-bottom: 1.5em; 
  border-radius: 25px; 
}

.leftBox {
  float: left; 
}

.rightBox {
  float: right;
}

html.skin-citizen-light div.frontBox {
    background-color: lightgrey !important;
    color: black !important;
}

html.skin-citizen-dark div.frontBox {
    background-color: rgb(29, 35, 48) !important;
    color: white !important;
}

a, .external.text {

  color: #337ab7;
  font-weight: 600 !important;
  text-decoration: underline;

}

.tag-header {
  border: 1px solid;
  padding: 1em 0 0 1em;
  padding-top: 1em;
  padding-right: 0px;
  padding-bottom: 0px;
  padding-left: 1em;
  font-size: larger;
  margin: 0 1em 1em 1em;
}

.citizen-header__inner {
  justify-content: flex-start !important;
}

@media screen and (min-width: 1120px) {
    .citizen-toc-enabled .citizen-body-container {
        display: grid;
        grid-template-areas:
        'header header header'
        'sidebar content adspace'
        'footer footer footer';
        grid-template-columns: var(--width-toc) minmax(0, var(--width-layout)) 300px;
    }

   .citizen-toc-enabled .citizen-body-container .citizen-body-adspace {
       display: flex;
       flex-direction: column;
       grid-area: adspace;
       gap: var(--space-sm);
       padding-left: var(--space-xs);
       margin-top: var(--space-sm);
       margin-left: calc(var(--space-xs)* -1);
    }

    .citizen-userMenu__card {
       bottom: 80px;
    }


    .citizen-body-container .citizen-header-adspace {
       min-height: 90px;
    }

    .citizen-body-container .citizen-header-adspace .adthrive-header { 
      margin-top: 0 !important;
   }
}


@media screen and (max-width: 1119px) {
    .citizen-header {
        top: 0 !important;
        bottom: auto;
    }

    .citizen-body-container {
      margin-top: 45px;
    }

    .page-actions {
        top: calc(var(--header-size) + var(--space-xs));
    }
    .page-actions__card {
        top: 100%;
        bottom: auto;
    }
    .citizen-drawer__card {
        top: 100%;
        bottom: auto;
    }
     .citizen-userMenu__card {
        top: 100%;
        bottom: auto;
        left: 0;
        right: auto;
     }
}

:root.citizen-feature-custom-width-clientpref-standard {
  --width-layout: 1280px;
}