Szerkesztő:Pompos Balázs/common.css
A VIK Wikiből
Megjegyzés: közzététel után frissítened kell a böngésződ gyorsítótárát, hogy lásd a változásokat.
- Firefox / Safari: tartsd lenyomva a Shift gombot és kattints a Frissítés gombra a címsorban, vagy használd a Ctrl–F5 vagy Ctrl–R (Macen ⌘–R) billentyűkombinációt
- Google Chrome: használd a Ctrl–Shift–R (Macen ⌘–Shift–R) billentyűkombinációt
- Internet Explorer / Edge: tartsd nyomva a Ctrl-t, és kattints a Frissítés gombra, vagy nyomj Ctrl–F5-öt
- Opera: Nyomj Ctrl–F5-öt
/*
* PREFERENCES AND FIELDSET STUFF
*/
#preftoc {
margin: 0 0 1em;
padding: 0;
list-style: none;
clear: both;
}
#preftoc li {
display: inline;
margin-right: 1em;
}
#preftoc li.selected a {
color: #013;
border-bottom: solid 0.2em #08d;
}
#preferences {
margin: 0;
clear: both;
min-height: 400px;
}
#preferences .prefsection {
border: 0;
padding: 0;
margin: 0;
box-shadow: none;
}
#preferences .mainLegend {
display: none;
}
#preferences .preferences-login {
clear: both;
margin-bottom: 1.5em;
}
#preferences .mw-email-not-authenticated .mw-input,
#preferences .mw-email-none .mw-input {
display: block;
padding: 0.25em 0.5em;
}
#preferences input[type='checkbox'],
#preferences input[type='radio'] {
margin-left: 0;
}
.mw-prefs-buttons {
margin-top: 1em;
}
td.mw-input,
td.mw-label {
vertical-align: middle;
}
fieldset {
background: #fcfcfc;
border: solid #eee;
border-width: 1px 1px 0.2em;
padding: 1.25em 1.75em;
box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.02);
line-height: 1.3em;
margin: 1em 0;
background: #fff;
}
fieldset legend {
padding: 0.5em 1.25em;
background: #fff;
font-weight: bold;
color: #069;
}
label {
padding-left: 0.5em;
}
.mw-input label {
padding: 0;
margin-right: 1em;
}
.mw-label {
padding-right: 0.5em;
}
.mw-submit {
padding-top: 2em;
}
.htmlform-tip {
font-size: 85%;
color: #013;
line-height: 1.2em;
padding: 1em 0;
}
/*
*
* FORM STUFF
*
*/
/* pile of bad hacks to try to catch all the different ones */
input[name='target'],
input[name='user'],
input[name='mime'],
input[size$='0'],
input[type='text'],
input[type='checkbox'],
input[type='radio'],
input#wpTemplateSandboxPage,
input.mw-summary,
input.mw-input,
.mw-input input,
textarea,
.mw-ui-input-inline,
.mw-ui-input,
#searchInput {
box-sizing: border-box;
padding: 0.25em 0.35em;
border: solid 1px #ccc;
margin: 0.5em 0;
box-shadow: inset 0 1px 1px 1px rgba(0, 0, 0, 0.05);
font-size: 1em;
min-height: 30px;
font-family: 'Helvetica Neue', 'Nimbus Sans', 'Helvetica', 'Arial', sans-serif;
}
select {
padding: 0.25em;
margin: 0.5em 0;
}
input[type='checkbox'],
input[type='radio'] {
margin-left: 1em;
min-height: 0;
}
input[type='checkbox'] {
border-radius: 2px;
}
input[type='radio'] {
border-radius: 8px;
}
.mw-ui-button.mw-ui-progressive,
.mw-ui-button.mw-ui-progressive:active,
.mw-ui-button.mw-ui-progressive.mw-ui-checked,
input[type='submit'],
input[type='button'],
button {
padding: 0.25em 1em 0.1em 1em;
border: solid 1px #ccc;
border-bottom-width: 0.2em;
text-shadow: 0 -1px 0 #ccc;
box-sizing: border-box;
border-radius: 0.2em;
background: #fff;
color: #013;
min-height: 30px;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.mw-ui-button.mw-ui-progressive:active,
.mw-ui-button.mw-ui-progressive:active:active,
.mw-ui-button.mw-ui-progressive.mw-ui-checked:active,
input[type='submit']:active,
input[type='button']:active,
button:active {
background-color: #eee;
}
.mw-ui-button.mw-ui-progressive:hover,
.mw-ui-button.mw-ui-progressive:active:hover,
.mw-ui-button.mw-ui-progressive.mw-ui-checked:hover,
input[type='submit']:hover,
input[type='button']:hover,
button:hover {
background-color: #eee;
}
textarea {
width: 100%;
resize: vertical;
box-sizing: border-box;
line-height: 1.3em;
font-family: 'Consolas', 'Courier', 'Nimbus Mono', 'Liberation Mono', 'Courier New', monospace;
}
textarea#wpTextbox1 {
border-color: #ccc;
}
div.editOptions {
padding: 1.25em 1.75em;
padding: 1em;
border: solid #ccc;
border-width: 0 1px 0.2em;
background: #f3f3f3;
}
div.editOptions .mw-summary label {
padding-left: 0;
}
div.editOptions input#wpSummary {
box-sizing: border-box;
width: 100%;
}
div.editOptions label {
margin-right: 1.5em;
}
div.editOptions fieldset,
div.editOptions legend {
background: inherit;
border: 0;
box-shadow: none;
padding: 0;
margin-top: 2em;
}
/* Extension:TemplateSandbox stuff */
.mw-templatesandbox-page label {
padding: 0;
}
#wpTemplateSandboxPreview {
margin-left: 0.5em;
}
/* Recent changes and watchlist options */
.rcoptions hr,
#mw-watchlist-options hr {
clear: both;
}
.rcoptions #namespace,
#mw-watchlist-options .namespaceselector {
margin-right: 2em;
}
/* Watchlist */
#mw-watchlist-options label {
padding: 0 1em 0 0;
}
#mw-watchlist-options input[type='submit'] {
margin: 0 0 0 4em;
}
/* Related changes hacks */
.mw-special-Recentchangeslinked .rcoptions input[type='submit'] {
float: right;
margin: 0 0 0 4em;
}
.mw-special-Recentchangeslinked .rcoptions td.mw-label.mw-target-label {
vertical-align: top;
padding-top: 0.75em;
}
.mw-special-Recentchangeslinked .rcoptions input[name='target'] {
float: left;
}
.mw-special-Recentchangeslinked #showlinkedto {
clear: left;
float: left;
}
.mw-special-Recentchangeslinked label[for='showlinkedto'] {
padding: 0.4em;
float: left;
}
.skin-timeless .oo-ui-windowManager-modal > .oo-ui-dialog,
.skin-timeless .ve-ui-overlay-global {
z-index: 101;
}
body > .oo-ui-windowManager,
.oo-ui-defaultOverlay {
z-index: 101;
font-size: 0.95em;
}
/* Page layout */
html,
body {
margin: 0;
padding: 0;
}
body {
font-family: 'Helvetica Neue', 'Nimbus Sans', 'Helvetica', 'Arial', sans-serif;
color: #013;
background: #777;
font-size: 0.95em;
line-height: 1.4;
}
#mw-content {
background: #fcfcfc;
border: solid #eee;
border-width: 1px 1px 0.2em;
padding: 1.25em 1.75em;
box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.02);
background: #fff;
padding: 1em 2em 3em;
position: relative;
}
#mw-content-container {
background: #f3f3f3;
word-wrap: break-word;
}
#mw-footer-container {
border-top: solid 1px #555;
box-shadow: inset 0 7px 2px -4px rgba(0, 0, 0, 0.1);
color: #fff;
}
#mw-footer-container a {
color: #fff;
}
#mw-footer-container ul {
margin: 0;
}
#p-logo {
text-align: center;
margin: auto;
}
.mw-wiki-logo {
display: block;
content: '';
width: 11em;
height: 11em;
background-repeat: no-repeat;
background-position: 50% 50%;
margin: 0.75em auto 0;
}
#p-logo-text {
width: 14em;
text-align: center;
line-height: 1;
}
#p-logo-text a {
padding: 0.2em 1em;
color: #013;
font-family: 'Linux Libertine', 'Times New Roman', serif;
font-variant: small-caps;
font-size: 1.75em;
display: block;
/* 13+ character names */
}
#p-logo-text a.long {
font-size: 1.45em;
padding: 0 0.75em 0 0;
line-height: 0.8;
}
/* Search */
#simpleSearch {
box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);
background: #fff;
position: relative;
border: solid 1px #ccc;
}
#searchInput {
border: 0;
margin: 0;
height: 2.1em;
padding: 0.4em 4.5em 0.2em 2em;
box-shadow: none;
background: transparent;
width: 100%;
min-height: 0;
}
#searchButton,
#mw-searchButton {
position: absolute;
top: 0;
right: 1.5em;
width: 2.5em;
height: 2.5em;
text-indent: -99999px;
border: 0;
background-color: transparent;
background-repeat: no-repeat;
background-position: 50% 40%;
box-shadow: none;
}
.suggestions {
background: #fff;
box-shadow: 0 2px 2px 1px rgba(0, 0, 0, 0.05);
}
.suggestions .suggestions-special {
background-color: #fff;
border: 1px solid #ccc;
border-bottom-width: 0.2em;
padding: 0.75em 2em;
}
.suggestions .suggestions-results {
background-color: #fff;
border: 1px solid #ccc;
border-bottom-width: 0.2em;
}
.suggestions .suggestions-result {
color: #013;
padding: 0.65em 2em 0.35em;
}
.suggestions .suggestions-result-current {
background-color: #08d;
color: #fff;
}
div.suggestions {
position: fixed;
top: 2.75em !important;
}
/* Dropdown stuff */
.pokey,
.pokey:after {
border-bottom: 10px solid #eee;
border-left: 10px solid transparent;
border-right: 10px solid transparent;
content: '';
height: 0;
position: absolute;
transform: rotate(360deg);
width: 0;
z-index: 4;
}
.pokey {
top: 1.85em;
right: 1px;
display: none;
}
.pokey:after {
border-bottom-color: #fff;
right: -10px;
top: 2px;
}
.dropdown-toggle {
cursor: pointer;
margin-bottom: -1em;
padding-bottom: 1em;
}
.dropdown-toggle:after {
display: inline-block;
content: '';
width: 22px;
height: 12px;
background-position: center center;
background-repeat: no-repeat;
}
/* Footer */
#mw-footer {
padding-top: 0.5em;
padding-bottom: 1em;
}
#mw-footer ul,
#mw-footer li {
margin: 1em 0;
list-style: none;
padding: 0;
}
#mw-footer .footer-icons {
float: right;
margin: 0 0 0 1em;
}
#mw-footer .footer-icons li {
margin: 0 0 1em 0;
}
#mw-footer .footer-places li {
display: inline;
padding-right: 1em;
}
#mw-footer #lastmod {
display: block;
}
/* Content */
#mw-content-container {
border-bottom: solid 4px #3b7;
}
#mw-page-header-links div,
#mw-page-header-links ul,
#mw-page-header-links li {
list-style: none;
display: inline-block;
margin: 0;
padding: 0;
}
#mw-page-header-links li {
margin: 0.25em 0 1em;
border-bottom: solid 3px transparent;
}
#mw-page-header-links li:hover {
border-bottom-color: #ccc;
}
#mw-page-header-links li.selected {
border-bottom-color: #08d;
}
#mw-page-header-links li.selected a {
color: #013;
}
#p-namespaces {
float: left;
}
#p-namespaces li {
margin-right: 1em;
}
#p-views {
float: right;
}
#p-views li {
margin-left: 1em;
}
#ca-watch a {
text-indent: -99999px;
border: 0;
background-color: transparent;
background-repeat: no-repeat;
display: inline-block;
width: 20px;
height: 20px;
box-sizing: border-box;
margin-bottom: -0.5em;
}
#ca-unwatch a {
text-indent: -99999px;
border: 0;
background-color: transparent;
background-repeat: no-repeat;
display: inline-block;
width: 20px;
height: 20px;
box-sizing: border-box;
margin-bottom: -0.5em;
}
/* Misc */
a {
text-decoration: none;
color: #08d;
}
a:hover,
a:visited {
color: #069;
}
a.new,
.new a {
color: #d44;
}
a.new:hover,
.new a:hover,
a.new:visited,
.new a:visited {
color: #900;
}
.mw-editsection {
font-family: 'Helvetica Neue', 'Nimbus Sans', 'Helvetica', 'Arial', sans-serif;
}
.mw-editsection a {
background-repeat: no-repeat;
background-position: 0 0;
display: inline-block;
padding: 0.5em 0 0.25em 1.75em;
}
.mw-editsection-bracket {
display: none;
}
.visual-clear {
clear: both;
}
.mw-indicators {
float: right;
margin: 0.25em 0 0 1em;
}
.mw-indicator {
display: inline-block;
}
/* Subtitle area
* @see https://phabricator.wikimedia.org/T173951
*/
#contentSub {
font-size: 84%;
color: #666;
/* This forces "redirect page" (on a redirect page) etc. on a new line */
}
#contentSub .subpages {
display: block;
}
/* pre and code styles copypasted from core
* /resources/src/mediawiki.skinning/elements.css and modified a bit
* @see https://phabricator.wikimedia.org/T177142
*/
code {
color: #000;
background-color: #eee;
border: 1px solid #666;
border-radius: 2px;
padding: 1px 4px;
}
pre,
.mw-code {
color: #000;
background-color: #eee;
border: 1px solid #666;
padding: 1em;
/* Wrap lines in overflow. T2260, T103780 */
white-space: pre-wrap;
}
#mw-content h1,
#mw-content h2,
#mw-content h3,
#mw-content h4,
#mw-content h5,
#mw-content h6,
#mw-content dt {
font-weight: normal;
font-family: 'Linux Libertine', 'Times New Roman', serif;
line-height: 1.25;
margin: 1.5em 0 0.5em;
}
#mw-content form dt {
margin: 0 0.5em 0 0;
}
#mw-content h1,
#mw-content h2 {
border-bottom: solid 2px #08d;
overflow: hidden;
}
#mw-content h1.firstHeading {
margin: 0.25em 0 0.5em;
border-bottom: solid 4px #d44;
}
#mw-content h1 {
font-size: 2em;
}
#mw-content h2 {
font-size: 1.7em;
}
#mw-content h3 {
font-size: 1.5em;
}
#mw-content h4 {
font-size: 1.35em;
}
#mw-content h5 {
font-size: 1.25em;
}
#mw-content h6 {
font-size: 1.2em;
}
#mw-content dt {
margin-top: 1em;
}
#mw-content dd {
margin-bottom: 1em;
}
#mw-content .mw-changeslist-legend dd {
margin-bottom: 0;
}
hr {
border-width: 1px;
border-color: #ccc;
border-style: solid none solid none;
margin: 0.5em 0;
}
pre {
overflow: auto;
white-space: pre-wrap;
font-family: 'Consolas', 'Courier', 'Nimbus Mono', 'Liberation Mono', 'Courier New', monospace;
}
p {
margin: 0.9em 0 0.8em;
}
.center,
.center * {
margin: auto;
text-align: center;
}
/* Thumbnails */
/* @noflip */
.tright {
margin: 0 0 0.5em 0.5em;
padding: 0 0 1em 1.5em;
}
/* @noflip */
.tleft {
margin: 0 0.5em 0.5em 0;
padding: 0 1.5em 1em 0;
}
.thumbinner {
background: #fcfcfc;
border: solid #eee;
border-width: 1px 1px 0.2em;
padding: 1.25em 1.75em;
box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.02);
padding: 0.75em;
}
.thumbcaption {
font-size: 95%;
padding: 0.5em 1em;
}
.thumbinner .thumbimage {
border: solid 1px #eee;
}
#mw-content li.gallerybox div.thumb {
background: #fcfcfc;
border: solid #eee;
border-width: 1px 1px 0.2em;
padding: 1.25em 1.75em;
box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.02);
padding: 0;
}
/* Tables of contents */
ul#filetoc,
#toc,
.toc,
.mw-warning {
display: inline-block;
background: #fcfcfc;
border: solid #eee;
border-width: 1px 1px 0.2em;
box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.02);
padding: 1.25em 1.75em;
margin: 1em 0;
min-width: 15em;
}
ul#filetoc {
display: block;
border: 0;
}
#toc ul,
.toc ul {
margin: 1em 0 0;
list-style: none;
}
#mw-content .toc h2 {
font-size: 1.2em;
font-family: 'Helvetica Neue', 'Nimbus Sans', 'Helvetica', 'Arial', sans-serif;
margin: 0;
display: inline-block;
border-bottom-color: #ccc;
}
.toctoggle {
color: #fcfcfc;
}
#toc li:last-child {
margin-bottom: 0.5em;
}
.toclevel-1 {
margin-bottom: 0.25em;
}
.mw-changeslist-legend,
#mw-content .mw-search-profile-tabs,
#mw-content fieldset#mw-searchoptions,
table.wikitable {
border: 0;
color: #013;
background: #fcfcfc;
border: solid #eee;
border-width: 1px 1px 0.2em;
padding: 1.25em 1.75em;
box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.02);
}
#mw-content .mw-search-profile-tabs {
padding: 0.5em;
}
table.wikitable > tr > th,
table.wikitable > tr > td,
table.wikitable > * > tr > th,
table.wikitable > * > tr > td {
border: 1px solid #eee;
padding: 0.5em;
}
table.wikitable > tr > th,
table.wikitable > * > tr > th {
border: 0;
}
/* Color bars */
.color-bar {
width: 100%;
}
.color-left {
height: 0.35em;
background: #900;
width: 50%;
float: left;
}
.color-right {
display: inline-block;
height: 0.35em;
background: #396;
width: 50%;
float: right;
}
.color-middle-container {
max-width: 100em;
margin: 0 auto -0.35em;
position: relative;
}
.color-middle {
height: 0.35em;
background: #069;
margin-left: 15em;
margin-right: 17em;
}
/* Portlets */
.emptyPortlet {
display: none;
}
#p-lang.emptyPortlet {
display: inherit;
}
/* Hidden stuff */
#p-namespaces h3,
#p-views h3,
#p-search h3 {
position: absolute;
top: -9999px;
left: 0;
}
.dropdown,
.sidebar-inner {
display: block !important;
}
.ts-inner {
max-width: 100em;
padding: 0 1em;
margin: auto;
}
#mw-content-container {
background-repeat: no-repeat;
background-position: center 15em;
}
/* Header */
#mw-header-container {
/* Stupid IE10+ bug requires defining the height property for this to work
* the way it is intended; without doing that this'll break horribly under
* IE10 and IE11.
* @see https://phabricator.wikimedia.org/T173769
*/
height: 0;
position: fixed;
z-index: 100;
top: 0;
width: 100%;
background: #fff;
color: #013;
padding: 0.5em 0 0;
min-height: 3.125em;
box-sizing: border-box;
}
#p-logo-text {
width: 14em;
float: left;
}
#p-search {
margin-left: 14em;
margin-right: 16em;
}
#user-tools {
width: 16em;
float: right;
}
#mw-header-nav-hack,
#mw-header-hack {
position: fixed;
z-index: 97;
top: 3.125em;
box-shadow: 0 3px 3px 2px rgba(0, 0, 0, 0.075), 0 0 2px rgba(0, 0, 0, 0.2);
}
#mw-header-nav-hack {
display: none;
}
.dropdown {
display: none !important;
}
#personal {
display: inline-block;
position: relative;
padding-left: 1.5em;
line-height: 1;
}
#personal .dropdown {
background: #fcfcfc;
border: solid #eee;
border-width: 1px 1px 0.2em;
padding: 1.25em 1.75em;
box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.02);
overflow: auto;
padding: 1.5em 1.5em 0;
margin: 1em 0;
line-height: 1.1;
background: #fff;
box-shadow: 0 2px 3px 1px rgba(0, 0, 0, 0.05);
position: absolute;
padding: 20px 2em 0;
margin: 0;
min-width: 9.153em;
right: -1em;
overflow: visible;
z-index: 3;
top: 2.95em;
right: -2em;
}
#personal .dropdown ul,
#personal .dropdown li {
list-style: none;
margin: 0;
padding: 0;
}
#personal .dropdown h3 {
font-weight: normal;
font-size: 1em;
margin: 0.25em 0 0.75em 0;
padding-bottom: 0.15em;
border-bottom: solid 2px #ccc;
}
#personal .dropdown ul {
margin-bottom: 2em;
}
#personal .dropdown li {
margin: 0 0 0.35em;
}
#personal .pokey {
top: 2.05em;
}
#personal h2 {
margin: 0;
padding: 0.7em 0 0 25px;
font-family: 'Linux Libertine', 'Times New Roman', serif;
font-weight: normal;
font-size: 1.1em;
background-position: 0 7px;
background-repeat: no-repeat;
cursor: pointer;
margin-bottom: -1em;
padding-bottom: 1em;
}
#personal h2:after {
display: inline-block;
content: '';
width: 22px;
height: 12px;
background-position: center center;
background-repeat: no-repeat;
}
#personal h2 span {
display: inline-block;
height: 1em;
overflow: hidden;
word-wrap: break-word;
}
#personal:hover .pokey,
#personal:hover .dropdown {
display: block !important;
}
#mw-page-header-links #ca-more,
#mw-page-header-links #ca-languages,
.sidebar-chunk h2 {
display: none;
}
/* Content */
#mw-content-container {
margin-top: 3.125em;
padding-bottom: 1em;
}
#mw-site-navigation {
width: 14em;
float: left;
clear: left;
padding-right: 1em;
box-sizing: border-box;
}
#mw-site-navigation .sidebar-chunk {
background: #fcfcfc;
border: solid #eee;
border-width: 1px 1px 0.2em;
padding: 1.25em 1.75em;
box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.02);
overflow: auto;
padding: 1.5em 1.5em 0;
margin: 1em 0;
line-height: 1.1;
}
#mw-site-navigation .sidebar-chunk ul,
#mw-site-navigation .sidebar-chunk li {
list-style: none;
margin: 0;
padding: 0;
}
#mw-site-navigation .sidebar-chunk h3 {
font-weight: normal;
font-size: 1em;
margin: 0.25em 0 0.75em 0;
padding-bottom: 0.15em;
border-bottom: solid 2px #ccc;
}
#mw-site-navigation .sidebar-chunk ul {
margin-bottom: 2em;
}
#mw-site-navigation .sidebar-chunk li {
margin: 0 0 0.35em;
}
#mw-content {
margin-left: 14em;
margin-right: 16em;
overflow: auto;
}
#mw-related-navigation {
width: 16em;
float: right;
clear: right;
padding-left: 1em;
box-sizing: border-box;
}
#mw-related-navigation .sidebar-chunk {
background: #fcfcfc;
border: solid #eee;
border-width: 1px 1px 0.2em;
padding: 1.25em 1.75em;
box-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.02);
overflow: auto;
padding: 1.5em 1.5em 0;
margin: 1em 0;
line-height: 1.1;
}
#mw-related-navigation .sidebar-chunk ul,
#mw-related-navigation .sidebar-chunk li {
list-style: none;
margin: 0;
padding: 0;
}
#mw-related-navigation .sidebar-chunk h3 {
font-weight: normal;
font-size: 1em;
margin: 0.25em 0 0.75em 0;
padding-bottom: 0.15em;
border-bottom: solid 2px #ccc;
}
#mw-related-navigation .sidebar-chunk ul {
margin-bottom: 2em;
}
#mw-related-navigation .sidebar-chunk li {
margin: 0 0 0.35em;
}
#catlinks {
display: none;
}