MediaWiki:Common.css: Difference between revisions
Added ambox-maintenance |
No edit summary |
||
| (23 intermediate revisions by the same user not shown) | |||
| Line 11: | Line 11: | ||
border-left: 10px solid #f28500; /* Orange */ | border-left: 10px solid #f28500; /* Orange */ | ||
border-radius: 4px; | border-radius: 4px; | ||
} | |||
/* ---Create Buttons (for new pages) Styling --- */ | |||
/* Wrapper spacing */ | |||
.create-button { | |||
margin: 0.5em 0; | |||
} | |||
/* Minimal, fixed-size outline button */ | |||
.create-button a.external.text { | |||
display: inline-block; | |||
width: 220px; | |||
padding: 8px 0; | |||
text-align: center; | |||
border: 1.5px solid #000001; | |||
border-radius: 2px; | |||
background: transparent !important; | |||
color: inherit !important; | |||
text-decoration: none !important; | |||
font-weight: 600; | |||
font-size: 0.95em; | |||
letter-spacing: 0.01em; | |||
transition: | |||
transform 0.15s ease, | |||
border-color 0.15s ease, | |||
background-color 0.2s ease; | |||
} | |||
/* Hover: grey fill, crisp border, slight lift */ | |||
.create-button a.external.text:hover { | |||
border-color: #000; | |||
background-color: #f2f2f2 !important; | |||
transform: translateY(-1px); | |||
} | |||
/* Active: pressed look */ | |||
.create-button a.external.text:active { | |||
transform: translateY(0); | |||
} | |||
/* Remove little external link icon */ | |||
.create-button a.external.text::after { | |||
display: none !important; | |||
} | |||
/* Banner for beta notice*/ | |||
/* Used in MediaWiki:Sitenotice */ | |||
.beta-banner { | |||
background: #fff3cd; | |||
border: 2px solid #E6DBAE; | |||
padding: 6px 12px; | |||
text-align: center; | |||
font-size: 0.8rem; | |||
color: #856404; | |||
max-width: 500px; | |||
margin: 0.5rem auto; | |||
border-radius: 2px; | |||
} | } | ||