Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
| Line 123: | Line 123: | ||
outline: 2px solid #633593; | outline: 2px solid #633593; | ||
background-color: #F9F3D2; | background-color: #F9F3D2; | ||
} | |||
button, | |||
input[type="button"], | |||
input[type="submit"] { | |||
background-color: #3e002e; | |||
border: 0; | |||
border-radius: 4px; | |||
color: #fff; | |||
cursor: pointer; | |||
display: inline-block; | |||
font-size: 14px; | |||
font-size: 0.875rem; | |||
font-weight: 800; | |||
line-height: 1; | |||
padding: 1em 2em; | |||
text-shadow: none; | |||
-webkit-transition: background 0.2s; | |||
transition: background 0.2s; | |||
} | |||
input + button, | |||
input + input[type="button"], | |||
input + input[type="submit"] { | |||
padding: 0.75em 2em; | |||
} | } | ||
Revision as of 20:57, 3 August 2019
/* CSS placed here will be applied to all skins */
body {
font-size: 16px;
}
h1 {
font-size: 24px;
font-size: 1.5rem;
}
h2 {
font-size: 20px;
font-size: 1.25rem;
}
h3 {
font-size: 18px;
font-size: 1.125rem;
}
h4 {
font-size: 16px;
font-size: 1rem;
font-weight: bold;
}
h5 {
font-size: 13px;
font-size: 0.8125rem;
font-weight: 800;
letter-spacing: 0.15em;
text-transform: uppercase;
}
h6 {
font-size: 15px;
font-size: 0.9375rem;
font-weight: 800;
}
dfn,
cite,
em,
i {
font-style: italic;
}
blockquote {
background-color: #e6e6f4;
border-radius: 8px;
color: #1c146d;
font-size: 18px;
font-size: 1.125rem;
font-style: italic;
line-height: 1.5;
margin:0 0 24 0;
padding: 20px;
}
blockquote cite {
display: block;
font-style: normal;
}
address {
margin: 0 0 1.5em;
}
pre
{
background: #e6e6f4;
border-radius: 8px;
font-family: 'IBM Plex Mono', Courier, monospace;
margin-bottom: 1.6em;
max-width: 100%;
overflow: auto;
padding: 1.5em;
}
code,
kbd,
tt,
var
{
font-family: 'IBM Plex Mono', Courier, monospace;
margin-bottom: 1.6em;
max-width: 100%;
overflow: auto;
}
abbr,
acronym {
border-bottom: 1px dotted #666;
cursor: help;
}
mark,
ins {
background: #eee;
text-decoration: none;
}
big {
font-size: 125%;
}
blockquote {
quotes: "" "";
}
q {
quotes: "“" "”" "‘" "’";
}
blockquote:before,
blockquote:after {
content: "";
}
:focus {
outline: 2px solid #633593;
background-color: #F9F3D2;
}
button,
input[type="button"],
input[type="submit"] {
background-color: #3e002e;
border: 0;
border-radius: 4px;
color: #fff;
cursor: pointer;
display: inline-block;
font-size: 14px;
font-size: 0.875rem;
font-weight: 800;
line-height: 1;
padding: 1em 2em;
text-shadow: none;
-webkit-transition: background 0.2s;
transition: background 0.2s;
}
input + button,
input + input[type="button"],
input + input[type="submit"] {
padding: 0.75em 2em;
}