MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
Line 70: | Line 70: | ||
h1 { | h1 { | ||
margin-top: 0; | margin-top: 0; | ||
font-weight: 700; | |||
} | |||
h2 { | |||
font-weight: 500; | |||
} | |||
h3 { | |||
font-weight: 400; | |||
} | |||
h4 { | |||
font-weight: 300; | |||
} | } | ||
Revision as of 22:29, 23 October 2023
/* Main */ body { background-color: #0e1015; font-family: 'Roboto', sans-serif; } .navbar { background-color: #13151b!important; box-shadow: 0 4px 5px 0 rgb(0 0 0 / 14%), 0 1px 10px 0 rgb(0 0 0 / 12%), 0 2px 4px -1px rgb(0 0 0 / 40%); border-bottom: 1px solid #202328; } #sidebar { min-width: 300px; max-width: 300px; margin-left: 1rem; } #page-content { width: 100%; } .page-container { background-color: #13151b; color: #999ca3; border-left: 1px solid; border-right: 1px solid; border-bottom: 1px solid; border-color: #202328; padding: 1rem; } a { color: #f3ca4e; text-decoration: none; } a:hover { color: #f3ca4e; text-decoration: underline; } a.new { color: #ff5859; text-decoration: none; } a.new:hover { color: #ff5859; text-decoration: underline; } .selflink { color: #fff; font-weight: bold; } .selflink:hover { color: #fff; text-decoration: none; } h1, h2, h3, h4, h5, h6 { color: #fff; margin-top: 1rem; border-bottom: 1px solid #202328; padding-bottom: 0.5rem; } h1 { margin-top: 0; font-weight: 700; } h2 { font-weight: 500; } h3 { font-weight: 400; } h4 { font-weight: 300; } h3, h4, h5, h6 { border-bottom: 0; } footer { font-size: 80%; opacity: 0.5; color: #999ca3; padding: 1rem 0; text-align: center; } footer ul, #toc ul { list-style-type: none; padding-left: 0; margin-bottom: 0; } .default-box { background: rgb(255 255 255 / 3%); padding: 0.75rem 1rem; margin-bottom: 1rem; border-radius: 0.5rem; } .default-box h1, .default-box h2, .default-box h3, .default-box h4, .default-box h5, .default-box h6 { border-bottom: 1px solid #202328; padding-bottom: 0.5rem; margin-top: 0; } .class-link { margin-right: 1rem; margin-bottom: 1rem; text-align: center; } .class-link a { margin: 0 auto; } .alert { padding: 1rem; margin-bottom: 1rem; border: none; border-left: 5px solid transparent; border-radius: 0; color: #fff; line-height: 1.7; } .alert-success { border-color: #458e46; background: linear-gradient(135deg,rgb(69 142 70 / 30%) 0%,rgba(255,255,255,0) 100%); } .alert-danger { border-color: #ff3333; background: linear-gradient(135deg,rgb(255 51 51 / 20%) 0%,rgba(255,255,255,0) 100%); } table, .table { border: 1px solid rgb(255 255 255 / 8%); } table th, .table th { color: #fff!important; background-color: rgb(255 255 255 / 3%)!important; } .table>:not(caption)>*>* { background-color: #13151b; border-bottom: 1px solid #24252b; } .table-striped>tbody>tr:nth-of-type(odd)>* { background-color: rgb(255 255 255 / 3%); } #toc { width: fit-content; background: rgb(255 255 255 / 3%); padding: 0.75rem; margin-bottom: 2rem; } .toctitle h2 { padding-bottom: 0.75rem; margin: 0; border: none; font-size: 1.1rem; } .tocnumber { color: #999ca3; } #toc ul ul { padding-left: 2rem; } .toctogglespan { display: none; } /* Maind end */ /* Screen specific */ @media (max-width: 1080px) { #sidebar { display: none; } } /* Screen specific end */ /* Misc */ dt { color: #fff; } #footer-privacy, #footer-about, #footer-disclaimer { display: none; } .default-box .mw-editsection { display: none; } .mw-editsection { font-size: 0.75rem; margin-left: 1rem; } .printfooter { display: none; } .mw-code.mw-css { white-space: break-spaces; } /* Misc end */