MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| Line 37: | Line 37: | ||
color: #BA0000; | color: #BA0000; | ||
} | } | ||
/*mobile*/ | |||
@media screen and (max-width: 600px) { | @media screen and (max-width: 600px) { | ||
| Line 59: | Line 61: | ||
position: absolute; | position: absolute; | ||
top: 1.5em; | top: 1.5em; | ||
} | |||
#simpleSearch{ | |||
width:100%; | |||
} | } | ||
| Line 65: | Line 71: | ||
} | } | ||
#right-navigation,left-navigation,body{ | #right-navigation,#left-navigation,body{ | ||
padding-top: 1.5em; | padding-top: 1.5em; | ||
} | } | ||
Revision as of 03:58, 3 July 2016
/* CSS placed here will be applied to all skins */
.starry{background-image:url('/images/6/69/Alnilam-Stars-Pattern.png');}
.starry img{
display:block;
margin:auto;
max-width:100%;
height:auto;
}
.nav{
color:white;text-transform: uppercase;
background:darkred;
font-family: Consolas, Courier New, monospace;display:table;margin:auto;padding:2px 10px;transform: perspective(10px) rotateX(4deg);
box-shadow: 0px 1px 5px rgb(0, 0, 0);
background:linear-gradient(darkred,darkred,rgba(255,10,10,.9));
}
.navcontent{
transform: perspective(10px) rotateX(-4deg);
}
.navcontent a{
text-shadow:0 0 4px #000;
color:white;
text-decoration:none;
display:inline-block;
padding-left: 2ch;
margin-left: -2ch;
padding-right: 2ch;
margin-right: -2ch;
}
.navcontent a:hover{
text-shadow:0 0 4px #fff;
}
.navcontent a.new{
color: #BA0000;
}
/*mobile*/
@media screen and (max-width: 600px) {
.mw-body{
margin-left:0 !important;
}
#mw-panel{
position:initial !important;
top:0 !important;
width:100% !important;
}
#mw-panel .portal{
float:left;
}
#p-search{
width:90%;
margin-left:5%;
position: absolute;
top: 1.5em;
}
#simpleSearch{
width:100%;
}
#right-navigation{
float:none;
}
#right-navigation,#left-navigation,body{
padding-top: 1.5em;
}
#p-cactions,#p-views{
float:right;
}
}