MediaWiki:Common.css: Difference between revisions
From Luminys WIKI
No edit summary |
No edit summary |
||
Line 211: | Line 211: | ||
margin-left: calc(640px - 50vw ); | margin-left: calc(640px - 50vw ); | ||
width: calc(100vw - 100%); | width: calc(100vw - 100%); | ||
width: 100vw; | /* width: 100vw; */ | ||
} | } | ||
Revision as of 08:46, 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 > th { background-color: #fff; } .wikitable > tr:nth-child(odd) > td, .wikitable > * > tr:nth-child(odd) > td { background-color: #fff; } .wikitable > tr:nth-child(even) > td, .wikitable > * > tr:nth-child(even) > 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: 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 - 100%); /* 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 { overflow-x: overlay; } */