MediaWiki:Common.css: Difference between revisions

From Jcastle.info
No edit summary
No edit summary
Line 75: Line 75:
     color: #fff;
     color: #fff;
     text-align: center;
     text-align: center;
    border: 1px solid #808f7c;
}
}



Revision as of 18:32, 20 January 2018

/* CSS placed here will be applied to all skins */

/* background setting */
body {
	background-image: url("/smw/resources/assets/design/bgmap8.jpg");
	background-attachment: fixed;
}

.img-responsive {
    margin: 0 auto;
}

h1 {
color:#36563C;
}
h2 {
color:#36563C;
/*color:#4C6473;*/
}

/* even and odd in Broad tables */
.smwtable .row-even {
    background-color: #fff;
}
.smwtable .row-odd {
    background-color: #cde6ea;
}

.smwtable td {
    width: 150px;
}

/* for highlight photo template */
.largephoto {
width:550px
}

/*  for voting to fix display of your vote */
.rating-voted { display: inline; padding-left: .7em; padding-right: .5em; position: static; right: initial; }

img { max-width: 100%; height: auto; width: auto\9; /* ie8 */ }

#ca-talk { display:none!important; }
body.page-Home h1.firstHeading { display: none; }

ul.titlelist {
  columns: 2;
  -webkit-columns: 2;
  -moz-columns: 2;
}

    /* @noflip */
a {
-ms-word-break: break-all;
word-break: break-all;
/* Non standard for WebKit */
word-break: break-word;
-webkit-hyphens: auto;
-moz-hyphens: auto;
hyphens: auto;
}

/* Infobox template style */
.infobox {
    background-color: #f2f3f2;
    /* @noflip */
    font-size: 88%;
   border: 1px solid #ddd;
}
.infobox .caption {
    font-size: 100%;
    font-weight: bold;
    padding: 0.2em!important;;
    background-color: #808f7c;
    color: #fff;
    text-align: center;
    border: 1px solid #808f7c;
}

.right {
    float: right;
    width: 60%;
}
.left {
    float: left;
    width: 40%;
}


/* footer */
#myFooter {
    background-color: #f5f5f5;
    padding-top: 15px;
    border: 1px solid #e3e3e3;
}

#myFooter .footer-copyright {
    background-color: #eee;
    padding-top: 3px;
    padding-bottom: 3px;
    text-align: center;
    border-top: 1px solid #e3e3e3;
}

#myFooter .row {
    margin-bottom: 30px;
}

#myFooter .footer-copyright p {
    margin: 10px;
}

#myFooter ul {
    list-style-type: none;
    list-style: none;
    list-style-image: none;
    line-height: 1.7;
    padding-left: 0px;
}

#myFooter h5 {
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    color: #9D9D9D;
}

#myFooter a {
    text-decoration: none;
}

#myFooter .footercol {
      padding-left: 30px;
}

#myFooter .footer-social{
    text-align: center;
    padding-top: 25px;
    padding-bottom: 25px;
    background-color: #eee;
}

#myFooter .fa {
    font-size: 32px;
    color: #9D9D9D;
    padding: 10px;
    transition: 0.2s;
}

#myFooter .social-networks a:hover {
    text-decoration: none;
}

#myFooter .fa-facebook:hover{
   color: #2b55ff;
}

#myFooter .fa-facebook:focus{
    color: #2b55ff; 
}

#myFooter .fa-instagram:hover{
    color:red;
}

#myFooter .fa-instagram:focus{
    color:red;
}

#myFooter .fa-twitter:hover{
    color: #00aced;
}

#myFooter .fa-twitter:focus{
    color:#00aced;
}