MediaWiki:Mobile.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 17: | Line 17: | ||
font-family: Arial, Helvetica, sans-serif; | font-family: Arial, Helvetica, sans-serif; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
width: | width:40em; | ||
max-width:40em; | |||
} | } | ||
Revision as of 12:18, 14 November 2023
/* All CSS here will be loaded for users of the mobile site */
/*Take off "Main Page" from the home page */
body.page-Main_Page h1 { display: none; }
body {
background: url("/images/TexturedBackground.jpg");
background-size: cover;
background-attachment: fixed;
}
/* TABLES */
table {
font-family: Arial, Helvetica, sans-serif;
border-collapse: collapse;
width:40em;
max-width:40em;
}
th{
background-color: #059862;
}
td, th {
border: 1px solid #ddd;
padding: 8px;
}
tr:nth-child(even){background-color: #f2f2f2;}
tr:hover {background-color: #ddd;}
th {
padding-top: 12px;
padding-bottom: 12px;
text-align: left;
}