MediaWiki:Common.css: Difference between revisions

From TekWiki
Jump to navigation Jump to search
(Trying to fix the vertical offset of the first element of multi-column list.)
Tag: Reverted
m (Reverted edits by Kurt (talk) to last revision by Peter)
Tag: Rollback
 
Line 120: Line 120:
margin-left: 3px;
margin-left: 3px;
}
}
.column-text div:first-child p:first-child { margin: 0; }

Latest revision as of 16:11, 28 April 2024

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


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

body { font-family: "GillSansRegular", "Gill Sans MT", "Gill Sans", Calibri, "Trebuchet MS", Arial, sans-serif; } 

div#content h1, div#content h2 { font-family: "Raleway", Arial, sans-serif; } 


blockquote {
  font-size: 90%;
  }

 
/* Infobox template style */
.infobox {
    border: 1px solid #aaa;
    background-color: #f9f9f9;
    color: black;
    /* @noflip */
    margin: 0.5em 0 0.5em 1em;
    padding: 0.2em;
    /* @noflip */
    float: right;
    /* @noflip */
    clear: right;
    /* @noflip */
    text-align: left;
    font-size: 88%;
    line-height: 1.5em;
}
.infobox caption {
    font-size: 125%;
    font-weight: bold;
}
.infobox td,
.infobox th {
    vertical-align: top;
}
.infobox.bordered {
    border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
    border: 1px solid #aaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
    border: 0;
}
 
.infobox.sisterproject {
    width: 20em;
    font-size: 90%;
}
 
.infobox.standard-talk {
    border: 1px solid #c0c090;
    background-color: #f8eaba;
}
.infobox.standard-talk.bordered td,
.infobox.standard-talk.bordered th {
    border: 1px solid #c0c090;
}
 
/* styles for bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
    border: 0;
    border-top: 1px solid #aaa;
    /* @noflip */
    border-right: 1px solid #aaa;
}
 
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
    border: 0;
    /* @noflip */
    border-right: 1px solid #aaa;
}


/**
 * Styling for links generated by [[MediaWiki:Edittools]]
 */
.mw-charinsert-buttons {
	margin-top: 10px;
	border: 1px solid #aaaaaa;
	padding: 3px; 
	text-align: center;
	font-size: 110%;

	text-decoration: none;
	padding: 0 .1em .1em;
	box-shadow: 0px 0px 1px green;
}
.mw-charinsert-buttons a {
	color: black;
	background-color: #cde !important;
	font-weight: bold;
	font-size: .9em;
	text-decoration: none;
	border: thin #069 outset;
	border-radius: 5px;
	padding: 5px .3em 5px .1em;
}
.mw-charinsert-buttons a:hover,
.mw-charinsert-buttons a:active {
	background-color: #bcd;
	border-style: inset;
}
.client-js .mw-edittools-section {
	display: inline;
}
.client-js .mw-edittools-section input[type="button"] {
	font-size: 1.1em;
	padding-left: 3px;
	padding-right: 3px;
	margin-left: 3px;
}