MediaWiki:Mobile.css
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* All CSS here will be loaded for users of the mobile site */
/* ================================
Login form styling (Mobile only)
================================ */
@media screen and (max-width: 768px) {
#userloginForm {
max-width: 400px;
margin: 30px auto;
padding: 15px;
background: #fff;
border-radius: 10px;
box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
#userloginForm label {
display: block;
font-weight: bold;
margin-bottom: 5px;
font-size: 14px;
}
#userloginForm input[type="text"],
#userloginForm input[type="password"] {
width: 100%;
padding: 12px;
font-size: 14px;
margin-bottom: 15px;
border: 1px solid #ccc;
border-radius: 6px;
}
#wpRemember {
margin-right: 6px;
}
#userloginForm .mw-ui-button {
background-color: #1877f2;
border: none;
border-radius: 6px;
padding: 12px;
color: #fff;
width: 100%;
font-size: 15px;
font-weight: bold;
cursor: pointer;
}
#userloginForm .mw-ui-button:hover {
background-color: #166fe5;
}
#userloginForm .login-links {
text-align: center;
margin-top: 15px;
}
#userloginForm .login-links a {
display: block;
color: #5f4dee;
margin-top: 8px;
font-size: 14px;
text-decoration: none;
}
}