summaryrefslogtreecommitdiff
path: root/resources/src/mediawiki.special/mediawiki.special.userlogin.signup.css
blob: 0998d4cab8923069adf15fd2cabc7044e36cee11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
/* Disable the underline that Vector puts on h2 headings, and bold them. */
.mw-ui-container h2 {
	border: 0;
	font-weight: bold;
}

/* Benefits column CSS to the right (if it fits) of the form. */
.mw-ui-container #userloginForm {
	float: left;
	/* Override the right margin of the form to give space in case a benefits
	 * column appears to the side. */
	margin-right: 100px;
}

div.mw-createacct-benefits-container {
	/* Keeps this column compact and close to the form, but tends to squish contents. */
	float: left;
}

div.mw-createacct-benefits-container h2 {
	margin-bottom: 30px;
}

.mw-number-text.icon-edits {
	/* @embed */
	background: url(images/icon-edits.png) no-repeat left center;
}

.mw-number-text.icon-pages {
	/* @embed */
	background: url(images/icon-pages.png) no-repeat left center;
}

.mw-number-text.icon-contributors {
	/* @embed */
	background: url(images/icon-contributors.png) no-repeat left center;
}

/*
 * Special font for numbers in benefits, same as Vector's @content-heading-font-family.
 * Needs an ID so that it's more specific than Vector's div#content h3.
 */
#bodyContent div.mw-number-text h3 {
	top: 0;
	margin: 0;
	padding: 0;
	color: #252525;
	font-family: "Linux Libertine", Georgia, Times, serif;
	font-weight: normal;
	font-size: 2.2em;
	line-height: 1.2;
	text-align: center;
}

/* Contains a number and explanatory text, with space for an icon */
div.mw-number-text {
	display: block;
	font-size: 1.2em;
	color: #444;
	margin-top: 1em;
	/* 80px wide icon plus "margin" */
	padding: 0 0 0 95px;
	/* Matches max icon height, ensures icon emblem is visible */
	min-height: 75px;
	text-align: center;
}