MediaWiki:Common.css: Difference between revisions

From Habbox Wiki
Jump to navigation Jump to search
Laura (talk | contribs)
mNo edit summary
Laura (talk | contribs)
mNo edit summary
Line 8: Line 8:


.portal-banner {height: 350px; width: 100%;background-repeat:no-repeat;background-color:#000;background-position:left;margin-bottom: 20px;}
.portal-banner {height: 350px; width: 100%;background-repeat:no-repeat;background-color:#000;background-position:left;margin-bottom: 20px;}
h1.portal-banner-h1 {
.portal-banner-h1 {
     margin: 5% 10%;
     margin: 5% 10%;
     text-align: right;
     text-align: right;
Line 21: Line 21:
}
}


.homepage-banner {background: url(/wiki/images/portals/thrwiki.png) no-repeat #000 left}
.homepage-banner {background: url(/wiki/images/portals/thrwiki.png) repeat-x #000 left}
.ny-banner {background: url(/wiki/images/portals/newyear.png) no-repeat #000 left}
.ny-banner {background: url(/wiki/images/portals/newyear.png) no-repeat #000 left}
.val-banner {background: url(/wiki/images/portals/valentines.gif) no-repeat #000 left}
.val-banner {background: url(/wiki/images/portals/valentines.gif) no-repeat #000 left}
Line 101: Line 101:
     text-decoration:none;
     text-decoration:none;
   transition: 0.3s;
   transition: 0.3s;
}
.home-banner-box {width:50%; float:right; display:inline-block;}
.homepage-banner h1 {
    color: #fff;
    font-family: 'Ubuntu',sans-serif;
    font-size: 400%;
    font-weight: bold;
    float: right;
    width: 70%;
    background: #00000096;
    margin: 30px 10%;
    display: block;
    border: 0;
    padding: 2%;
    text-align: right;
}
}



Revision as of 09:11, 11 April 2021

@import url('https://fonts.googleapis.com/css?family=Ubuntu');

div#mw-panel {
padding-top:0px !important;
}

.homepage-block-orange .mw-changeslist .mw-enhancedchanges-arrow-space, td.mw-enhanced-rc, .homepage-block-orange .mw-body-content h4, td.mw-changeslist-line-inner span.mw-usertoollinks, td.mw-changeslist-line-inner span.comment, .mw-content-ltr .mw-collapsible-toggle, .mw-content-rtl .mw-content-ltr .mw-collapsible-toggle {display:none!important;}

.portal-banner {height: 350px; width: 100%;background-repeat:no-repeat;background-color:#000;background-position:left;margin-bottom: 20px;}
.portal-banner-h1 {
    margin: 5% 10%;
    text-align: right;
    color: #fff;
    font-family: 'Ubuntu',sans-serif;
    font-size: 3.5em;
    font-weight: bold;
    padding: 5% 5% 5% 15%;
    float: right;
    width: fit-content;
    background: #00000096;
}

.homepage-banner {background: url(/wiki/images/portals/thrwiki.png) repeat-x #000 left}
.ny-banner {background: url(/wiki/images/portals/newyear.png) no-repeat #000 left}
.val-banner {background: url(/wiki/images/portals/valentines.gif) no-repeat #000 left}
.easter-banner {background-image:url(/wiki/images/portals/easter.png);background-repeat:repeat-x;}


.alertbox {text-align: left; width:100%; background:#eee; margin:10px 0px;border-spacing: 0px;}
.ab-header {font-family: 'Ubuntu';color:white;font-size: 20px; padding: 10px 20px;}
.ab-text {color: #545454;padding: 10px 20px;}
.ab-image {padding-left: 140px;}

.ab-general {background:url(images/headers/general.png),linear-gradient(140deg,#ef8a1a 40%,#e48216 40%,#e48216 55%,#d47610 55%,#d47610 70%,#ca6a01 70%,#ca6a01 85%,#b9670e 85%,#b9670e 100%);}
.ab-future {background:url(images/headers/question.png),linear-gradient(140deg,#7f35af 40%,#7525a9 40%,#7525a9 55%,#681b9a 55%,#681b9a 70%,#5c138c 70%,#5c138c 85%,#480077 85%,#480077 100%);}
.ab-current {background:url(images/headers/wiki.png), linear-gradient(140deg,#b72704 30%,#ae2505 30%,#ae2505 40%,#a12207 40%,#a12207 50%,#8f1e09 50%,#8f1e09 60%,#75180d 60%,#75180d 100%);}
.ab-construction {background:url(images/headers/settings.png), linear-gradient(140deg,#ef8a1a 50%, #d47b18 50%, #d47b18 70%,#c56f10 70%,#c56f10 100%);}


.home-block {
    width: 32%;
    height: 370px;
    display: inline-block;
    margin: 0.5%;
}

.home-header {
    margin: 00!important;
    font-family: 'Ubuntu'!important;
    color: white;
    font-size: 20px!important;
    height: 50px;
    border: 0;
    line-height: 50px!important;
    padding-left: 10px!important;
}

.h-edit {background: url(/wiki/images/headers/question.png),linear-gradient(140deg,#7641b9 50%,#6a36ad 50%,#6a36ad 70%,#532194 70%,#532194 100%);}
.h-feat {background: url(/wiki/images/headers/stars.png),linear-gradient(140deg,#0096ce 50%,#0388b9 50%,#0388b9 70%,#007ca9 70%,#007ca9 100%);}
.h-file {background: url(/wiki/images/headers/general.png),linear-gradient(140deg,#d6b332 50%,#cca92b 50%,#cca92b 70%,#c1a027 70%,#c1a027 100%);}
.h-ltds {background: url(/wiki/images/headers/furni.png),linear-gradient(140deg,#39b593 50%,#2da282 50%, #2da282 70%,#259274 70%, #259274 100%);}
.h-curr {background: url(/wiki/images/headers/wiki.png),linear-gradient(140deg,#b72704 50%,#ae2505 50%,#a12207 70%,#8f1e09 70%,#75180d 100%);}
.h-cons {background: url(/wiki/images/headers/settings.png),linear-gradient(140deg,#ef8a1a 50%,#de8018 50%,#de8018 70%,#cc7412 70%,#cc7412 100%);}



.home-text {
    background: #F9F9F9;
    padding: 10px;
    font-size: 90%;
    height: 300px;
    overflow: auto;
}

.home-footer {
    background: url(/wiki/images/headers/badges.png),linear-gradient(140deg,#252525 50%,#505050 50%,#505050 70%,#717171 70%,#717171 85%,#9c9c9c 85%,#9c9c9c 100%);
    height: 40px;
    margin: 0px 0px 0px 0px;
    padding-left: 4%;
    float: left;
    position: relative;
    top: -40px;
    width: 96%;
}

.home-footer a {
    color: white;
    font-weight: bold;
    background: url(https://habbox.com/wp-content/themes/habboxv7/images/icons/read-more.png) no-repeat;
    padding-left: 25px;
    line-height: 40px;
  transition: 0.3s;
}

.home-footer p {
    margin: 0px!important;
}

.home-footer a:hover {
    opacity:0.4;
    text-decoration:none;
  transition: 0.3s;
}

.home-banner-box {width:50%; float:right; display:inline-block;}
.homepage-banner h1 {
    color: #fff;
    font-family: 'Ubuntu',sans-serif;
    font-size: 400%;
    font-weight: bold;
    float: right;
    width: 70%;
    background: #00000096;
    margin: 30px 10%;
    display: block;
    border: 0;
    padding: 2%;
    text-align: right;
}

@media only screen and (max-width: 1832px) {
.home-block {width:48%};
}

@media only screen and (max-width: 750px) {
.home-block {width:98%};
}



.mw-changeslist {
    line-height: 2em;
    font-size: 1em;
}

.mw-changeslist .mw-tag-marker, .mw-changeslist .mw-title {font-weight:bold}

.mw-changeslist-legend.mw-collapsible.mw-made-collapsible {
    display: none;
}

.mw-enhanced-rc td:nth-of-type(2) {display: none;}

.mw-changeslist h4 {
    font-weight: bold;
    font-size: 1.5em;
    margin: 0px;
    padding-bottom:10px;
}

.mw-rcfilters-ui-highlights-enhanced-nested td:first-of-type {
    display: none;
}

@media only screen and (max-width: 1832px) {
    .homepage-block-orange, .homepage-block-green, .homepage-block-blue{
        width: 31.3%!important;
    }
}


@media only screen and (max-width: 1292px) {
    .homepage-block-orange, .homepage-block-green, .homepage-block-blue{
        width: 31%!important;
    }
}

@media only screen and (max-width: 1100px) {
    .homepage-block-orange, .homepage-block-green, .homepage-block-blue{
        width: 30.5%!important;
    }
}

@media only screen and (max-width: 504px) {
    .homepage-block-orange, .homepage-block-green, .homepage-block-blue{
        width: 46.75%!important;
    }
}

.wikitable td {
    min-width: 100px;
}

#p-googleadsense .body {
display:block !important;
}

#p-googleadsense h5 {
background: none !important;
}

#p-googleadsense h5 a {
text-decoration: none !important;
color: #4D4D4D !important;
}

#p-logo a {
height:239px;
}

#p-logo {
height:190px;
}


/* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript
in [[MediaWiki:Common.js]] are styled here so they can be customised. */
.collapseButton {
padding:5px;
/* @noflip */
float: right;
font-weight: normal;
/* @noflip */
margin-left: 0.5em;
/* @noflip */
text-align: right;
width: auto;
font-size:14px;
font-weight:bold;
}

.hmain{display:block;}
.htwo {display:none;}

.hcont:hover .hmain{
display : none;
}
.hcont:hover .htwo{
display : block;
}

.collapseButton A:link {color: #191970;font-weight:bold;}
.collapseButton A:visited {color: #191970;font-weight:bold;}
.collapseButton A:active {color: #191970;font-weight:bold;}
.collapseButton A:hover {color: #191970;font-weight:bold;}

table.testtable{
margin:1em 1em 1em 0;
border:1px #aaa solid;
background:white;
border-collapse:collapse;
text-align:center;
}
.testtable th,.testtable td{
border:1px #AAA solid;
padding-left:7px;
padding-right:7px;
}
.testtable caption{
font-weight:bold
}
.testtable{
page-break-inside:avoid
}

.square {
    float: left;
    width:12px;
    height:12px;
    display:block;
    overflow:hidden;
    background:red;
    margin-left:5px;
}
#content table.wikitable {
text-align:center;
}

.modwarn {
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	border-radius:5px;
	border:1px solid #e2001a;
	border-bottom-width:2px;
	width:75%;
	text-align:center;
	color:white;
	text-shadow:1px 1px 1px #e2394c;
	font-weight:bold;
        margin-right:auto; margin-left:auto;
        margin-bottom:10px;
        background:#e28892;
}
.modwarn .inner {
	border-top:1px solid #ffa4ae;
	padding:5px 10px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	border-radius:5px;
}

.modwarn .inner img.mw-icon {
	vertical-align:middle;
	float:left;
	margin-right:5px;
}
/* wikitable class for skinning normal tables
 * keep on sync with commonPrint.css
 */
table.wikitable {
	margin: 1em 1em 1em 0;
	background: #f9f9f9;
	border: 1px #aaa solid;
	border-collapse: collapse;
	color: black;
}
.wikitable th, .wikitable td {
	border: 1px #aaa solid;
	padding: 0.2em;
}
.wikitable th {
	background: #f2f2f2;
	text-align: center;
}
.wikitable caption {
	font-weight: bold;
}

/* hide initially collapsed collapsable tables */
table.collapsed tr.collapsable {
	display: none;
}

table.ombox-notice {
border: 1px solid #AAA;
line-height: 1.6em;
}

table.ombox {
margin: 4px 10%;
border-collapse: collapse;
border: 1px solid #AAA;
background: #F9F9F9;
}

th.mbox-text, td.mbox-text {
border: none;
padding: 0.25em 0.9em;
width: 100%;
}

td.mbox-image {
border: none;
padding: 2px 0 2px 0.9em;
text-align: center;
}

.wikiEditor-ui-toolbar .tabs, .wikiEditor-ui-toolbar .section-main {height: 0px;}

.payday td:first-child, .payday th:first-child {
    display: none;
}