MediaWiki:Common.css
Fonte: Wiki 420
Nota: Depois de publicar, poderá ter de contornar a cache do seu navegador para ver as alterações.
- Firefox / Safari: Pressione Shift enquanto clica Recarregar, ou pressione Ctrl-F5 ou Ctrl-R (⌘-R no Mac)
- Google Chrome: Pressione Ctrl-Shift-R (⌘-Shift-R no Mac)
- Edge: Pressione Ctrl enquanto clica Recarregar, ou pressione Ctrl-F5.
/* MediaWiki:Common.css – Wiki 420 Theme – Compiled CSS with Variables */ /* PageTools selected links */ .pagetools a.selected, .pagetools .tab-group a.selected { font-weight: bold; color: #0c3c29 !important; } /* Base layout */ body { font-family: 'Inter', 'Montserrat', sans-serif; background-color: #ffffff; color: #202122; line-height: 1.6; margin: 0; padding: 1rem; } /* Global link overrides */ .mw-body-content a, .mw-parser-output a, #mw-content-text a, a.mw-selflink, a.extiw, a.new { color: #0c3c29 !important; text-decoration: none !important; border-bottom: 1px dotted #0c3c29 !important; } .mw-body-content a:hover, .mw-parser-output a:hover, #mw-content-text a:hover, a.mw-selflink:hover, a.extiw:hover, a.new:hover { color: #689427 !important; border-bottom-color: #689427 !important; } a:visited { color: #b22222 !important; } a:active { color: #0c3c29 !important; } /* External links */ a.external, span.external a, a[href].external { color: #689427 !important; } a.external:hover, span.external a:hover, a[href].external:hover { color: #0c3c29 !important; background-color: transparent !important; } /* Headings */ #content h1, #content h2, #content h3, #content h4, #content h5, #content h6 { font-family: 'Oswald', 'League Spartan', sans-serif; color: #0c3c29; margin-top: 1.5rem; margin-bottom: 0.75rem; line-height: 1.25; } /* Blockquotes */ blockquote { background-color: #fdedc7; border-left: 4px solid #689427; margin: 1rem 0; padding: 0.5rem 1rem; font-style: italic; color: #202122; } /* Horizontal rules */ hr { border: none; border-top: 1px solid #689427; margin: 2rem 0; } /* Tables */ table { width: 100%; border-collapse: collapse; margin: 1rem 0; } table th, table td { padding: 0.5rem; border: 1px solid #fdedc7; } table th { background-color: #fdedc7; } /* Table of Contents */ .toc { background-color: #fdedc7; border: 1px solid #689427; padding: 0.5rem; font-size: 0.9rem; } .toc ul { list-style: none; margin: 0; padding: 0; } .toc a { color: #0c3c29 !important; text-decoration: none; } .toc a:hover { color: #689427 !important; } /* Navbar (Bootstrap 4 based) */ .navbar-light { background-color: #fdedc7 !important; border-bottom: 1px solid #689427; } .navbar-light .navbar-brand, .navbar-light .navbar-nav .nav-link { color: @navbar-default-link-color !important; background-color: transparent !important; } .navbar-light .navbar-brand:hover, .navbar-light .navbar-nav .nav-link:hover { color: @navbar-default-link-hover-color !important; background-color: @navbar-default-link-hover-bg !important; } .navbar-light .navbar-nav .active > .nav-link, .navbar-light .navbar-brand.active { color: @navbar-default-link-active-color !important; background-color: @navbar-default-link-active-bg !important; } .navbar-light .navbar-nav .disabled > .nav-link { color: @navbar-default-link-disabled-color !important; background-color: @navbar-default-link-disabled-bg !important; } /* Buttons */ .btn-primary { background-color: #689427; border-color: #689427; } .btn-primary:hover { background-color: #0c3c29; border-color: #0c3c29; } /* Footer */ .footer, #footer { background-color: #fdedc7; padding: 1rem; text-align: center; } .footer a, #footer a { color: #0c3c29 !important; text-decoration: none; } .footer a:hover, #footer a:hover { color: #689427 !important; text-decoration: underline; } /* Sidebar portlets */ .portal a, #mw-panel a, #p-navigation a, #p-interaction a, #p-tb a, #p-logo a { color: #0c3c29 !important; } .portal a:hover, #mw-panel a:hover, #p-navigation a:hover, #p-interaction a:hover, #p-tb a:hover, #p-logo a:hover { color: #689427 !important; } /* Edit section links */ .mw-editsection a { color: #0c3c29 !important; } .mw-editsection a:hover { color: #689427 !important; }