Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(Added Rubik font to headings) |
|||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
@import url('https://fonts.googleapis.com/css?family=Rubik:400,900&display=swap'); | |||
.mw-body h1, .mw-body-content h1, .mw-body-content h2 { | |||
font-family: 'Rubik'; | |||
} | |||
img | img | ||
{ | { |
Revision as of 21:14, 30 January 2020
/* CSS placed here will be applied to all skins */
@import url('https://fonts.googleapis.com/css?family=Rubik:400,900&display=swap');
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {
font-family: 'Rubik';
}
img
{
max-width: 100%;
height: auto;
}
blockquote
{
padding-left: 1em;
padding: 1em;
border: 1px solid #ddd;
border-left: 4px solid #ddd;
/* background: #f3f3ff; */
background: #d8ecff;
border-radius: 0.33em;
border-color: #a3d3ff;
}
.diff-addedline {
border-color: #a3d3ff;
}
.diff-addedline, .diff-deletedline, .diff-context {
font-size: 88%;
line-height: 1.6;
vertical-align: top;
white-space: -moz-pre-wrap;
white-space: pre-wrap;
border-style: solid;
border-width: 1px 1px 1px 4px;
border-radius: 0.33em;
}
.highlight
{
background: #ff0;
font-weight: unset;
}
h2
{
clear: both;
}
div.floatright img
{
margin-left: 2em;
margin-bottom: 2em;
}
@media only screen and (max-width : 1000px)
{
div.floatright
{
float: unset;
}
div.floatright img
{
margin-left: 0;
}
}