MediaWiki:Common.css: Difference between revisions

From Luminys WIKI
No edit summary
No edit summary
Line 53: Line 53:
.wikitable tr > th, .wikitable tr > td {
.wikitable tr > th, .wikitable tr > td {
   padding-left: 15px;
   padding-left: 15px;
   border-bottom: 0;
   border-bottom-color: #fff;
}
}
.wikitable tr > th {
.wikitable tr > th {

Revision as of 09:08, 20 September 2024

/* http://mediawiki.i.donnie.fun:8085/MediaWiki:Common.css */

/* CSS placed here will be applied to all skins */

#mw-content-container {
  background-color: #f5f5f5;
}
#mw-content {
  background-color: #f5f5f5;
  box-shadow: none;
}

/*  TAB */
a.tabber__tab {
  background: #f0f0f0;
  border: 1px solid #d6d6d6;
  margin-right: 8px;
  border-bottom: none;
}
nav.tabber__tabs {
  background: none;
}
section.tabber__section {
  background-color: #fff;
  padding-bottom: 40px;
}
.tabber__tab {
  font-weight: unset;
  min-width: 90px;
  text-align: center;
}
.tabber__tab[aria-selected='true'] {
  color: #00C8FF !important;    
  border: none; 
  background-color: #fff;
  box-shadow: none;
}

.tabber__tab[aria-selected='true']:visited {
  box-shadow: none;
}
.tabber__header {
  box-shadow: none;
}
article.tabber__panel{
}
/* TAB END */

/* TABLE */
table.wikitable {
  width: 100%;
}
.wikitable tr > th, .wikitable tr > td {
  padding-left: 15px;
  border-bottom-color: #fff;
}
.wikitable tr > th {
  background-color: #fff;
  padding-top: 9px; padding-bottom: 9px;
}
.wikitable tr:nth-child(even) > td {
  background-color: #fff;
}
.wikitable tr:nth-child(odd) > td {
  background-color: #f3f3f3;
}
.wikitable tr > td img {
  max-height: 60px;
}
/* TABLE END */

.mw-body .mw-heading2, .mw-body h2{
  font-size: 36px;
  border-bottom: none;
}

#mw-content {
  padding: 0 0 0 0;
  border : none;
  max-width: 1280px;
  /* margin: 0 auto; */
  margin: 50px auto;
}
#mw-footer-container{
  display: none;
}
#mw-content-container {
  border-bottom: none;
  padding-bottom: 70px;
}

body {
  font-size: 18px;
}
#mw-related-navigation-aaa{display:none}
#footer-icons{ display:none }

table.main-table {
  margin-top: 10px;
}
table.main-table td, table.main-table th{
  padding-left: 10px;
  padding-right: 10px;
}

.lm-main-3{
  width:33%;
  /* border: 1px solid black; */
  margin: 10px;
  padding: 10px;
}

.img100 img{
  max-width: 100px;
}
.img100 a{
  background-image: none !important;
  /* display: block;
  width: 100px;
  height: 100px; */
}

.my-img{
    max-width: 100px;
}


#toc{display:none;}
#mw-content-container{background-image:none;}
#p-logo-text #p-banner{display:none;}
#p-logo{display:none;}
#lm-header{    display: flex;    justify-content:space-around;    list-style-type:none;}
#lm-header li a{ color:black; cursor: pointer; margin-right:40px; font-size: 16px;}

nav.tabber__tabs{

}
a.tabber__tab{

}

#firstHeading {
display:none;
}

#mw-header-lm-title{
  position: absolute;
  width:auto;
  top: 180px;
  /* //left: 50%; */
  font-size:2em;
  left: calc( (100% - 1280px)/2 );
}
#mw-header-hack{display:none;}

#mw-header-container{
  /* height:456px; */
  width: 100%;
  height: 460px;/*24vw;*/
  background: lightgray;
  position: relative;
  padding-top: 100px;
}
#mw-header{
  height:200px;

}
#mw-content-container{
  margin-top: 0;
}

.lm-banner{
  display: none;
}

#user-tools {
  position: absolute;
  top: 9px;
  right: calc((100% - 1280px) / 2);
  text-align: right;
}
#user-tools #personal-inner{
  text-align: left;
}
#user-tools #personal h2{
  background-position: left 14px;
}

#p-logo-text{
  display: none;
}

#searchform{
  width: calc(640px);
  margin-left: calc((100% - 1280px) / 2);
  position: absolute;
  top: 340px;
}

@media screen and (min-width: 851px) {
  .ts-inner {
      /* max-width: 115em;
      box-sizing: border-box; */
      padding: 0 0;
      /* margin: auto; */
  }
}

:root{
  --scrollbar-width: calc(100vw - 100%);
}

.bg-white{
  background-color: white;
  padding-top: 50px;
  padding-bottom: 50px;
  /* margin-left: calc(640px - 50vw );
  width: calc(100vw  ); */
  /* width: calc(100vw - var(--scrollbar-width) ); */
  /* width: 100vw; */
}

.lm-btn-link{
  background-color: #00C8FF;
  padding: 8px 80px;
  color: white;
}
.lm-btn-link:hover{
  color: white;
}
.center{
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  display: block;
  width: fit-content;
}

body {
  /* width: calc(100vw - (100vw - 100%)); */

  /* overflow-x: hidden; */
}


/* unlogin */
#mw-page-header-links  { display: none;}
#mw-site-navigation    { display: none;}
#mw-related-navigation { display: none;}