MediaWiki:Common.css: Difference between revisions
From Luminys WIKI
Techsupport (talk | contribs) No edit summary Tag: Reverted |
Techsupport (talk | contribs) No edit summary Tag: Manual revert |
||
| Line 337: | Line 337: | ||
} | } | ||
#p-search { | #p-search { | ||
position: absolute; | position: absolute; | ||
| Line 344: | Line 344: | ||
width: 100%; | width: 100%; | ||
} | } | ||
#searchform{ | #searchform{ | ||
//width: calc(640px); | //width: calc(640px); | ||
| Line 363: | Line 363: | ||
#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;} | ||
Revision as of 14:05, 27 November 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: 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*/
}
section.tabber__section .nowhite {
background-color: lightgray;
}
.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%;
}
.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;}
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: 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;
}
@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: 340px;
left: 0;
width: 100%;
}
#searchform{
//width: calc(640px);
//margin-left: calc((100% - 1280px) / 2);
width: calc(1280px);
margin: 0 auto;
}
#simpleSearch { width: 640px; }
@media screen and (max-width: 850px) {
#simpleSearch { max-width: calc(100vw - 20px); }
#searchform{
margin-left: 0;
max-width: 100vw;
}
}
#mw-indicator-mw-helplink { display: none;}
a[href*='title=Special:Search'][href*='profile=advanced'] { display: none;}
