Jump to content

MediaWiki:Common.css: Difference between revisions

From Transcendent Harem
test
test
Line 23: Line 23:


==Header formats==
==Header formats==
mw-body h1 {
font-variant: small-caps;
text-align:center;
border: 4px solid #FFFFFF;
border-radius: 25px;
background-color: #FF0092;
}


h1 {
h1 {
font-variant: small-caps;
font-variant: small-caps;
color: #FF0092;
text-align:center;
border: 4px solid #FFFFFF;
border-radius: 25px;
background-color: #FF0092;
}
}



Revision as of 09:51, 5 March 2025

/* CSS placed here will be applied to all skins */
/* To make images responsive */


==External image resizing==
.externalimage-holder {
    position: relative;
}
.externalimage-holder img {
    width: 100%;
    height: auto;
}


== Fonts ==

@font-face {
    font-family: 'comfortaa';
    font-style: normal;
    font-weight: normal;
    src: url('http://theharem.site/font/comfortaa.ttf') format('truetype');
}

==Header formats==

mw-body h1 {
	font-variant: small-caps;
	text-align:center;
	border: 4px solid #FFFFFF;
	border-radius: 25px;
	background-color: #FF0092;	
}

h1 {
	font-variant: small-caps;
	text-align:center;
	border: 4px solid #FFFFFF;
	border-radius: 25px;
	background-color: #FF0092;	
}

h2 {
	font-variant: small-caps;
	color: #FF0092;	
}