Difference between revisions of "MediaWiki:Mobile.css"
[http://www.nga.gov/content/ngaweb/research/casva/research-projects.html A Project of the National Gallery of Art, Center for Advanced Study in the Visual Arts ]
Tags: mobile edit mobile web edit |
(Update package: HEALDInterface) |
||
| Line 14: | Line 14: | ||
.content p { | .content p { | ||
| − | font-family: serif; | + | font-family: serif; |
} | } | ||
| Line 38: | Line 38: | ||
margin-left: 0.5em; | margin-left: 0.5em; | ||
font-family: serif; | font-family: serif; | ||
| + | } | ||
| + | |||
| + | /* Hide page title in File namespace */ | ||
| + | |||
| + | body.ns-6.action-view h1.firstHeading, | ||
| + | body.ns-6.action-submit h1.firstHeading { | ||
| + | display: none; | ||
| + | } | ||
| + | |||
| + | #filetoc { | ||
| + | margin-top: .5rem; | ||
} | } | ||
Revision as of 01:57, August 10, 2021
/* CSS placed here will affect users of the mobile site */
.client-js, .toc-mobile {
width: 100%;
}
.header {
box-shadow: inset 0 -1px 3px rgba(0,0,0,0.08);
}
.client-js .stable .toc-mobile .collapsible-heading {
padding-right: 0.8em;
}
.content p {
font-family: serif;
}
.content h2 {
font-family: sans-serif;
}
.content h3 {
font-family: Helvetica;
font-weight: 400;
}
.content ul {
list-style: none;
margin-bottom: 8px;
}
.content ol {
font-family: serif;
}
dl {
margin-left: 0.5em;
font-family: serif;
}
/* Hide page title in File namespace */
body.ns-6.action-view h1.firstHeading,
body.ns-6.action-submit h1.firstHeading {
display: none;
}
#filetoc {
margin-top: .5rem;
}