MediaWiki
Difference between revisions of "Common.css"
(adjusting for better support) |
|||
Line 20: | Line 20: | ||
border: 1px solid #AAA; | border: 1px solid #AAA; | ||
border-radius: 3px; | border-radius: 3px; | ||
− | padding: . | + | padding: .15em; |
} /*test */ | } /*test */ | ||
Revision as of 12:42, 17 February 2021
.mw-pt-translate-header, .mw-pt-translate-header ~ hr {
display: none;
}
/*HOW TO INTEGRATE NEW CSS:
1) Testing new css idea : use your inspector and test around ;
2) Submit a pull request to github's LinguaLibre skin (or ask someone on the chatroom to do so):
https://github.com/lingua-libre/BlueLL/blob/master/assets/stylesheets/main.css
DO NOT PUT RANDOM CSS CODE INHERE
*/
/********************************************** */
/* REDIRECTS ******************************* */
a.mw-redirect { color: purple; opacity: 0.7; } /* status: sharing ; issue under discussion on github ;*/
/********************************************** */
/* CITATIONS ******************************* */
code{
background: #FFFFFF66;
font-size: 80%;
border: 1px solid #AAA;
border-radius: 3px;
padding: .15em;
} /*test */
pre {
font-family: monospace;
padding: .3em .3em .3em 1em;
margin: 1em 0 1em 1em;
border: 1px solid #CCC;
border-left: 3px solid #CCC ;
}
/********************************************** */
/*LINES SPACING *************************** */
#mw-content-text h2+h2,
#mw-content-text h2+h3,
#mw-content-text h2+h4,
#mw-content-text h2+p,
#mw-content-text h2+ul,
#mw-content-text h2+ol,
#mw-content-text h3+h2,
#mw-content-text h3+h3,
#mw-content-text h3+h4,
#mw-content-text h3+p,
#mw-content-text h3+ul,
#mw-content-text h3+ol,
#mw-content-text h4+h2,
#mw-content-text h4+h3,
#mw-content-text h4+h4,
#mw-content-text h4+p,
#mw-content-text h4+ul,
#mw-content-text h4+ol,
#mw-content-text p+h2,
#mw-content-text p+h3,
#mw-content-text p+h4,
#mw-content-text p+p,
#mw-content-text p+ul,
#mw-content-text p+ol,
#mw-content-text ul+h2,
#mw-content-text ul+h3,
#mw-content-text ul+h4,
#mw-content-text ul+p,
#mw-content-text ul+ul,
#mw-content-text ul+ol,
#mw-content-text ol+h2,
#mw-content-text ol+h3,
#mw-content-text ol+h4,
#mw-content-text ol+p,
#mw-content-text ol+ul,
#mw-content-text ol+ol {
margin-top: 16px;
}
#mw-content-text ul {
margin-top: 16px;
}
#mw-content-text h2,
#mw-content-text h3 {
margin-top: 1.3em!important;
}
#mw-content-text h4,
#mw-content-text h5 {
margin-top: .8em!important;
}
/* CustomSubtitle **************************** */
header#contentHeading { z-index: 0; }
header#contentHeading .mw-indicators { z-index: -1; }