MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| Line 38: | Line 38: | ||
.navcontent a.new{ | .navcontent a.new{ | ||
color: #BA0000; | color: #BA0000; | ||
} | |||
/*mobile*/ | |||
@media screen and (max-width: 600px),screen and (max-device-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:80%; | |||
margin-left:5%; | |||
position: absolute; | |||
top: 1.5em; | |||
} | |||
#simpleSearch{ | |||
width:100% !important; | |||
font-size:130%; | |||
height:initial; | |||
} | |||
#searchInput{ | |||
font-size:inherit !important; | |||
} | |||
#right-navigation{ | |||
float:none; | |||
} | |||
#right-navigation,#left-navigation,body{ | |||
padding-top: 2em; | |||
} | |||
#left-navigation{ | |||
margin-left:1.5%; | |||
} | |||
.mw-body-content{ | |||
font-size:initial !important; | |||
} | |||
#p-cactions,#p-views{ | |||
float:right; | |||
} | |||
#p-personal ul{ | |||
padding:0; | |||
} | |||
#p-personal li,.body .h3,.body ul li{ | |||
font-size:0.85em | |||
} | |||
} | } | ||
Revision as of 15:21, 13 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{
white-space: nowrap;
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),screen and (max-device-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:80%;
margin-left:5%;
position: absolute;
top: 1.5em;
}
#simpleSearch{
width:100% !important;
font-size:130%;
height:initial;
}
#searchInput{
font-size:inherit !important;
}
#right-navigation{
float:none;
}
#right-navigation,#left-navigation,body{
padding-top: 2em;
}
#left-navigation{
margin-left:1.5%;
}
.mw-body-content{
font-size:initial !important;
}
#p-cactions,#p-views{
float:right;
}
#p-personal ul{
padding:0;
}
#p-personal li,.body .h3,.body ul li{
font-size:0.85em
}
}