MediaWiki:Common.css: Difference between revisions
Cuntributor (talk | contribs) No edit summary |
Cuntributor (talk | contribs) test |
||
| Line 2: | Line 2: | ||
/* To make images responsive */ | /* To make images responsive */ | ||
==External image resizing== | |||
.externalimage-holder { | .externalimage-holder { | ||
position: relative; | position: relative; | ||
| Line 8: | Line 10: | ||
width: 100%; | width: 100%; | ||
height: auto; | 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== | |||
h1 { | |||
font-variant: small-caps; | |||
text-align:center; | |||
border: 4px solid #FFFFFF; | |||
border-radius: 25px; | |||
border: 2px solid #FFFFFF; | |||
background-color: #FF0092; | |||
font-family: comfortaa, Arial, sans-serif; | |||
} | |||
h2 { | |||
font-variant: small-caps; | |||
text-align:center; | |||
border: 4px solid #FFFFFF; | |||
border-radius: 25px; | |||
border: 2px solid #FFFFFF; | |||
background-color: #FF0092; | |||
font-family: comfortaa, Arial, sans-serif; | |||
} | } | ||
Revision as of 09:44, 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==
h1 {
font-variant: small-caps;
text-align:center;
border: 4px solid #FFFFFF;
border-radius: 25px;
border: 2px solid #FFFFFF;
background-color: #FF0092;
font-family: comfortaa, Arial, sans-serif;
}
h2 {
font-variant: small-caps;
text-align:center;
border: 4px solid #FFFFFF;
border-radius: 25px;
border: 2px solid #FFFFFF;
background-color: #FF0092;
font-family: comfortaa, Arial, sans-serif;
}