Mudanças entre as edições de "MediaWiki:Common.css"
Ir para navegação
Ir para pesquisar
(21 revisões intermediárias pelo mesmo usuário não estão sendo mostradas) | |||
Linha 1: | Linha 1: | ||
/** o código CSS colocado aqui será aplicado a todos os temas */ | /** o código CSS colocado aqui será aplicado a todos os temas */ | ||
+ | |||
+ | |||
/*Style for bash scripts: pre tags with class "bash"*/ | /*Style for bash scripts: pre tags with class "bash"*/ | ||
pre.bash { | pre.bash { | ||
Linha 16: | Linha 18: | ||
} | } | ||
.bem_vindo{ | .bem_vindo{ | ||
− | padding: | + | padding:10px; |
− | font-size: | + | font-size:1.3em; |
background:#F2F5FD; | background:#F2F5FD; | ||
− | border: | + | border: 1px solid #C7D0F8; |
text-align:center; | text-align:center; | ||
+ | border-radius: 10px; | ||
} | } | ||
+ | |||
+ | img { | ||
+ | max-width: 100%; | ||
+ | display:block; | ||
+ | height: auto; | ||
+ | } | ||
+ | |||
+ | /* Make clickable text on links invisible. */ | ||
+ | li#n-icone { | ||
+ | color:#f6f6f6; | ||
+ | visibility: visible; | ||
+ | font-size:0em; | ||
+ | } | ||
+ | #n-icone:hover ::after, #n-icone ::after { | ||
+ | content: ''; | ||
+ | display:inline-block; | ||
+ | width: 100px; | ||
+ | height: 100px; | ||
+ | |||
+ | background: url('https://www.lcc.ufmg.br/wiki/images/LogoCenapadMG_wiki.png'); | ||
+ | } | ||
+ | |||
+ | /* Every image need to have its own rule defined. */ | ||
+ | #n-icone::after{ | ||
+ | background: url('https://www.lcc.ufmg.br/wiki/images/LogoCenapadMG_wiki.png'); | ||
+ | } | ||
+ | |||
+ | #n-icone:hover ::after { | ||
+ | background: url('https://www.lcc.ufmg.br/wiki/images/LogoCenapadMG_wiki.png'); | ||
+ | } | ||
+ | #n-icone:hover ::after, #n-icone ::after{ | ||
+ | background-repeat: no-repeat; | ||
+ | background-size: contain; | ||
+ | } | ||
+ | |||
+ | #mw-panel .portal .body li#n-icone { | ||
+ | font-size:0em; | ||
+ | padding:10px; | ||
+ | } | ||
+ | |||
+ | .mobileonly {display: none;} | ||
+ | |||
+ | /* Smartphone Portrait and Landscape */ | ||
+ | @media only screen | ||
+ | and (min-device-width : 320px) | ||
+ | and (max-device-width : 480px){ | ||
+ | .mobileonly {display: inline;} | ||
+ | } | ||
/*.mw-highlight pre { | /*.mw-highlight pre { | ||
font-size: 90%; | font-size: 90%; | ||
}*/ | }*/ |
Edição atual tal como às 11h39min de 8 de julho de 2019
/** o código CSS colocado aqui será aplicado a todos os temas */
/*Style for bash scripts: pre tags with class "bash"*/
pre.bash {
background-color: black;
color: #e6e6e6;
font-size: 1.15em;
font-family: Consolas,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New, monospace;
}
.aviso{
padding: 5px 20px 5px 12px;
background: #F0F0E7;
border: 1.5px solid #CC9933;
font-family: monospace, monospace;
font-size: 1.16em;
}
.bem_vindo{
padding:10px;
font-size:1.3em;
background:#F2F5FD;
border: 1px solid #C7D0F8;
text-align:center;
border-radius: 10px;
}
img {
max-width: 100%;
display:block;
height: auto;
}
/* Make clickable text on links invisible. */
li#n-icone {
color:#f6f6f6;
visibility: visible;
font-size:0em;
}
#n-icone:hover ::after, #n-icone ::after {
content: '';
display:inline-block;
width: 100px;
height: 100px;
background: url('https://www.lcc.ufmg.br/wiki/images/LogoCenapadMG_wiki.png');
}
/* Every image need to have its own rule defined. */
#n-icone::after{
background: url('https://www.lcc.ufmg.br/wiki/images/LogoCenapadMG_wiki.png');
}
#n-icone:hover ::after {
background: url('https://www.lcc.ufmg.br/wiki/images/LogoCenapadMG_wiki.png');
}
#n-icone:hover ::after, #n-icone ::after{
background-repeat: no-repeat;
background-size: contain;
}
#mw-panel .portal .body li#n-icone {
font-size:0em;
padding:10px;
}
.mobileonly {display: none;}
/* Smartphone Portrait and Landscape */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px){
.mobileonly {display: inline;}
}
/*.mw-highlight pre {
font-size: 90%;
}*/