Difference between revisions of "MediaWiki:Common.css"

From Starsonata Wiki
Jump to: navigation, search
m
m
Line 1: Line 1:
/*@media only screen and (min-device-width: 1024px) {
 
    table.wikitable tbody{
 
        display: block;
 
        width: 98%;
 
        max-height: 30em;
 
        overflow-y: scroll;
 
        overflow-x: none;
 
        border: 2px solid #088;
 
    }
 
    table.wikitable thead{
 
        display: block;
 
        width: 98%;
 
        border: 2px solid #088;
 
    }
 
}
 
 
table.wikitable {
 
width: 100%; /* whatever width you like */
 
position: relative; /* so .content can use position: absolute */
 
}
 
*/
 
 
 
#toc {
 
#toc {
border: 5px outset #36b;
+
    border: 5px outset #36b;
border-radius: 10px;
+
    border-radius: 10px;
 
}
 
}
  
 
.editsection, #bodyContent a.external {
 
.editsection, #bodyContent a.external {
margin-left: 5px;
+
    margin-left: 5px;
color: #fff;
+
    color: #fff;
background: rgba(0,0,0,0.6);
+
    background: rgba(0,0,0,0.6);
border-radius: 5px;
+
    border-radius: 5px;
padding: 2px;
+
    padding: 2px;
margin: 10px;
+
    margin: 10px;
top: -3px;
+
    top: -3px;
left: -3px;
+
    left: -3px;
position: relative;
+
    position: relative;
box-shadow: 3px 3px 3px 3px #000;
+
    box-shadow: 3px 3px 3px 3px #000;
 
}
 
}
  
 
.editsection:hover, #bodyContent a.external:hover {
 
.editsection:hover, #bodyContent a.external:hover {
color: #7af5ff;
+
    color: #7af5ff;
top:0px;
+
    top:0px;
left:0px;
+
    left:0px;
-webkit-transition:all .3s;
+
    -webkit-transition:all .3s;
box-shadow: 0px 0px 3px 3px #7af5ff;
+
    box-shadow: 0px 0px 3px 3px #7af5ff;
 
}
 
}
  
Line 55: Line 33:
 
}
 
}
  
/*
+
div#content {
#bodyContent div.mw-content-ltr table:nth-child(1) {
+
     background-color: rgba(255, 255, 255, 0.1)!important;
    margin-right:60px!important;
+
     margin-right:20px;
    margin-top:0px!important;
 
    background: -webkit-linear-gradient(#a6a6a6, #5a5a5a); /* For Safari 5.1 to 6.0 */
 
    background: -o-linear-gradient(#a6a6a6, #5a5a5a); /* For Opera 11.1 to 12.0 */
 
    background: -moz-linear-gradient(#a6a6a6, #5a5a5a); /* For Firefox 3.6 to 15 */
 
    background: linear-gradient(#a6a6a6, #5a5a5a); /* Standard syntax */
 
    border-radius:10px;
 
}
 
 
 
#bodyContent div.mw-content-ltr table:nth-child(1) tbody tr td {
 
    border:none!important;
 
}
 
 
 
#bodyContent div.mw-content-ltr table:nth-child(1) tbody tr td {
 
     background-color:rgba(0,0,0,0.6)!important;
 
     border-radius:20px!important;
 
 
}
 
}
*/
 

Revision as of 20:03, 1 June 2014

#toc {
    border: 5px outset #36b;
    border-radius: 10px;
}

.editsection, #bodyContent a.external {
    margin-left: 5px;
    color: #fff;
    background: rgba(0,0,0,0.6);
    border-radius: 5px;
    padding: 2px;
    margin: 10px;
    top: -3px;
    left: -3px;
    position: relative;
    box-shadow: 3px 3px 3px 3px #000;
}

.editsection:hover, #bodyContent a.external:hover {
    color: #7af5ff;
    top:0px;
    left:0px;
    -webkit-transition:all .3s;
    box-shadow: 0px 0px 3px 3px #7af5ff;
}

.editsection a {
   color:#fff;
}

.editsection a:hover {
   color:#7af5ff;
}

div#content {
    background-color: rgba(255, 255, 255, 0.1)!important;
    margin-right:20px;
}