Difference between revisions of "MediaWiki:Common.css"
From TED Notepad
(21 intermediate revisions by the same user not shown) | |||
Line 12: | Line 12: | ||
#content { | #content { | ||
− | background-color: # | + | background-color: #fcfcfc; |
color: black; | color: black; | ||
} | } | ||
Line 34: | Line 34: | ||
#bodyContent H1, #bodyContent H2, #bodyContent H3, #bodyContent H4, #bodyContent H5, #bodyContent H6 { | #bodyContent H1, #bodyContent H2, #bodyContent H3, #bodyContent H4, #bodyContent H5, #bodyContent H6 { | ||
− | + | padding: 2em 1px 2px 1px; | |
} | } | ||
#content H4 { | #content H4 { | ||
− | + | font-size: 130%; | |
+ | } | ||
+ | |||
+ | #content DIV.tnp_scroller { | ||
+ | overflow: auto; | ||
} | } | ||
Line 65: | Line 69: | ||
DIV.tnp_anchor { | DIV.tnp_anchor { | ||
− | + | text-align: right; | |
font-size: 80%; | font-size: 80%; | ||
+ | } | ||
+ | |||
+ | H4+DIV.tnp_anchor { | ||
+ | margin-top: -1em; | ||
} | } | ||
Line 135: | Line 143: | ||
border: 1px solid; | border: 1px solid; | ||
padding: 5px 20px 5px 20px; | padding: 5px 20px 5px 20px; | ||
+ | } | ||
+ | |||
+ | TABLE.tnp_example TR.tnp_cmdline TD { | ||
+ | color: silver; | ||
+ | } | ||
+ | |||
+ | TABLE.tnp_example TR.tnp_cmdline TD B { | ||
+ | color: black; | ||
} | } | ||
TABLE.tnp_example TD SAMP { | TABLE.tnp_example TD SAMP { | ||
background-color: darkblue; | background-color: darkblue; | ||
− | color: white; | + | color: white !important; |
} | } | ||
+ | |||
/************************/ | /************************/ | ||
Line 208: | Line 225: | ||
/* whitespaces can not be 'nowrap' here!!! it is not enough! */ | /* whitespaces can not be 'nowrap' here!!! it is not enough! */ | ||
+ | VAR { | ||
+ | margin: -1px 0; | ||
+ | padding: 0 1px; | ||
+ | } | ||
VAR:hover { | VAR:hover { | ||
outline: 1px dashed green; | outline: 1px dashed green; | ||
Line 267: | Line 288: | ||
color: white; | color: white; | ||
background-color: red; | background-color: red; | ||
+ | } | ||
+ | |||
+ | |||
+ | /*******/ | ||
+ | /* ads */ | ||
+ | |||
+ | DIV#tednpadAdsRight { | ||
+ | position: absolute; | ||
+ | right: -5px; | ||
+ | border: 1px solid black; | ||
+ | } | ||
+ | |||
+ | DIV#bodyContent { | ||
+ | padding-right: 170px; | ||
+ | } | ||
+ | |||
+ | NAV#p-ads.emptyPortlet { | ||
+ | display: block; | ||
} | } |
Latest revision as of 01:09, 26 November 2021
/**************************************/ /* global things, wiki customizations */ #globalWrapper { position: relative; } #bodyContent a[href^="https://"] { background: transparent !important; padding: 0 !important; } #content { background-color: #fcfcfc; color: black; } A { white-space: nowrap; } A.new { color: red !important; } TABLE.toc { margin-top: 30px; margin-bottom: 30px; } BODY, li#pt-userpage, li#pt-anonuserpage, li#pt-login { background-image: none !important; } #bodyContent H1, #bodyContent H2, #bodyContent H3, #bodyContent H4, #bodyContent H5, #bodyContent H6 { padding: 2em 1px 2px 1px; } #content H4 { font-size: 130%; } #content DIV.tnp_scroller { overflow: auto; } div#footer { border-color: silver !important; } div#userloginForm form, div#userlogin form#userlogin2 { clear: none; } /**********************/ /* special tnp tables */ DIV.tnp_manversion, DIV.tnp_headline { text-align: right; font-size: 80%; } DIV.tnp_manversion B { font-size: 125%; color: red; } DIV.tnp_anchor { text-align: right; font-size: 80%; } H4+DIV.tnp_anchor { margin-top: -1em; } TABLE.tnp_screenshot { background-color: #eeeeff; color: black; border: 1px solid; margin-left: 10px; margin-bottom: 10px; } TABLE.tnp_todo { background-color: #ffaaaa; color: black; border: 1px solid; padding-left: 3px; padding-right: 3px; } TABLE.tnp_hotkeys TH { vertical-align: top; background-color: #d0d0d0; color: black; } TABLE.tnp_hotkeys TD { vertical-align: top; } DIV.tnp_faq { background-color: #eeddff; color: black; border: 1px dashed; padding-top: 5px; padding-left: 10px; padding-right: 10px; padding-bottom: 5px; } TABLE.tnp_relediff TD { background-color: #e0e0e0; } TABLE.tnp_relediff TH { background-color: #d0d0d0; } TABLE.tnp_example { margin-bottom: 1em; } TABLE.tnp_example CAPTION { margin-top: 1em; text-align: left; white-space: nowrap; } TABLE.tnp_example TD { font-family: monospace; } TABLE.tnp_example TD { display: block; white-space: pre; line-height: normal; color: black; background-color: white; border: 1px solid; padding: 5px 20px 5px 20px; } TABLE.tnp_example TR.tnp_cmdline TD { color: silver; } TABLE.tnp_example TR.tnp_cmdline TD B { color: black; } TABLE.tnp_example TD SAMP { background-color: darkblue; color: white !important; } /************************/ /* features/tools names */ CITE, CITE A { color: purple !important; font-style: italics; white-space: nowrap; } CITE B, CITE B A { font-style: normal !important; color: black !important; } /***********/ /* hotkeys */ KBD { background-color: #eee; border: 1px solid #ccc; border-radius: 3px 3px 3px 3px; box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2), inset 1px 2px 2px #fff; display: inline-block; font-family: monospace; padding: 0 0.6em; margin: 0 4px; text-shadow: 0 1px 0 #fff; white-space: nowrap; color: #333; } /***************/ /* definitions */ Q { color: maroon; font-style: italics !important; } Q A { white-space: nowrap; color: black !important; font-style: italics !important; text-decoration: none !important; } Q A:hover { color: maroon !important; font-style: italics !important; text-decoration: underline !important; } /**********/ /* values */ VAR, VAR A { color: green !important; font-style: italics; font-family: monospace; white-space: nowrap; display: inline-block; } /* whitespaces can not be 'nowrap' here!!! it is not enough! */ VAR { margin: -1px 0; padding: 0 1px; } VAR:hover { outline: 1px dashed green; background-color: #eee; } SPAN.system, SPAN.system A { color: green !important; font-style: italics; white-space: nowrap; } /***********/ /* regexps */ VAR.regexp { outline: 0; background-color: transparent; font-weight: bold; font-style: normal; color: maroon !important; border: 0; border-radius: 3px 3px 3px 3px; box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2), inset 1px 2px 2px #fff; padding: 1px 3px; margin: 0 4px; } /********************************/ /* special/unimportant comments */ SMALL VAR { color: gray !important; font-style: italics; white-space: normal !important; } /**************************/ /* inserts and todo lists */ INS { text-decoration: none; background-color: yellow !important; } DEL { color: gray; text-decoration: line-through; } /*********************************/ /* obsolete, should not be used! */ CODE { white-space: nowrap; } SPAN.deprecated { color: white; background-color: red; } /*******/ /* ads */ DIV#tednpadAdsRight { position: absolute; right: -5px; border: 1px solid black; } DIV#bodyContent { padding-right: 170px; } NAV#p-ads.emptyPortlet { display: block; }