MediaWiki: Common.css: Difference between revisions

From TSAS Library
Jump to: navigation, search
No edit summary
No edit summary
Line 1: Line 1:
/*TO DO: Change Note icons to Font-Awesome glyphs*/
/*TO DO: Change Note icons to Font-Awesome glyphs*/


/* Allow people to optionally wrap lines in source listings */
div.wrapPreLines pre {
white-space: pre-wrap;
}
/* [[Template:Note]] */
/* [[Template:Note]] */
.tip,
.tip,
Line 39: Line 35:
padding-left: 32px;
padding-left: 32px;
min-height: 25px;
min-height: 25px;
}
/* Hatnotes and disambiguation notices */
.hatnote {
    font-style: italic;
}
.hatnote i {
    font-style: normal;
}
div.hatnote {
    /* @noflip */
    padding-left: 1.6em;
    margin-bottom: 0.5em;
}
div.hatnote + div.hatnote {
    margin-top: -0.5em;
}
}


Line 78: Line 58:
     padding:5px;
     padding:5px;
}
}
/* Font Awesome Support*/
@import url("https://use.fontawesome.com/releases/v5.0.10/css/solid.css");


/*Prevent Scrunchy Tables*/
/*Prevent Scrunchy Tables*/

Revision as of 17:45, 14 May 2018

/*TO DO: Change Note icons to Font-Awesome glyphs*/

/* [[Template:Note]] */
.tip,
.note {
	padding: 0.5em;
	margin: 0.5em 0;
	overflow: hidden;
	background-color: #F9F9F9;
	background-position: 4px 2px;
	background-repeat: no-repeat;
	border: 1px solid #DDD;
}
.tip-info,
.note-info {
	background-color: #F0F0E7;
	background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/f/f8/Appunti_architetto_franc_01.svg/22px-Appunti_architetto_franc_01.svg.png);
	border-color: #cc9933;
	/* @noflip */ padding-left: 30px;
	min-height: 28px;
}
.tip-reminder,
.note-reminder {
	background-color: #F6FDEA;
	background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/6/60/Bulbgraph.png/23px-Bulbgraph.png);
	border-color: #D6E434;
	padding-left: 31px;
	min-height: 28px;
}
.tip-error,
.note-error {
	background-color: #F0E7E7;
	background-image: url(//upload.wikimedia.org/wikipedia/commons/thumb/5/51/Attention_niels_epting.svg/24px-Attention_niels_epting.svg.png);
	border-color: #cc3333;
	padding-left: 32px;
	min-height: 25px;
}

/*Custom Alert Styling*/
.alert-primary {
    background-color: #d9edf7;
    padding:5px;
}
.alert-la {
    background-color: #e8af6f;
    padding:5px;
}
.alert-st {
    background-color: #b4a7d6;
    padding:5px;
}
.alert-cc {
    background-color: #b7e1cd;
    padding:5px;
}
.alert-fa {
    background-color: #ffe599;
    padding:5px;
}

/*Prevent Scrunchy Tables*/
.infobox td, .infobox th {
    padding-left: 10px;
}
/* Fix Ugly Save Buttons*/
input[type=submit], input[type=button] {
    text-shadow: none;
}

.oo-ui-buttonElement > .oo-ui-buttonElement-button {
    font-size:14px;
}