MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
(Replaced content with "→CSS placed here will be applied to all skins: body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; } body.page-Test_Main.action-view h1.firstHeading, body.page-Test_Main.action-submit h1.firstHeading { display: none; } #p-logo { height: 250px; width: 160px; } #p-logo a { height: 250px; width: 160px; } div#mw-panel { padding-top: 2em; } img { max-width: 100%; height: auto; } @media (max-width:...") Tags: Replaced Manual revert |
No edit summary |
||
| Line 18: | Line 18: | ||
width: 100%; | width: 100%; | ||
} | } | ||
} | |||
.infobox { | |||
background: #eee; | |||
border: 1px solid #aaa; | |||
float: right; | |||
margin: 0 0 1em 1em; | |||
padding: 1em; | |||
width: 400px; | |||
} | |||
.infobox-title { | |||
font-size: 2em; | |||
text-align: center; | |||
} | |||
.infobox-image { | |||
text-align: center; | |||
} | |||
.infobox-table th { | |||
text-align: right; | |||
vertical-align: top; | |||
width: 120px; | |||
} | |||
.infobox-table td { | |||
vertical-align: top; | |||
} | } | ||
Revision as of 14:43, 8 March 2024
/* CSS placed here will be applied to all skins */
body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }
body.page-Test_Main.action-view h1.firstHeading, body.page-Test_Main.action-submit h1.firstHeading { display: none; }
#p-logo { height: 250px; width: 160px; }
#p-logo a { height: 250px; width: 160px; }
div#mw-panel { padding-top: 2em; }
img {
max-width: 100%;
height: auto;
}
@media (max-width: 760px) { /* Adjust as needed */
table, tbody, tr, td {
display: block;
width: 100%;
}
}
.infobox {
background: #eee;
border: 1px solid #aaa;
float: right;
margin: 0 0 1em 1em;
padding: 1em;
width: 400px;
}
.infobox-title {
font-size: 2em;
text-align: center;
}
.infobox-image {
text-align: center;
}
.infobox-table th {
text-align: right;
vertical-align: top;
width: 120px;
}
.infobox-table td {
vertical-align: top;
}