MediaWiki:Common.css: mudanças entre as edições
Ir para navegação
Ir para pesquisar
Sem resumo de edição |
Sem resumo de edição |
||
Linha 1 488: | Linha 1 488: | ||
border: 1px dashed #000; | border: 1px dashed #000; | ||
padding: 3px; | padding: 3px; | ||
background-color: #222125; | |||
display: none; | display: none; | ||
color: #000; | color: #000; |
Edição das 17h44min de 21 de dezembro de 2023
/** o código CSS colocado aqui será aplicado a todos os temas */ /* Geral */ body { margin: 0; padding: 0; position: relative; font-family: 'Segoe UI', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Lato', 'Liberation Sans', 'Noto Sans', 'Helvetica Neue', 'Helvetica', sans-serif } body::before { content: ''; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: url('https://wiki.otpokemon.com/images/8/8e/Birthday.png') no-repeat; background-attachment: fixed; background-position: center; background-repeat: no-repeat; background-size: cover; z-index: -1; } #mw-page-base { background: transparent; } #ca-nstab-mediawiki, #ca-talk, #p-namespaces, #ca-view, #ca-viewsource, #ca-unwatch, #ca-ve-edit { display: none; } .vectorTabs span { background-position: right bottom; display: inline-block; height: auto; } .vectorTabs { background-image: linear-gradient(to bottom, rgba(167, 215, 249, 0) 0, #a7d7f900 100%); } .vectorTabs li { height: auto; } .vectorTabs li a { height: auto; } .vectorTabs span a { padding-top: 0.4em; } #p-search { margin-top: 0em; background: #ffffff; margin-left: 0; } #p-search form { margin: 0 0; } .vectorTabs span { background-image: none; background-position: right bottom; display: inline-block; width: 25px; height: 25px; } #mw-head .vectorMenu h3 { background-image: none; } #ca-edit { background: transparent; height: 25px; width: 25px; border-radius: 3px; font-size: 0; background-image: url(https://wiki.otpokemon.com/images/2/24/Code_button.png); background-position: center; background-repeat: no-repeat; background-size: cover; } #ca-edit span a { width: 25px; height: 25px; } #ca-history { background: transparent; height: 25px; width: 25px; border-radius: 3px; font-size: 0; background-image: url(https://wiki.otpokemon.com/images/e/e0/History_button.png); background-position: center; background-repeat: no-repeat; background-size: cover; } #ca-history span a { width: 25px; height: 25px; } #p-cactions { background: transparent; height: 25px; width: 25px; border-radius: 3px; font-size: 0; background-image: url(https://wiki.otpokemon.com/images/4/42/Expand-button.png); background-position: center; background-repeat: no-repeat; background-size: cover; margin-right: 0.5rem; } .vectorMenu .menu { font-size: 15px; } .mw-body, .parsoid-body, #mw-panel { background: #f7f6fb; border-radius: 6px; border: 5px solid transparent; border-image: url(https://wiki.otpokemon.com/images/2/2a/Border-red.png) 15 stretch; } #p-logo a { background-size: contain; border-radius: 5px; } .mw-list-item a { color: white; } .mw-list-item a:visited { color: #f2f2f2; } .mw-body, #mw-head-base, #left-navigation, #mw-data-after-content, .mw-footer { margin-left: 13em; margin-right: 1em; } #mw-panel { width: 10.6em; margin-top: 5.0rem; padding-top: 10px; } #footer ul { list-style: none none; padding: 0; margin-left: 15px; } #footer ul li a { text-decoration: none; color: rgb(255 255 255 / 80%); background: none; } #footer-info li { line-height: 1.4; display: none; } #p-personal a.new, #p-personal a:visited, #p-personal a { color: #fff; } /* Main page */ .container { margin: 0 auto; display: flex; } .main { width: 70%; margin: 1em; } .banner { box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.5); --border-width: 3px; position: relative; display: flex; justify-content: center; align-items: center; width: 100%; font-family: Lato, sans-serif; font-size: 2.5rem; color: white; background: linear-gradient(60deg, #570101, #d51414, #ff9d9d, #c11111, #c11111, #aa001d, #aa001d); background-size: 300% 300%; background-position: 0 50%; animation: moveGradient 30s alternate infinite; border-radius: 10px; } .banner img { width: 100%; height: 100%; } .most-acessed, .quick-access { margin-top: 2em; position: relative; width: 100%; box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2); border-radius: 10px; } .ma-title, .qa-title { border-radius: 10px 10px 0px 0px; position: relative; display: flex; justify-content: center; align-items: center; width: 100%; color: white; height: auto; padding: 5px 0px; background: linear-gradient(90deg, #ff9d9d 0%,#c11111 46%,#c11111 100%); } .sub-most-acessed { display: flex; } .ma-card-item { text-align: center; height: 80%; padding: 1em; width: 33%; } .ma-card-item a { text-decoration: none; } .ma-item { width: calc(100% - 30%); height: 100%; transition: 1s; } .ma-item:hover { transition: 1s; transform: scale(1.10); filter: drop-shadow(2px 2px 2px rgba(34, 34, 34, 0.1)); } .ma-text { margin: 5px; transition: 1s; width: 80%; height: 100%; } .ma-text:hover { transition: 1s; transform: scale(1.10); filter: drop-shadow(2px 2px 2px rgba(34, 34, 34, 0.2)); } .ma-title-icon, .qa-title-icon { width: 30px; height: 30px; } .column { display: flex; width: 28%; margin: 0.8em; text-align: center; flex-direction: column; color: white; } .column a:visited { color: #ffffff; } .social-media { text-align: center; height: auto; padding-bottom: 10px; margin-top: -70px; position: absolute; top: 0; right: 0; } .social-media p { display: flex; justify-content: space-around; } .social-media a { width: 41.5px; } .qa-line { display: flex; border-bottom: 1px solid rgba(0, 0, 0, 0.150); padding: 1rem; } .qa-line-icon img { width: 50px; height: 50px; margin: 1rem; border-radius: 12px; } .qa-line-text { margin: 0.5rem 0; width: 100%; } .qa-line-title { margin: 0.5em 0; font-weight: bold; } pre, .mw-code { color: #000; background-color: rgb(234 236 240 / 0%); border: 1px solid rgb(234 236 240 / 0%); padding: 0; white-space: pre-wrap; } .sc-icon { width: 100%; margin: -1px; height: auto; transition: 1s; } .sc-icon:hover { filter: grayscale(0%) contrast(115%); transition: 1s; transform: scale(1.10); } .update-box { margin-bottom: 20px } .update-box, .update-box-2 { width: 90%; text-align: center; position: relative; margin: 20px auto; transition: 1s; border-radius: 20px; display: flex; justify-content: center; font-weight: bold; } .update-box-2:hover, .update-box:hover { transition: 1s; transform: scale(1.05); } .update-box img, .update-box-2 img { border: 0; vertical-align: middle; width: 100%; height: 100%; } .update-box-2 a, .update-box a { width: 100%; } .update-title { width: 100%; height: 42px; position: absolute; top: 0; font-size: 15px; border-radius: 20px 20px 0px 0px; } .update-title a { color: white; } .update-subtitle { width: 100%; height: 50px; position: absolute; bottom: 0; font-size: 15px; border-radius: 0px 0px 20px 20px; } .update-box-subtitle { position: relative; top: 50%; transform: translateY(-50%); text-shadow: 2px 0 #000, -2px 0 #000, 0 2px #000, 0 -2px #000, 1px 1px #000, -1px -1px #000, 1px -1px #000, -1px 1px #000; } .box { text-align: center; box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.5); border-radius: 10px; padding-bottom: 10px; } .box-title { border: 1px solid #570101; width: 100%; height: 60px; background-color: #c11111; border-radius: 10px 10px 0px 0px; } .box-title p { font-size: 22px; color: white; position: relative; top: 35%; transform: translateY(-50%); } /* Patch Notes */ .patch-notes { padding: 20px; background-color: #ffffff; border-radius: 30px; border: 1px solid #cccccc; margin-bottom: 20px; min-height: 120px; } .patch-notes img { float: right; width: 100px; height: 100px; border-radius: 50px; } .patch-notes .toc { display: none; } /* Painel Lateral */ li#t-whatlinkshere, li#t-recentchangeslinked, li#t-specialpages, li#t-print, li#t-permalink, li#t-info{ display: none; } /* History Page */ a[title^="Usuário:Ybooh (página inexistente)"]:after { color: blue; content: "QueeN"; pointer-events: none; } a[title^="Usuário:Ybooh (página inexistente)"] bdi { display: none; } a[title^="Usuário:Alissonmader (página inexistente)"]:after { color: blue; content: "Pichito"; } a[title^="Usuário:Alissonmader (página inexistente)"] bdi { display: none; } .history-user a bdi { color: blue; } a.new.mw-userlink { pointer-events: none; } a.new.mw-usertoollinks-talk { display: none; } .mw-contributions-user-tools { display: none; } /* Shiny Page */ .tab_shiny { background-color: rgb(255 255 255); } /* Premium Account Page */ .premium-account img{ border-radius: 15px; } /* Addons Page */ .container-addons { display: flex; text-align: center; justify-content: space-around; } .column-addons img { transition: 1s; } .column-addons img:hover { transform: scale(1.10); transition: 1s; } /* Quests Page */ .img-quests { transition: 2s; } .img-quests:hover { filter: contrast(140%); transition: 2s; } table.wikitable.sortable.quest.jquery-tablesorter tr:hover { background: linear-gradient(90deg, #e8f4f2, #f8f9fa) !important; transition: 2s; } table.wikitable.sortable.quest.jquery-tablesorter tr { background: linear-gradient(90deg, #f8f9fa, #e8f4f2); color: #000; text-align: center; width: 20%; border: 1px solid transparent; border-radius: 10px; transition: 2s; } table.wikitable.sortable.quest.jquery-tablesorter tr td { border: 1px solid transparent; border-radius: 10px; } /* Horde Leader Page */ table.wikitable.otp-hover tr:hover { background-color: #bacafb40; } /* Battle Pass */ .collapsible-battle-pass { cursor: pointer; padding: 8px; text-align: left; outline: none; font-style: italic; font-size: 15px; border-radius: 10px; border: 1px solid #000; } .active { border-radius: 10px 10px 0px 0px; } .collapsible-battle-pass:after { content: '\002B'; font-weight: bold; float: right; margin-left: 5px; } .collapsible-battle-pass:before { content: '\002B\0020\00A0\00A0'; font-weight: bold; float: left; margin-left: 5px; } .active:after { content: "\2212"; } .active:before { content: "\2212\0020\00A0\00A0"; } .container-battle-pass { border: 1px solid black; border-radius: 0px 0px 10px 10px; } .content-battle-pass { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; border-radius: 0px 0px 10px 10px; } /* Halloween */ .mw-wiki-logo { background-image: url(https://wiki.otpokemon.com/images/7/7d/Otp-wiki-red.png) !important; } /* Atualizações */ .design-section { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100vh; padding: 100px 0; } .design { display: flex; align-items: center; justify-content: center; } .timeline { width: 80%; height: auto; max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; text-align: center; } .timeline-content { background: #f7f6fb; box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.6); -webkit-box-shadow: 1px -1px 14px -2px rgba(0, 0, 0, 0.69); -moz-box-shadow: 1px -1px 14px -2px rgba(0, 0, 0, 0.69); border-radius: 5px; padding: 1.25rem; transition: 0.4s ease; overflow-wrap: break-word !important; margin: 1rem; margin-bottom: 20px; border-radius: 20px; } .timeline-component { margin: 0px 20px 20px 20px; } @media screen and (min-width: 768px) { .timeline { display: grid; grid-template-columns: 1fr 3px 1fr; text-align: center; } .timeline-middle { position: relative; background-image: linear-gradient(45deg, #F27121, #E94057, #8A2387); width: 3px; height: 100%; } .main-middle { opacity: 0; } .timeline-circle { position: absolute; top: 0; left: 50%; width: 15px; height: 15px; border-radius: 50%; background-image: linear-gradient(45deg, #F27121, #E94057, #8A2387); -webkit-transform: translateX(-50%); transform: translateX(-50%); } } .timeline-component.timeline-content img { transition: 1s; } .timeline-component.timeline-content img:hover { transition: 1s; transform: scale(1.05); } /* Media Query */ /* Minigames Page */ @media only screen and (max-width: 1350px) { .item-minigame { position: relative; display: flex; align-items: center; justify-content: center; font: 1.5rem sans-serif; cursor: pointer; will-change: transform; } .minigames { display: inline; text-align: center; justify-content: space-around; } .item-minigame { position: relative; display: flex; align-items: center; justify-content: center; font: 1.5rem sans-serif; cursor: pointer; will-change: transform; border: 1px solid black; } .item-minigame img, .item-minigame a { width: 100%; height: 100%; } .bombermon:hover::after { box-shadow: none; } .bombermon:hover::before { box-shadow: none; } .bombermon::after { box-shadow: none; } .bombermon::before { box-shadow: none; } .bombermon::before, .bombermon::after { background-color: none; } .bugcatcher:hover::after { box-shadow: none; } .bugcatcher:hover::before { box-shadow: none; } .bugcatcher::after { box-shadow: none; } .bugcatcher::before { box-shadow: none; } .bugcatcher::before, .bugcatcher::after { background-color: none; } .futebol:hover::after { box-shadow: 0 168px orange; } .futebol:hover::before { box-shadow: 518px 0 orange; } .futebol::after { box-shadow: 0 148px orange; } .futebol::before { box-shadow: 498px 0 orange; } .futebol::before, .futebol::after { background-color: none; } .dongeorge:hover::after { box-shadow: 0 168px orange; } .dongeorge:hover::before { box-shadow: 518px 0 orange; } .dongeorge::after { box-shadow: 0 148px orange; } .dongeorge::before { box-shadow: 498px 0 orange; } .dongeorge::before, .dongeorge::after { background-color: none; } .jockeyclub:hover::after { box-shadow: none; } .jockeyclub:hover::before { box-shadow: none; } .jockeyclub::after { box-shadow: none; } .jockeyclub::before { box-shadow: none; } .jockeyclub::before, .jockeyclub::after { background-color: none; } .pokekart:hover::after { box-shadow: none; } .pokekart:hover::before { box-shadow: none; } .pokekart::after { box-shadow: none; } .pokekart::before { box-shadow: none; } .pokekart::before, .pokekart::after { background-color: none; } .towerchallenge:hover::after { box-shadow: none; } .towerchallenge:hover::before { box-shadow: none; } .towerchallenge::after { box-shadow: none; } .towerchallenge::before { box-shadow: none; } .towerchallenge::before, .towerchallenge::after { background-color: none; } .hitmachine:hover::after { box-shadow: none; } .hitmachine:hover::before { box-shadow: none; } .hitmachine::after { box-shadow: none; } .hitmachine::before { box-shadow: none; } .hitmachine::before, .hitmachine::after { background-color: none; } .mewtwocastle:hover::after { box-shadow: none; } .mewtwocastle:hover::before { box-shadow: none; } .mewtwocastle::after { box-shadow: none; } .mewtwocastle::before { box-shadow: none; } .mewtwocastle::before, .mewtwocastle::after { background-color: none; } .cassino:hover::after { box-shadow: none; } .cassino:hover::before { box-shadow: none; } .cassino::after { box-shadow: none; } .cassino::before { box-shadow: none; } .cassino::before, .cassino::after { background-color: none; } } @media (min-width: 1350px) { .bombermon:hover::after { box-shadow: 0 168px red; } .bombermon:hover::before { box-shadow: 518px 0 red; } .bombermon::after { box-shadow: 0 148px red; } .bombermon::before { box-shadow: 498px 0 red; } .bombermon::before, .bombermon::after { background-color: red; } .bugcatcher:hover::after { box-shadow: 0 168px green; } .bugcatcher:hover::before { box-shadow: 518px 0 green; } .bugcatcher::after { box-shadow: 0 148px green; } .bugcatcher::before { box-shadow: 498px 0 green; } .bugcatcher::before, .bugcatcher::after { background-color: green; } .futebol:hover::after { box-shadow: 0 168px orange; } .futebol:hover::before { box-shadow: 518px 0 orange; } .futebol::after { box-shadow: 0 148px orange; } .futebol::before { box-shadow: 498px 0 orange; } .futebol::before, .futebol::after { background-color: orange; } .dongeorge:hover::after { box-shadow: 0 168px orange; } .dongeorge:hover::before { box-shadow: 518px 0 orange; } .dongeorge::after { box-shadow: 0 148px orange; } .dongeorge::before { box-shadow: 498px 0 orange; } .dongeorge::before, .dongeorge::after { background-color: orange; } .jockeyclub:hover::after { box-shadow: 0 168px yellow; } .jockeyclub:hover::before { box-shadow: 518px 0 yellow; } .jockeyclub::after { box-shadow: 0 148px yellow; } .jockeyclub::before { box-shadow: 498px 0 yellow; } .jockeyclub::before, .jockeyclub::after { background-color: yellow; } .pokekart:hover::after { box-shadow: 0 168px black; } .pokekart:hover::before { box-shadow: 518px 0 black; } .pokekart::after { box-shadow: 0 148px black; } .pokekart::before { box-shadow: 498px 0 black; } .pokekart::before, .pokekart::after { background-color: black; } .towerchallenge:hover::after { box-shadow: 0 168px blue; } .towerchallenge:hover::before { box-shadow: 518px 0 blue; } .towerchallenge::after { box-shadow: 0 148px blue; } .towerchallenge::before { box-shadow: 498px 0 blue; } .towerchallenge::before, .towerchallenge::after { background-color: blue; } .hitmachine:hover::after { box-shadow: 0 168px Orchid; } .hitmachine:hover::before { box-shadow: 518px 0 Orchid; } .hitmachine::after { box-shadow: 0 148px Orchid; } .hitmachine::before { box-shadow: 498px 0 Orchid; } .hitmachine::before, .hitmachine::after { background-color: Orchid; } .mewtwocastle:hover::after { box-shadow: 0 168px purple; } .mewtwocastle:hover::before { box-shadow: 518px 0 purple; } .mewtwocastle::after { box-shadow: 0 148px purple; } .mewtwocastle::before { box-shadow: 498px 0 purple; } .mewtwocastle::before, .mewtwocastle::after { background-color: purple; } .cassino:hover::after { box-shadow: 0 168px DarkSlateBlue; } .cassino:hover::before { box-shadow: 518px 0 DarkSlateBlue; } .cassino::after { box-shadow: 0 148px DarkSlateBlue; } .cassino::before { box-shadow: 498px 0 DarkSlateBlue; } .cassino::before, .cassino::after { background-color: DarkSlateBlue; } .item-minigame::before, .item-minigame::after { position: absolute; top: 0; left: 0; content: ''; display: block; transition: all 250ms ease-in-out; } .item-minigame::before { width: 2px; height: 150px; } .item-minigame::after { height: 2px; width: 500px; } .item-minigame:hover::before { left: -10px; } .item-minigame:hover::after { top: -10px; } .minigames { display: flex; text-align: center; justify-content: space-around; } .item-minigame { height: 150px; width: 500px; position: relative; display: flex; align-items: center; justify-content: center; font: 1.5rem sans-serif; cursor: pointer; will-change: transform; } } /*****************/ @media (max-width: 1300px) { .update-subtitle, .update-title { font-size: 12px; } } /* KeyFrames */ @keyframes moveGradient { 50% { background-position: 100% 50%; } } @keyframes fadeInSlide { from { opacity: 0; } to { opacity: 1; } } /* Teste */ .square-npcs { width: 180px; height: 180px; background-color: #fff; border-top: 10px solid #3498db; border-radius: 10px; text-align: center; overflow: hidden; transition: transform 0.3s,box-shadow 0.3s; margin: 15px 25px; box-shadow: 0px 0px 2px 1px rgba(0,0,0,0.15); } .square-npcs img { width: 60px; height: 60px; max-width: 100%; max-height: 100%; margin-top: 30px; } .square-npcs p{ margin: 10px 0; } .square-npcs:hover { transform: scale(1.1); box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); } .npcs { display: flex; flex-wrap: wrap; justify-content: center; } p.npcs-name { margin: 0px 5px 0px 5px; line-height: 100px; font-size: 20px; text-align: center; } .npcs-name a { padding: 150px 5px 0px 10px; color: black; text-decoration: none; } .square-npcs a p { font-size: 0; height: 200px; width: 200px; position: absolute; } /* Dark Mode */ @media (prefers-color-scheme: dark) { .mw-body, .parsoid-body, #mw-panel { background: #222125; border-radius: 6px; border: 5px solid transparent; border-image: url(https://wiki.otpokemon.com/images/a/af/Border_blue.png) 15 stretch; } .mw-body h1, .mw-body-content h1 { font-size: 1.8em; color: white; } .mw-body-content .toc h2 { font-family: sans-serif; font-size: 100%; color: white; } #mw-panel .portal h3 { color: #cacaca; font-weight: normal; margin: 0.5em 0 0 0.66666667em; padding: 0.25em 0; cursor: default; border: 0; font-size: 0.75em; } .mw-body-content p { margin: 0.5em 0; color: white; } .mw-body-content h3, .mw-body-content h4 { font-weight: bold; color: white; } pre, .mw-code { color: #fff; background-color: rgb(234 236 240 / 0%); border: 1px solid rgb(234 236 240 / 0%); padding: 0; white-space: pre-wrap; } .tocnumber { padding-left: 0; padding-right: 0.5em; color: #e3e3e3; } li { margin-bottom: 0.1em; color: white; } #simpleSearch { display: block; width: 13.2em; width: 20vw; min-width: 5em; max-width: 20em; height: 100%; margin-top: 0; position: relative; background: #222125; min-height: 1px; } #mw-panel .portal .body li a:visited { color: #e0e0e0; } #mw-panel .portal .body li a { color: #d8d8d9; } a:visited { color: #5d90ff; } a { text-decoration: none; color: #d8d8d9; background: none; } b { color: white; } .mw-content-ltr { direction: ltr; color: white; } .toc { display: inline-block; display: table; zoom: 1; *display: inline; background: #141415; padding: 7px; } .toctogglelabel { cursor: pointer; color: #b3bcca; } .mw-parser-output a.external:visited { color: #ffa6ff; } .mw-parser-output a.external { color: #ffa6ff; } .mw-body-content h2 { margin-top: 1em; font-size: 1.5em; color: white; } .mw-editform #wpTextbox1 { margin: 0; display: block; max-height: 100vh; background: #d8d6de; min-height: 5em; } div#editpage-copywarn p { color: #363535; } .mw-editinginterface p { color: white; } .wikitable { background-color: #141415; color: #eaecf0; margin: 1em 0; border: 1px solid #a2a9b1; border-collapse: collapse; } .wikitable > tr > th, .wikitable > * > tr > th { background-color: #3d3d3d; text-align: center; } #simpleSearch input { background-color: #ffffff; background-color: rgba(0,0,0,0); color: #ffffff; margin: 0; } ol li::marker { color: red; font-weight: bold; } ul li::marker { font-size: 150%; color: white; } .spoilers-body { border: 1px dashed #000; padding: 3px; background-color: #222125; display: none; color: #000; } .tab_shiny { background-color: rgb(255 255 255); color: black; } .warningbox { background-color: #000; border-color: #fc3; } table.wikitable.sortable.quest.jquery-tablesorter a { color: #12125e; } }