Difference between revisions of "MediaWiki:Common.css"
From NoSQLZoo
m |
m |
||
Line 115: | Line 115: | ||
@media all and (max-width: 768px){ | @media all and (max-width: 768px){ | ||
div.vectorTabs{padding: 0;} | div.vectorTabs{padding: 0;} | ||
− | .guidelist{margin: 5% auto 0;} | + | .guidelist{ |
+ | float: none; | ||
+ | margin: 5% auto 0; | ||
+ | } | ||
.mw-body{border-left: 0; margin-left: 0; margin-top: 20%;} | .mw-body{border-left: 0; margin-left: 0; margin-top: 20%;} | ||
#firstHeading{margin-top:5%;} | #firstHeading{margin-top:5%;} |
Revision as of 11:42, 28 July 2015
body.ns-0 div.guidelist div, body.ns-1 div.guidelist div{
background: #DAE5D9;
}
body.ns-0 div.guidelist div.fc, body.ns-1 div.guidelist div.fc{
background: linear-gradient(#4fa94c , #439945);
border-color: #aeaf91;
border: thin solid black;
}
body.ns-0 .mw-body, body.ns-1 .mw-body{
border-color: #4fa94c;
}
textarea{
background: #F9F9F9;
}
button{
float: left;
}
button.run {
background-image: linear-gradient(to bottom, #337AB7 0px, #265A88 100%);
background-color: #306AA0;
border-radius: 6px;
border-color: #245580;
border-width: 1px;
color: #FFF;
cursor: pointer;
font-size: 18px;
line-height: 1.3;
padding: 5px 8px;
}
button.other {
border-radius: 0.5ex;
cursor: pointer;
display: inline;
border: 1px solid;
float: right;
margin-left: 0.25em;
padding: 0.5ex;
}
div.res.waiting{
background-image: url(http://sqlzoo.net/design/ajax-loader.gif);
background-repeat: no-repeat;
background-position: center center;
height: 180px;
}
pre{
white-space: pre-wrap; /* CSS 3 */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
}
span.id{font-size:300%;padding-right:1ex}
textarea{
background: #F7F7F7;
margin: 1em 0;
min-height: 150px;
}
div.guidelist{
float: right;
width: 32ex;
border-left: 1px solid;
border-right: 1px solid;
background-color: #F0F0FF;
border-collapse: collapse;
border-bottom: 1px solid;
padding-left: 0px;
}
div.guidelist div.fc {
padding: 1em;
background-color: #000;
color: #FFF;
}
div.guidelist div {
padding: 0ex 1em;
border-bottom: 1px solid;
}
.strong{
font-weight:bold;
}
.tease {
color: #1D365D;
font-style: italic;
cursor: pointer;
padding: 0.2ex;
}
.q{
border-top: thin solid #ee8301;
margin-bottom: 9em;
width: 100%;
}
.q .ans, .q .def, .q .res{
font-weight: normal;
display: none;
}
.q .res{
background: #dae5d9;
border: solid thin black;
border-radius: 0.5ex;
border-style: inset;
border-width: 1px;
box-shadow: 1px 1px 3px #3b434e;
color: #3b434e;
clear:both;
height: auto;
margin-top: 1ex;
max-width: 100%;
overflow: auto;
padding: 1em;
resize: both;
}
.setup{
display: none;
}
@media all and (max-width: 768px){
div.vectorTabs{padding: 0;}
.guidelist{
float: none;
margin: 5% auto 0;
}
.mw-body{border-left: 0; margin-left: 0; margin-top: 20%;}
#firstHeading{margin-top:5%;}
#left-navigation, #right-navigation{margin: 0;}
#mw-panel{display:none;}
#p-personal{
top: 0;
z-index: auto
}
}