MediaWiki:Group-user.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 129: | Line 129: | ||
border-radius: 3px; | border-radius: 3px; | ||
padding: 0 16px; | padding: 0 16px; | ||
color: #fff; | color: #fff; | ||
background: white; | background: white; | ||
font-size: 14px; | font-size: 14px; | ||
height: 33px; | height: 33px; /* Fixed height of the link */ | ||
line-height: 33px; /* Match line-height with the height for vertical centering */ | |||
word-spacing: 0px; | word-spacing: 0px; | ||
letter-spacing: .0892857143em; | letter-spacing: .0892857143em; | ||
Line 140: | Line 139: | ||
text-transform: uppercase; | text-transform: uppercase; | ||
min-width: 64px; | min-width: 64px; | ||
text-align: center; | text-align: center; | ||
box-shadow: 0px 3px 1px -2px rgb(0 0 0 / 20%),0px 2px 2px 0px rgb(0 0 0 / 14%),0px 1px 5px 0px rgb(0 0 0 / 12%); | box-shadow: 0px 3px 1px -2px rgb(0 0 0 / 20%), 0px 2px 2px 0px rgb(0 0 0 / 14%), 0px 1px 5px 0px rgb(0 0 0 / 12%); | ||
transition: box-shadow 280ms cubic-bezier(0.4,0,0.2,1); | transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1); | ||
border: 1px solid #6200ee; | border: 1px solid #6200ee; | ||
} | } | ||
.view-button { | .view-button { | ||
display: flex; /* Enables Flexbox */ | display: flex; /* Enables Flexbox */ |
Revision as of 16:31, 19 February 2024
/* CSS placed here will affect registered users only */ body { background-color: white; transition: background-color 1s ease; } /* Mediawiki horizontal navigation styles */ #mw-head { background-color: white; transition: background-color 1s ease; display: block; } #mw-panel { display: none; } .vector-body { padding-top: 5%; } .mw-headline { font-family: 'HALColant-TextRegular'; font-size: 20px; font-weight: normal; } .form-link.text-center.pt-4 { display: inline-block; outline: none; font-weight: 500; border-radius: 3px; padding: 0 16px; border-radius: 4px; color: #fff; background: #6200ee; line-height: 1.15; font-size: 14px; height: 36px; word-spacing: 0px; letter-spacing: .0892857143em; text-decoration: none; text-transform: uppercase; min-width: 64px; border: none; text-align: center; box-shadow: 0px 3px 1px -2px rgb(0 0 0 / 20%), 0px 2px 2px 0px rgb(0 0 0 / 14%), 0px 1px 5px 0px rgb(0 0 0 / 12%); transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1); } .form-link.text-center.pt-4 a { color: white; font-size: 35px; font-weight: bold; } .form-link p { display: flex; /* Enables Flexbox for the <p> tag */ justify-content: center; /* Centers content horizontally */ align-items: center; /* Centers content vertically */ height: 100%; /* Ensures the <p> tag takes full height of its container */ font-weight: bold; } .mw-parser-output { padding-left: 20px; } .formtable .mw-headline { font-size: 20px; font-weight: normal; } .oo-ui-checkboxInputWidget [type='checkbox'] + span { position: relative; } .oo-ui-labelElement .oo-ui-labelElement-label { cursor: pointer; } td { padding-bottom: 15px; } .oo-ui-fieldLayout.oo-ui-labelElement, .oo-ui-fieldLayout.oo-ui-fieldLayout-align-inline { margin-top: 0; } a.popupformlink.pfUploadable { color: #6200ee; } fieldset { border: 1px solid #6200ee; } legend { color: #6200ee; } .oo-ui-buttonElement-framed.oo-ui-widget-enabled.oo-ui-flaggedElement-primary.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button { color: #fff; background-color: #6200ee; border-color: #6200ee; } div#p-search { display: none; } li#pt-mytalk { display: none; } li#pt-watchlist { display: none; } li#pt-mycontris { display: none; } li#ca-talk { display: none; } li#ca-nstab-main { display: none; } .custom-navbar { display: block; margin-top: -50px; margin-bottom: 20px; } .custom-navbar a { margin-right: 30px; } #ca-nstab-form { display: none; } #ca-nstab-special { display: none; } .view-button a { display: inline-block; outline: none; font-weight: 500; border-radius: 3px; padding: 0 16px; color: #fff; background: white; font-size: 14px; height: 33px; /* Fixed height of the link */ line-height: 33px; /* Match line-height with the height for vertical centering */ word-spacing: 0px; letter-spacing: .0892857143em; text-decoration: none; text-transform: uppercase; min-width: 64px; text-align: center; box-shadow: 0px 3px 1px -2px rgb(0 0 0 / 20%), 0px 2px 2px 0px rgb(0 0 0 / 14%), 0px 1px 5px 0px rgb(0 0 0 / 12%); transition: box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1); border: 1px solid #6200ee; } .view-button { display: flex; /* Enables Flexbox */ align-items: center; /* Vertically centers the flex items */ justify-content: center; /* Horizontally centers the flex items, if needed */ flex-direction: column; /* Stacks items vertically */ }