MediaWiki:Common.css
Nota: Após publicar, você pode ter que limpar o "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)
- Internet Explorer/Edge: PressioneCtrl enquanto clica Recarregar, ou Pressione Ctrl-F5
- Opera: Pressione Ctrl-F5.
/** 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/c/c5/Backgroundwiki3.jpg') 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/1/18/Border-image2.png') 15 stretch;
}
#p-logo a {
background-size: contain;
border-radius: 5px;
}
.mw-list-item a {
color: white;
}
.mw-list-item a:visited {
color: #05ACF3;
}
.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;
border-center: none;
}
#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;
}
#p-personal a.new, #p-personal a:visited, #p-personal a{
color: #fff;
}
/* Main page */
.container {
margin: 0 auto;
display: flex;
}
.main {
width: 60%;
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,
#0c3d7b,
#14917c,
#1ec7ab,
#6ee7d3,
#041e41,
#1864c7,
#085245);
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, rgb(0, 47, 109) 0%, rgb(19, 83, 67) 46%, rgb(0, 105, 90) 100%);
}
.sub-most-acessed{
display: flex;
}
.ma-card-item {
text-align: center;
height: auto;
padding: 1em;
}
.ma-card-item a{
text-decoration: none;
}
.ma-item {
width: 80%;
height: 80%;
transition: 1s;
filter: drop-shadow(0px 0px 5px rgba(48, 48, 48, 0.6));
}
.ma-item:hover{
transition: 1s;
transform: scale(1.10);
filter: drop-shadow(2px 2px 2px rgba(34, 34, 34, 0.2));
}
.ma-text{
width: 80%;
height: 80%;
margin: 5px;
transition: 1s;
transform: scale(1.20);
}
.ma-text:hover{
transition: 1s;
transform: scale(1.30);
filter: drop-shadow(2px 2px 2px rgba(34, 34, 34, 0.2));
}
.ma-title-icon, .qa-title-icon {
width: 30px;
height: 30px;
}
.column {
width: 28%;
text-align: center;
}
.social-media {
text-align: center;
width: 100%;
height: 50px;
}
.sc-icon {
display: inline-block;
width: 12.5%;
margin: -1px;
height: auto;
transition: 1s;
}
.sc-icon:hover {
filter: grayscale(0%) contrast(115%);
transition: 1s;
transform: scale(1.10);
}
.box-update {
width: auto;
height: auto;
margin: 1.5em 1em;
padding: 10px;
border-radius: 10px;
border: 1px solid rgba(0, 17, 0, 0.10);
box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
}
.box-update h3{
margin-top: 10px;
}
.box-update img {
margin: 0.5em 0em;
filter: grayscale(15%);
transform: scale(.95);
width: 100%;
border-radius: 5px;
transition: 1s;
}
.box-update img:hover {
filter: grayscale(0%);
transform: scale(0.98);
transition: 1s;
}
.update-image {
box-shadow: 0 0 0.6 3em #BBB;
}
.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;
}
/* 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);
}
/* Addons Page */
.container-addons{
display: flex;
text-align: center;
}
.column-addons img{
transition: 1s;
}
.column-addons img:hover {
transform: scale(1.10);
transition: 1s;
}
/* Addons Page */
.container-addon img{
transition: 1s;
}
.container-addon img:hover {
transition: 1s;
transform: scale(1.20);
}
/* Quests Page */
.img-quests{
transition: 2s;
}
.img-quests:hover{
filter: contrast(140%);
transition: 2s;
}
/* KeyFrames */
@keyframes moveGradient {
50% {
background-position: 100% 50%;
}
}
/* Tests */
@import url('https://fonts.googleapis.com/css?family=Heebo:400,700|Open+Sans:400,700');
:root {
--color: #3c3163;
--transition-time: 0.5s;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
min-height: 100vh;
font-family: 'Open Sans';
background: #fafafa;
}
a {
color: inherit;
}
.cards-wrapper {
display: grid;
justify-content: center;
align-items: center;
grid-template-columns: 1fr 1fr 1fr;
grid-gap: 4rem;
padding: 4rem;
margin: 0 auto;
width: max-content;
}
.card {
font-family: 'Heebo';
--bg-filter-opacity: 0.5;
background-image: linear-gradient(rgba(0,0,0,var(--bg-filter-opacity)),rgba(0,0,0,var(--bg-filter-opacity))), var(--bg-img);
height: 20em;
width: 15em;
font-size: 1.5em;
color: white;
border-radius: 1em;
padding: 1em;
/*margin: 2em;*/
display: flex;
align-items: flex-end;
background-size: cover;
background-position: center;
box-shadow: 0 0 5em -1em black;
transition: all, var(--transition-time);
position: relative;
overflow: hidden;
border: 10px solid #ccc;
text-decoration: none;
}
.card:hover {
transform: rotate(0);
}
.card h1 {
margin: 0;
font-size: 1.5em;
line-height: 1.2em;
}
.card p {
font-size: 0.75em;
font-family: 'Open Sans';
margin-top: 0.5em;
line-height: 2em;
}
.card .tags {
display: flex;
}
.card .tags .tag {
font-size: 0.75em;
background: rgba(255,255,255,0.5);
border-radius: 0.3rem;
padding: 0 0.5em;
margin-right: 0.5em;
line-height: 1.5em;
transition: all, var(--transition-time);
}
.card:hover .tags .tag {
background: var(--color);
color: white;
}
.card .date {
position: absolute;
top: 0;
right: 0;
font-size: 0.75em;
padding: 1em;
line-height: 1em;
opacity: .8;
}
.card:before, .card:after {
content: '';
transform: scale(0);
transform-origin: top left;
border-radius: 50%;
position: absolute;
left: -50%;
top: -50%;
z-index: -5;
transition: all, var(--transition-time);
transition-timing-function: ease-in-out;
}
.card:before {
background: #ddd;
width: 250%;
height: 250%;
}
.card:after {
background: white;
width: 200%;
height: 200%;
}
.card:hover {
color: var(--color);
}
.card:hover:before, .card:hover:after {
transform: scale(1);
}
.card-grid-space .num {
font-size: 3em;
margin-bottom: 1.2rem;
margin-left: 1rem;
}
.info {
font-size: 1.2em;
display: flex;
padding: 1em 3em;
height: 3em;
}
.info img {
height: 3em;
margin-right: 0.5em;
}
.info h1 {
font-size: 1em;
font-weight: normal;
}
/* MEDIA QUERIES */
@media screen and (max-width: 1285px) {
.cards-wrapper {
grid-template-columns: 1fr 1fr;
}
}
@media screen and (max-width: 900px) {
.cards-wrapper {
grid-template-columns: 1fr;
}
.info {
justify-content: center;
}
.card-grid-space .num {
/margin-left: 0;
/text-align: center;
}
}
@media screen and (max-width: 500px) {
.cards-wrapper {
padding: 4rem 2rem;
}
.card {
max-width: calc(100vw - 4rem);
}
}
@media screen and (max-width: 450px) {
.info {
display: block;
text-align: center;
}
.info h1 {
margin: 0;
}
}