Jump to content

MediaWiki:Mobile.css: Difference between revisions

From The Odd fellows Wiki
No edit summary
Replaced content with "/* ignore this page, it is no longer needed"
Tag: Replaced
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* =========================
/* ignore this page, it is no longer needed
  MOBILE WIKI OPTIMIZATION
  ========================= */
 
/* Prevent weird mobile zoom behavior */
html {
    -webkit-text-size-adjust: 100%;
}
 
/* General body styling */
body,
.mw-body,
.vector-body {
    font-size: 18px;
    line-height: 1.6;
    max-width: 100%;
    overflow-x: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
    padding-left: 10px;
    padding-right: 10px;
}
 
/* Paragraphs and lists */
p,
li,
td,
th {
    font-size: 1rem;
    line-height: 1.6;
}
 
/* Headings */
h1 {
    font-size: 2rem;
    line-height: 1.2;
}
 
h2 {
    font-size: 1.6rem;
    line-height: 1.3;
}
 
h3 {
    font-size: 1.3rem;
    line-height: 1.4;
}
 
h4 {
    font-size: 1.1rem;
}
 
/* Images */
img {
    max-width: 100%;
    height: auto;
}
 
/* Tables */
table {
    width: 100%;
    max-width: 100%;
    display: block;
    overflow-x: auto;
    border-collapse: collapse;
}
 
/* Infobox styling */
.infobox {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 1em 0;
    padding: 10px;
    border: 1px solid #aaa;
    background-color: #f9f9f9;
    box-sizing: border-box;
    font-size: 1rem;
}
 
/* Infobox headers */
.infobox th {
    text-align: left;
    font-weight: bold;
}
 
/* Sidebar cleanup */
#mw-panel,
.vector-sidebar,
.vector-toc {
    width: 100%;
    font-size: 1rem;
}
 
/* Navigation links */
a {
    word-break: break-word;
}
 
/* Code blocks */
pre,
code {
    overflow-x: auto;
    max-width: 100%;
    font-size: 0.95rem;
}
 
/* Category links */
.catlinks {
    font-size: 0.95rem;
}
 
/* Search bar */
input[type="search"] {
    width: 100%;
    font-size: 1rem;
    box-sizing: border-box;
}
 
/* Buttons */
button,
input[type="submit"] {
    font-size: 1rem;
}
 
/* Prevent content overflow */
div,
span,
section {
    max-width: 100%;
    box-sizing: border-box;
}

Latest revision as of 23:21, 15 May 2026

/* ignore this page, it is no longer needed