MediaWiki:Common.css: Difference between revisions

From Luminys WIKI
No edit summary
Tag: Reverted
No edit summary
 
(60 intermediate revisions by 2 users not shown)
Line 2: Line 2:


/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
body {
  background: white !important;
}


#mw-content-container {
#mw-content-container {
Line 10: Line 14:
   box-shadow: none;
   box-shadow: none;
}
}
#p-namespaces-aaaa {
  float: right;
  margin-left: 40px;
}
#bodyContentOuter-aaa {margin-top: -32px;}
#mw-page-header-links {margin-top: 26px;}


/*  TAB */
/*  TAB */
Line 25: Line 35:
   background-color: #fff;
   background-color: #fff;
   /*padding-bottom: 40px; Adding extra white color space to the bottom outside of the table*/
   /*padding-bottom: 40px; Adding extra white color space to the bottom outside of the table*/
}
section.tabber__section .nowhite {
  background-color: lightgray;
}
}
.tabber__tab {
.tabber__tab {
Line 54: Line 61:
table.wikitable {
table.wikitable {
   width: 100%;
   width: 100%;
  text-align: center;
}
}
.wikitable tr > th, .wikitable tr > td {
.wikitable tr > th, .wikitable tr > td {
Line 149: Line 157:
#lm-header{    display: flex;    justify-content:space-around;    list-style-type: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;}
#lm-header li a{ color:black; cursor: pointer; margin-right:40px; font-size: 16px;}
@media screen and (max-width: 850px) {
  #site-navigation{display:none;}
  #site-tools{display:none;}
}


nav.tabber__tabs{
nav.tabber__tabs{
Line 193: Line 205:


#user-tools {
#user-tools {
   position: absolute;
   position: fixed;
  /*position: absolute;*/
   top: 9px;
   top: 9px;
   right: calc((100% - 1280px) / 2);
   right: calc((100% - 1280px) / 2);
   text-align: right;
   text-align: right;
  z-index: 2;
}
}
#user-tools #personal-inner{
#user-tools #personal-inner{
Line 203: Line 217:
#user-tools #personal h2{
#user-tools #personal h2{
   background-position: left 14px;
   background-position: left 14px;
}
#personal h2 span{
  display: none;
}
}


Line 209: Line 226:
}
}


.lm-wiki-header {
  position: fixed !important;
  z-index: 1;
  box-shadow: 0 0 5px gray;
}


@media screen and (min-width: 851px) {
@media screen and (min-width: 851px) {
Line 337: Line 359:


}
}
/*
 
#p-search {
#p-search {
   position: absolute;
   position: absolute;  
   top: 340px;
   top: 12px; left: 180px;
   left: 0;
  /*top: 340px;*/
   /*left: 0;*/
   width: 100%;
   width: 100%;
  z-index: 2;
}
}
*/
 
#searchform{
#searchform{
   //width: calc(640px);
   //width: calc(640px);
Line 351: Line 375:
   margin: 0 auto;
   margin: 0 auto;
}
}
#simpleSearch { width: 640px; }
#simpleSearch {  
  width: calc(1280px - 245px);
  max-width: calc(100vw - 205px);
  position: fixed;
  /*width: 640px; */
}
   
   
@media screen and (max-width: 850px) {
@media screen and (max-width: 850px) {
   #simpleSearch { max-width: calc(100vw - 20px); }
   #simpleSearch {
    /*max-width: calc(100vw - 20px); */
    max-width: calc(100vw - 205px);
  }
   #searchform{
   #searchform{
     margin-left: 0;
     margin-left: 0;
     max-width: 100vw;
     max-width: 100vw;
   }
   }
  #searchInput {
    padding: 0.4em 2.0em 0.2em 0.9em;
  }
  #searchButton, #mw-searchButton {
    right: 0 !important;
  }
}
label[for=searchInput]{
  display:none;
}
}


#mw-indicator-mw-helplink { display: none;}
#mw-indicator-mw-helplink { display: none;}
a[href*='title=Special:Search'][href*='profile=advanced'] { display: none;}
a[href*='title=Special:Search'][href*='profile=advanced'] { display: none;}
#p-search {  /* Assuming #p-search is the element that needs to be positioned */
  position: absolute;
  top: 340px;
  left: 0;
  width: 100%;
  transition: top 0.3s ease;
}
.sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

Latest revision as of 15:36, 9 December 2024

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

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

body {
  background: white !important;
}

#mw-content-container {
  background-color: #f5f5f5;
}
#mw-content {
  background-color: #f5f5f5;
  box-shadow: none;
}
#p-namespaces-aaaa {
  float: right;
  margin-left: 40px;
}
#bodyContentOuter-aaa {margin-top: -32px;}
#mw-page-header-links {margin-top: 26px;}

/*  TAB */
a.tabber__tab {
  background: #f0f0f0;
  border: 1px solid #d6d6d6;
  margin-right: 3px; /*Closing the gaps of each tabs, original is 8px*/
  border-bottom: none;
}
nav.tabber__tabs {
  background: none;
  font-size: 14px; /*Decreasing the font size on each tab header*/
}
section.tabber__section { /* The whole table/tabber except for the tabs themselves */
  background-color: #fff;
  /*padding-bottom: 40px; Adding extra white color space to the bottom outside of the table*/
}
.tabber__tab {
  font-weight: unset;
  min-width: 20px; /*Decreasing minimum width, original is 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%;
  text-align: center;
}
.wikitable tr > th, .wikitable tr > td {
  padding-left: 15px;
  border-top-color: #fff;
  border-bottom-color: #fff;
}
.wikitable tr > th:first-child, .wikitable tr > td:first-child{
  border-left-color: lightgray;
  border-left-width: 2px;
}
.wikitable tr > th:last-child, .wikitable tr > td:last-child{
  border-right-color: lightgray;
  border-right-width: 2px;
}
.wikitable tr > th {
  background-color: lightgray;
  border: 1px solid lightgray;
  padding-top: 9px; padding-bottom: 9px;
}
.wikitable tr:nth-child(even) > td {
  background-color: #fff;
  border: 1px solid lightgray;
}
.wikitable tr:nth-child(odd) > td {
  background-color: #fff;
  border: 1px solid lightgray;
  /* 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;}
@media screen and (max-width: 850px) {
  #site-navigation{display:none;}
  #site-tools{display:none;}
}

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 );
  font-family: mont-blanc-semibold, 'Segoe UI', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Lato', 'Liberation Sans', 'Noto Sans', 'Helvetica Neue', 'Helvetica', sans-serif;
}
#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: fixed;
  /*position: absolute;*/
  top: 9px;
  right: calc((100% - 1280px) / 2);
  text-align: right;
  z-index: 2;
}
#user-tools #personal-inner{
  text-align: left;
}
#user-tools #personal h2{
  background-position: left 14px;
}
#personal h2 span{
  display: none;
}

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

.lm-wiki-header {
  position: fixed !important;
  z-index: 1;
  box-shadow: 0 0 5px gray;
}

@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;}



@font-face {
  font-family: mont-blanc;
  src: url("/lmweb/fonts/MontBlanc-Regular.otf") format("opentype");
}
@font-face {
  font-family: mont-blanc-semibold;
  src: url("/lmweb/fonts/MontBlanc-SemiBold.otf") format("opentype");
}
@font-face {
  font-family: open-sans-regular;
  src: url("/lmweb/fonts/OpenSans-Regular.ttf");
}
@font-face {
  font-family: open-sans-medium;
  src: url("/lmweb/fonts/OpenSans-Medium.ttf");
}
@font-face {
  font-family: open-sans-semibold;
  src: url("/lmweb/fonts/OpenSans-SemiBold.ttf");
}
.mw-body .mw-heading, .mw-body h1, .mw-body h2, .mw-body h3, .mw-body h4, .mw-body h5, .mw-body h6, .mw-body dt {
  font-weight: normal;
  font-family: mont-blanc-semibold, 'Linux Libertine', 'Times New Roman', 'Liberation Serif', 'Nimbus Roman', 'Noto Serif', 'Times', serif;
  line-height: 1.125;
  margin: 1.25em 0 0.5em;
}
body{
  font-family: open-sans-regular, 'Segoe UI', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Lato', 'Liberation Sans', 'Noto Sans', 'Helvetica Neue', 'Helvetica', sans-serif;

}

.wikitable tr > td img {
  max-height: unset !important;
}
#pt-createaccount.mw-list-item {
  display: none;
}


@media screen and (max-width: 850px) {

  .mw-body .mw-heading2, .mw-body h2 {
    font-size: 28px;
  }
  #lm-header {
    display: none;
  }
  #user-tools {
    display: none;
  }
  #mw-header-lm-title{
    font-size:30px;
    left: 10px;
  }
  #mw-header-container{
    overflow: hidden;
    padding: 3.75em 0 0.35em 0;
  }

  #simpleSearch { margin: 0 10px;}
  #mw-header-container>div[style*=absolute] {
    left: 0;
    padding-left: 10px;
  }

  /*content*/
  #mw-content{
    padding: 0 10px;
  }

  /*tabber*/
  .tabber__tab {min-width: auto;}

}

#p-search {
  position: absolute; 
  top: 12px; left: 180px;
  /*top: 340px;*/
  /*left: 0;*/
  width: 100%;
  z-index: 2;
}

#searchform{
  //width: calc(640px);
  //margin-left: calc((100% - 1280px) / 2);
  width: calc(1280px);
  margin: 0 auto;
}
#simpleSearch { 
  width: calc(1280px - 245px);
  max-width: calc(100vw - 205px);
  position: fixed;
  /*width: 640px; */
}
 
@media screen and (max-width: 850px) {
  #simpleSearch {
    /*max-width: calc(100vw - 20px); */
    max-width: calc(100vw - 205px);
  }
  #searchform{
    margin-left: 0;
    max-width: 100vw;
  }
  #searchInput { 
    padding: 0.4em 2.0em 0.2em 0.9em;
  }
  #searchButton, #mw-searchButton {
    right: 0 !important;
  }
}
label[for=searchInput]{
  display:none;
}

#mw-indicator-mw-helplink { display: none;}
a[href*='title=Special:Search'][href*='profile=advanced'] { display: none;}