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 |
|||
| (15 intermediate revisions by 2 users not shown) | |||
| Line 2: | Line 2: | ||
.client-js, .toc-mobile { | .client-js, .toc-mobile { | ||
| − | width: | + | 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 { | .content p { | ||
| − | font-family: serif; | + | font-family: serif; |
} | } | ||
.content h2 { | .content h2 { | ||
font-family: sans-serif; | font-family: sans-serif; | ||
| + | } | ||
| + | |||
| + | .content h3 { | ||
| + | font-family: Helvetica; | ||
| + | font-weight: 400; | ||
} | } | ||
.content ul { | .content ul { | ||
| − | + | margin-bottom: 8px; | |
| − | margin-bottom: | ||
} | } | ||
.content ol { | .content ol { | ||
| + | font-family: serif; | ||
| + | } | ||
| + | |||
| + | dl { | ||
| + | margin-left: 0.5em; | ||
font-family: serif; | font-family: serif; | ||
} | } | ||
Latest revision as of 20:01, August 16, 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 {
margin-bottom: 8px;
}
.content ol {
font-family: serif;
}
dl {
margin-left: 0.5em;
font-family: serif;
}