|
|
1行目: |
1行目: |
| /* Don't display some stuff on the main page */
| | /* <source lang="css"> */ |
| body.page-Main_Page #deleteconfirm,
| | |
| body.page-Main_Page #t-cite,
| | /* |
| body.page-Main_Page #lastmod,
| | a { text-decoration: none } |
| body.action-view.page-Main_Page #siteSub,
| | */ |
| body.action-view.page-Main_Page #contentSub,
| | |
| body.action-view.page-Main_Page h1.firstHeading {
| | /* enlarge font-size for ja fonts*/ |
| display: none !important;
| | #bodyContent { font-size:118% } |
| | |
| | /* Donations link to be uncommented during fundraising drives */ |
| | #siteNotice { |
| | padding-left: 0.3em; |
| | font-style: normal; |
| | text-align: center; |
| | margin-top: 0.5em; |
| } | | } |
|
| |
|
| | /* |
| #siteNotice { | | #siteNotice { |
| margin-top: 5px;
| | display:none; |
| margin-bottom: -.5em;
| | padding: 0.3em; |
| | margin-top:0.5em; |
| } | | } |
| #mw-dismissable-notice { | | */ |
| background: transparent;
| | |
| | /* Make all non-namespace pages have a light blue content area. This is done by |
| | setting the background color for all #content areas to light blue and then |
| | overriding it for any #content enclosed in a .ns-0 (main namespace). I then |
| | do the same for the "tab" background colors. --Lupo */ |
| | |
| | #content { |
| | background: #FBFCFF; /* a light blue ja*/ |
| } | | } |
|
| |
|
| /* BEGIN LIGHT BLUE SECTION
| | .ns-0 * #content { |
| Make content area light blue in all namespaces except articles (main namespace).
| | background: white; |
| This is done by setting the background color for all #content areas
| | } |
| to light blue, and then overriding it back to white for any #content
| |
| enclosed in a .ns-0 (main namespace). We do the same for the "tab"
| |
| backgrounds and some other objects. */
| |
|
| |
|
| div#content,
| | #mytabs li { |
| div#p-cactions li a:hover,
| | background: #FBFCFF; |
| div#p-cactions li.selected a,
| |
| div#content div.thumb { /* "Margin" for thumbs, padding for galleries */
| |
| background-color: #F8FCFF; /* Light blue */
| |
| } | | } |
| div#p-cactions li a {
| | |
| background-color: #F7F9FB; /* Light blue-gray inactive tabs */
| | .ns-0 * #mytabs li { |
| | background: white; |
| } | | } |
|
| |
|
| .ns-0 div#content,
| | #mytabs li a { |
| .ns-0 div#p-cactions li a:hover, .ns-0 div#p-cactions li.selected a,
| | background-color: #FBFCFF; |
| .ns-0 div#content div.thumb {
| |
| background-color: white; /* Set back to white for articles */
| |
| } | | } |
| .ns-0 div#p-cactions li a { | | |
| background-color: #FBFBFB; /* Light gray inactive tabs in articles */
| | .ns-0 * #mytabs li a { |
| | background-color: white; |
| } | | } |
|
| |
|
| @media print {
| | #p-cactions li { |
| div#content {
| | background: #FBFCFF; |
| background: white;
| |
| } /* White background on print */
| |
| } | | } |
|
| |
|
| /* END LIGHT BLUE SECTION */
| | .ns-0 * #p-cactions li { |
| | background: white; |
| | } |
|
| |
|
| /* Talk page tab "+" / "new section".
| | #p-cactions li a { |
| Sets the same padding as the other tabs have. */
| | background-color: #FBFCFF; |
| div#p-cactions #ca-addsection a {
| |
| padding-left: .8em;
| |
| padding-right: .8em;
| |
| } | | } |
|
| |
|
| /* Block quotations */
| | .ns-0 * #p-cactions li a { |
| div#content blockquote {
| | background-color: white; |
| font-size: 93.75%; /* equivalent of 15px in 16px default */
| |
| margin: 1em 1.6em; /* same indent as an unordered list */
| |
| }
| |
| div#content blockquote p {
| |
| line-height: inherit;
| |
| } | | } |
|
| |
|
| /* Make "From Wikipedia, the free encyclopedia" a bit smaller */ | | /* "出典: フリー百科事典『ウィキペディア(Wikipedia)』" */ |
| #siteSub { | | #siteSub { |
| font-size: 92%;
| | display: inline; |
| | font-size: 98%; |
| | font-weight: normal; |
| } | | } |
|
| |
|
| div#footer #lastmod,
| | #bodyContent #siteSub a { |
| div#footer #copyright {
| | color: #000; |
| display: block;
| | text-decoration: none; |
| | background-color: transparent; |
| | background-image: none; |
| | padding-right: 0; |
| } | | } |
|
| |
|
| p.error {
| | /* link color stub sleshold (ja only from MediaWiki1.2) */ |
| font-weight: bold;
| | #stub{ |
| | color:#6699FF |
| } | | } |
|
| |
|
| /* Remove default styles for [[MediaWiki:Noarticletext]]. */ | | /* Bold 'edit this page' link to encourage newcomers */ |
| div.noarticletext {
| | #ca-edit a { font-weight: bold !important; } |
| border: none;
| |
| background: transparent;
| |
| padding: 0;
| |
| } | |
|
| |
|
| /* Class styles */ | | /* Display "User $1, you are already logged in!" |
| | ([[MediaWiki:Alreadyloggedin]]) in red and bold */ |
| | div.alreadyloggedin { color: red; font-weight: bold; } |
|
| |
|
| /* .toccolours added here because version in | | /* Standard Navigationsleisten, aka box hiding thingy from .de.*/ |
| monobook/main.css wasn't being used by the print style */
| | /* NavFrame関係。[[MediaWiki:Common.css]]も参照 */ |
| .toccolours { | | a.NavToggle { |
| border: 1px solid #aaa;
| | font-size:83.3%; |
| background-color: #f9f9f9;
| |
| padding: 5px;
| |
| font-size: 95%;
| |
| } | | } |
|
| |
|
| /* Don't underline links in portlets/specialchars even with pref "Underline links:Always" */ | | /*p { font-family: "MS ゴシック" ,"Osaka-等幅" ,"Times New Roman" ,serif; }*/ |
| .portlet a, | | |
| #editpage-specialchars a {
| | /* 脚注挿入による行間のずれを軽減する。[[MediaWiki‐ノート:Common.css#脚注による行間のずれ]] */ |
| text-decoration: none;
| | sup { |
| }
| | font-size:.85em; |
| .portlet a:hover,
| | vertical-align:.4em; |
| #editpage-specialchars a:hover {
| | line-height: 0; |
| text-decoration: underline;
| |
| } | | } |
|
| |
|
| /* Position coordinates */
| |
| #coordinates { | | #coordinates { |
| position: absolute; | | position: absolute; |
| z-index: 1; | | z-index: 10; |
| border: none;
| | background-color: #fff; |
| background: none; | |
| right: 0; | | right: 0; |
| top: 3.7em; | | top: 0; |
| float: right;
| |
| margin: 0;
| |
| padding: 0;
| |
| padding-right: 30px;
| |
| line-height: 1.5em;
| |
| text-align: right;
| |
| text-indent: 0;
| |
| font-size: 85%; | | font-size: 85%; |
| text-transform: none;
| |
| white-space: nowrap;
| |
| } | | } |
| /* Prep for moving coordinates into mw-indicator */
| | #bodyContent { |
| .mw-indicator #coordinates {
| | position: relative; |
| position: absolute; | | width: 100%; /* IE6でスクロールがもたつく問題への暫定対処 */ |
| right: 1em;
| |
| top: 3.7em; | |
| text-align: right;
| |
| font-size: 85%;
| |
| white-space: nowrap;
| |
| padding: 0; /* override for #coordinates */
| |
| line-height: 1; /* override for #coordinates */
| |
| } | | } |
| | | .topicon { |
| .ve-ce-surface-enabled #coordinates { | | position: absolute; |
| margin-top: -3em; | | z-index: 10; |
| | right: 0; |
| | top: -30px; |
| | display: block !important; |
| } | | } |
| | /* |
| | coord系テンプレートに、id="coordinates" を付け、テンプレートからは全てのCSSを除去。 |
| | [[Template:Featured article]]に class="metadata topicon" style="display:none" を付け、残りのCSSは全て除去する。 |
| | */ |
|
| |
|
| /* FR topicon position */ | | /* </source> */ |
| div.flaggedrevs_short {
| |
| position: absolute;
| |
| z-index: 10;
| |
| top: 10px;
| |
| right: 110px;
| |
| }
| |
| | |
| .ve-ce-surface #coordinates {
| |
| top: 0;
| |
| padding: 0;
| |
| }
| |
| | |
| /* Add bolding to ooui destructive buttons */
| |
| #mw-prefs-restoreprefs,
| |
| #wpConfirmB,
| |
| #mw-editform-cancel,
| |
| #oo-ui-flaggedElement-destructive,
| |
| .oo-ui-buttonElement-frameless.oo-ui-flaggedElement-destructive,
| |
| .oo-ui-buttonElement-framed.oo-ui-flaggedElement-destructive,
| |
| .oo-ui-buttonElement-framed.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button,
| |
| .oo-ui-buttonElement-frameless.oo-ui-flaggedElement-destructive > .oo-ui-buttonElement-button > .oo-ui-labelElement-label {
| |
| font-weight: 700;
| |
| }
| |
| | |
| /* Responsive mboxes */
| |
| @media (max-width:550px) {
| |
| table.tmbox:not(.mbox-small):not(.mbox-small-left),
| |
| table.ambox:not(.mbox-small):not(.mbox-small-left),
| |
| table.imbox:not(.mbox-small):not(.mbox-small-left),
| |
| table.cmbox:not(.mbox-small):not(.mbox-small-left),
| |
| table.ombox:not(.mbox-small):not(.mbox-small-left) {
| |
| margin: 0; /* disables 10% margin */
| |
| }
| |
|
| |
| .mbox-image img {
| |
| display: none;
| |
| }
| |
|
| |
| /* Break long words when they cause overflow */
| |
| .mw-body {
| |
| overflow-wrap: break-word;
| |
| }
| |
| }
| |