Join the HITS Discord and leave your suggestions for this wiki, talk about your edits, or just chat with fellow Tally Hall fans!
Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(introducing new mobile styles) |
(adding logo on/off for mobile and non-mobile) |
||
Line 307: | Line 307: | ||
} | } | ||
.frontpageTopSection #col-1.two-columns .floatleft a img { | |||
display: none; | |||
} | |||
@media only screen and (max-width: 750px) | @media only screen and (max-width: 750px) | ||
Line 335: | Line 339: | ||
#mw-panel { | |||
top:0px; | top:0px; | ||
} | } | ||
#p-logo { | #p-logo { | ||
top: | top: 0; | ||
margin-bottom: 40px; | margin-bottom: 40px; | ||
margin-top: 10px; | margin-top: 10px; | ||
Line 355: | Line 359: | ||
} | } | ||
#mw-panel .portal h3 { | |||
font-weight: bold; | font-weight: bold; | ||
color: #fff; | color: #fff; | ||
Line 662: | Line 666: | ||
@media only screen and (max-width: 400px) { | @media only screen and (max-width: 400px) { | ||
#mw-page-base { | #mw-page-base { | ||
height: 0em; | height: 0em; | ||
} | |||
} | |||
@media only screen and (max-width: 400px) { | |||
#mobilelogo { | |||
margin-top: 100px; | margin-top: 100px; | ||
} | |||
.frontpageTopSection #col-1.two-columns .floatleft a img { | |||
display: block; | |||
} | } | ||
} | } |
Revision as of 20:37, 3 April 2021
/* CSS placed here will be applied to all skins */
@import url('https://fonts.googleapis.com/css?family=Carter+One|Luckiest+Guy');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css');
/* ----------------- OLD COLLAPSABLE TABLE ----------------- */
table.collapsed tr.collapsible {
display: none;
}
.collapseButton { /* 'show'/'hide' buttons created dynamically by the */
float: right; /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */
font-weight: normal; /* are styled here so they can be customised. */
text-align: right;
width: auto;
}
/* ----------------- NEW COLLAPSABLE ELEMENT ----------------- */
.alert {
padding: 0px 10px;
background-color: #e4e2ce;
border: 2px dashed #999;
margin: 10px;
display: block;
text-align: center;
}
span.mw-customtoggle-myDivision.mw-customtoggle {
font-size: x-large;
color: #0645ad;
background-color: #fffcdb;
padding: 8px 8px 14px 8px;
margin: 0px;
border-top: 1px solid #bbbbbb;
border-right: 1px solid #bbbbbb;
border-left: 1px solid #bbbbbb;
display: initial;
}
.mw-content-ltr .mw-collapsible-toggle, .mw-content-rtl .mw-content-ltr .mw-collapsible-toggle {
float: left;
}
#mw-customcollapsible-myDivision {
width: 90%;
text-align: left;
padding: 30px;
background-color: #fffcdb;
border: 1px solid #bbbbbb;
}
#mw-customcollapsible-myDivision2 {
width: 90%;
text-align: left;
padding: 15px;
line-height: 0px;
background-color: #fffcdb;
border: 1px solid #bbbbbb;
}
#mw-customcollapsible-myDivision3 {
width: 90%;
text-align: left;
padding: 15px;
line-height: 0px;
background-color: #fffcdb;
border: 1px solid #bbbbbb;
}
/* ----------------- INFOBOXES GLOBAL ----------------- */
table.infobox-HITS {
width: 22em;
border: 1px solid #999999;
float: right;
clear: right;
margin: 0px 0px 30px 30px;
padding: 0px 0px 0px 0px;
text-align: left;
line-height: 1.8em !important;
font-size: 11px;
-moz-border-radius-bottomleft: 7px;
-moz-border-radius-bottomright: 7px;
-moz-border-radius-topleft: 7px;
-moz-border-radius-topright: 7px;
-webkit-border-radius: 7px;
border-radius: 7px;
}
table.infobox-HITS th {
padding: 5px 2px 5px 2px;
}
.infobox-HITS p {
line-height: 1.8em !important;
}
#heading_biggest {
text-align:center;
font-size:18px;
font-weight: bold;
display:block;
margin: 0px 0px 0px 0px;
padding: 0px 0px 3px 0px;
line-height:normal !important;
}
#heading_bigger {
text-align:center;
font-size:14px;
font-weight: bold;
display:block;
margin: 5px 0px 0px 0px;
padding: 0px 0px 0px 0px;
line-height:normal !important;
}
/* ----------------- INFOBOX SONG ----------------- */
table#infobox_song {
background-color: #FFFFCC;
color:#000033;
font-family: "Trebuchet MS", Futura, Verdana, Arial, Helvetica, sans-serif;
padding: 0px 0px 0px 0px;
margin-top:0px;
}
#infobox_song #heading_biggest {
background-color: #B1AD7A;
color: #000000;
}
/* ----------------- INFOBOX ALBUM ----------------- */
table#infobox_album {
background-color: #ecf2f7;
color: #333333;
font-family: "Trebuchet MS", Futura, Verdana, Arial, Helvetica, sans-serif;
padding: 0px 0px 0px 0px;
margin-top:0px;
}
#infobox_album #heading_biggest {
background-color: #becad5;
color: #000000;
}
#infobox_album img {
border: 1px solid #000000;
}
/* ----------------- INFOBOX ARTIST ----------------- */
table#infobox_artist {
width: 25em;
background-color: #ecf7ee;
color: #333333;
font-family: "Trebuchet MS", Futura, Verdana, Arial, Helvetica, sans-serif;
padding: 0px 0px 0px 0px;
margin-top:0px;
}
#infobox_artist #heading_biggest {
background-color: #bed5bf;
color: #000000;
}
#infobox_artist #heading_bigger {
background-color: #bed5bf;
color: #555555;
border-bottom: 1px solid #555555;
}
#infobox_artist img {
border: 1px solid #000000;
}
/* ----------------- INFOBOX PERSON ----------------- */
table#infobox_Person {
width: 280px;
background-color: #f6ecec;
color: #333333;
font-family: "Trebuchet MS", Futura, Verdana, Arial, Helvetica, sans-serif;
padding: 0px 0px 0px 0px;
margin-top:0px;
}
#infobox_Person #heading_biggest {
background-color: #d5bebe;
color: #000000;
}
#infobox_Person #heading_bigger {
background-color: #d5bebe;
color: #555555;
border-bottom: 1px solid #555555;
}
#infobox_Person img {
border: 1px solid #000000;
}
/* ----------------- TRACKLIST GLOBAL ----------------- */
table.tracklist {
/*clear: both; */
font-size: inherit;
border: 1px solid #878787;
width: inherit;
background-color: #ececec;
}
table.tracklist th {
padding: 4px 9px;
margin: 0px;
border-bottom: 1px solid #666666;
}
table.tracklist td {}
/* ----------------- TRACKLIST ALBUMS ----------------- */
table#album {}
table#album th {
background-color: #878787;
color: #ffffff;
}
table#album tr {
}
table#album td {
background-color: #ececec;
padding: 4px 9px;
border-bottom: 1px solid #c6c6c6;
}
/* ----------------- ETC ----------------- */
/* ------ FRONT PAGE ----------- */
.frontpageTopSection {
padding: 0;
margin: 0;
overflow:hidden;
}
.two-columns {
display: block;
overflow: hidden;
width: 45%;
float:left;
}
.two-columns#col-1 {
margin: 0px 30px 0px 0px;
}
.two-columns#col-2 {
padding: 0px 10px 20px 10px;
margin: 0px 0px 0px 0px;
}
.two-columns li {
margin-bottom: 15px;
}
.two-columns.highlight {
background-color: #dbe8f1;
border: 2px dashed #9ad8fd;
}
.frontpageTopSection #col-1.two-columns .floatleft a img {
display: none;
}
@media only screen and (max-width: 750px)
{
.two-columns#col-1 {
width: 90%;
}
.two-columns#col-2 {
width: 90%;
}
}
/* ------ END FRONT PAGE ----------- */
div#mw-content-text {
background-image: url(/wiki/images/wiki_bg_fader2.png);
background-repeat: repeat-x;
padding-left: 20px;
margin: -18px 0px 0px -18px;
background-attachment: fixed;
}
#mw-panel {
top:0px;
}
#p-logo {
top: 0;
margin-bottom: 40px;
margin-top: 10px;
}
#p-logo a {
display: block;
width: 10em;
height: 180px;
background-repeat: no-repeat;
background-position: center center;
text-decoration: none;
}
#mw-panel .portal h3 {
font-weight: bold;
color: #fff;
font-size: .90em;
background-color: #4b5a6d;
padding: 5px;
background: -moz-linear-gradient(left, rgba(50,57,66,1) 0%, rgba(50,57,66,0) 100%);
background: -webkit-linear-gradient(left, #4b5a6c 0%,#32394200 100%);
background: linear-gradient(to right, #4b5a6c 0%,#32394200 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#323942', endColorstr='#00323942',GradientType=1 );
margin-left: 0px;
margin-bottom: 0px;
text-shadow: 2px 2px 2px #4b5a6c;
border-radius: 5px;
}
#mw-page-base {
height: 5em;
background-position: bottom left;
background-repeat: repeat-x;
background-image: url(/wiki/skins/Vector/images/page-fade.png?ffe96);
background-color: #fff;
background: -moz-linear-gradient(top, #ffffff 0%, #dfe8ef 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, #ffffff 0%,#dfe8ef 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, #ffffff 0%,#dfe8ef 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#dfe8ef',GradientType=0 ); /* IE6-9 */
}
@media screen and (min-width: 982px) {
#mw-panel {
padding-left: 1em;
}
}
#p-personal {
top: 0px !important;
}
#right-navigation {
margin-top: 40px !important;
}
div#mw-panel div.portal {
margin: 0 0px 0 0em;
}
div.notice1,
p.notice1 {
width: 400px;
color:#666666;
background-color:#FFFFFF;
margin: 5px 5px 5px 80px;
padding: 5px 10px 5px 10px;
font-family:"Trebuchet MS", Verdana, Arial, Helvetica;
font-size:15px;
border-top: 1px solid #333333;
border-bottom: 1px solid #333333;
border-right: 1px solid #333333;
border-left: 5px solid #FF9933;
}
div.notice2,
p.notice2 {
width: 50%;
color: #705000;
border-color: #fde29b;
background-color: #fdf1d1;
border: 1px solid;
padding: 0.5em 1em;
margin-bottom: 1em !important;
display: block;
clear: both;
}
h3 ~ pre {
font-family: monospace;
font-size: 1.2em;
word-wrap: normal;
background-color: #0000;
border: none;
}
h1#firstHeading.firstHeading {
font-family: 'Luckiest Guy', 'Trebuchet MS', Verdana, Arial, Helvetica;
font-weight: normal;
font-size: 30px;
letter-spacing: .04em;
text-shadow: #CCC 2px 2px 5px;
}
.mw-body-content h2 {
font-family: 'Carter One';
font-size: 2em;
color: #4c5a6c;
}
.mw-body {
margin-top:20px;}
#mw-head {
margin-top: 21px;
}
div#bodyContent p {
line-height: 1.4em;
margin: 1em 0em 1em 0em;
}
div#bodyContent a {
border-bottom: 1px dotted #AAA;
}
div#bodyContent a:hover {
border-bottom: 1px solid #999;
text-decoration:none;
}
div#mw-head.noprint {
height:1px !important;
}
.addthis_toolbox {
clear: both !important;
float: none !important;
font-size: 1.4em;
}
div#addthistoolbar {
background: #ffffff70 !important;
margin-left: 0px !important;
}
.paypal_button_page {
margin: 30px 10px 10px 10px;
padding: 10px;
text-align: center;
background-color: #445971;
color: #fff;
border: 1px solid #000;
width: 100%;
font-size: 16px;
font-weight: bold;
word-wrap: break-word;
}
.paypal_button_sidebar {
padding: 10px 0px;
text-align: center;
color: #000;
width: 100%;
font-size: 12px;
font-weight: bold;
}
#mw-panel #p-googleadsense-portletlabel .body {
background: none;
border: none;
box-shadow: none;
}
@media screen and (min-width: 976px) {
.CategoryTreeTag {
column-count: 3;
}
}
@media screen and (max-width: 976px) {
.CategoryTreeTag {
column-count: 2;
}
}
@media screen and (max-width: 620px) {
.CategoryTreeTag {
column-count: 1;
}
}
/* ---------------------- OLD ------------------------ */
body {
background-color: #DDE8F0
}
div#mw-panel.noprint div.body,
div#mw-panel div.portal div.body {
background-color: #e5e2d1;
padding-left: 5px;
border-top: 1px solid #999;
border-left: 1px solid #999;
border-bottom: 1px solid #999;
-moz-border-radius-bottomleft: 7px;
-moz-border-radius-bottomright: 0px;
-moz-border-radius-topleft: 7px;
-moz-border-radius-topright: 0px;
-webkit-border-radius: 7px 0px 0px 7px;
border-radius: 0px 0px 0px 7px;
-moz-box-shadow: -1px 3px 5px #7f7f7f;
-webkit-box-shadow: -1px 3px 5px #7f7f7f;
box-shadow: -1px 3px 5px #7f7f7f
}
div#mw-panel.noprint h5,
div#mw-panel div.portal h5 {
font-weight: bold;
font-size: 14px
}
div#mw-panel {
top: 0px
}
#p-logo {
top: -170px
}
#p-personal {
top: 30px
}
#left-navigation {
top: 65px
}
#right-navigation {
margin-top: 65px
}
/* --------------- LEFT NAV LINKS ------------------- */
div#p-Wiki_Navigation {
display: none;
}
div#p-HITS_Global_Nav .body {
background-color: inherit;
}
div#mw-panel div.portal div.body ul li a {
font-weight: normal
}
div#nav {
position: inherit;
width: 100%;
height: 22px;
padding: 0px 0px 0px 0px;
background-color: #868573;
background-image: url(/images/design_files/HITS2_menuBG2.gif);
background-repeat: repeat-x;
border-top: 1px solid #797865;
border-bottom: 2px solid #797865;
text-align: left;
font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif
}
div#nav img#menuicon {
margin: 0px 2px 0px 2px
}
table#hitsnav {
width: 100%;
height: 22px;
padding: 0px 0px 0px 0px;
background-color: #868573;
background-image: url(https://www.hiddeninthesand.com/images/design_files/HITS2_menuBG2.gif);
background-repeat: repeat;
border-top: 1px solid #797865;
border-bottom: 1px solid #797865;
text-align: left;
font-family: Trebuchet, Verdana, Helvetica, Arial, Geneva, "Lucida Sans";
font-size: 14px;
color: #333333
}
table#hitsnav img#menuicon {
margin: 0px 2px 0px 2px
}
table.milonictable {
background-color: transparent !important
}
/* --------------------- MOBILE STYLES ---------*/
.skin-minerva div.post-content.footer-content:before {
display: inline-block;
width: 50px;
height: 53px;
margin-right: 15px;
content: " ";
background: url(/wiki/images/hitsWiki_logo-2014.png) no-repeat 0 0;
background-size: 100%;
float: left;
}
@media only screen and (max-width: 400px) {
#mw-page-base {
height: 0em;
}
}
@media only screen and (max-width: 400px) {
#mobilelogo {
margin-top: 100px;
}
.frontpageTopSection #col-1.two-columns .floatleft a img {
display: block;
}
}