MediaWiki:Mobile.css: Difference between revisions
(Removed the "Tabs extension workaround" because now that we're Mediawiki 1.41, hopefully the Tabs will finally work on mobile by default. This edit might have to be reverted - we'll see!) |
(Bullet spacing in tables) |
||
(9 intermediate revisions by the same user not shown) | |||
Line 30: | Line 30: | ||
/*==Word changers==*/ | /*==Word changers==*/ | ||
.altOuter {color:# | .altOuter {color:#8F8; cursor:pointer; display:none} | ||
.altInner {color:#080; border:1px solid #EEE} | .altInner {color:#080; border:1px solid #EEE} | ||
Line 36: | Line 36: | ||
.fullWidth img { width:100%; height:auto } /* fitting an image to full page width (i dont know why tf this isn't already a built-in option in mediawiki tbh): */ | .fullWidth img { width:100%; height:auto } /* fitting an image to full page width (i dont know why tf this isn't already a built-in option in mediawiki tbh): */ | ||
li { line-height:1.2em; margin:0.8em 0 } /* spacing of bullet points */ | |||
.wikitable ul { margin:0 0 0 0.7em } | |||
.wikitable li { margin:0 } | |||
.no-bold-th th { font-weight:normal } /* sometimes you don't want table headers to be bolded, because some other cells need the emphasis instead */ | .no-bold-th th { font-weight:normal } /* sometimes you don't want table headers to be bolded, because some other cells need the emphasis instead */ | ||
a.new{color:#B55} /* draw less attention to red links, visually */ |
Latest revision as of 04:39, 17 January 2025
/* All CSS here will be loaded for users of the mobile site */
/*==Expandables and calculations==*/
.xpContent{display:none; color:#090; cursor:crosshair}
.ppContent{display:none; position:absolute; padding:0.5em; border:1px solid; box-shadow:0 0 1em #999; cursor:crosshair; background:#FFFFF3; z-index:2}
.dp {display:none; position:absolute; padding:0.5em; border:1px solid; box-shadow:0 0 1em #999; cursor:crosshair; background:#FFFFF3; z-index:2}
.dpVar {display:none; position:absolute; padding:0.5em; border:1px solid; box-shadow:0 0 1em #999; cursor:crosshair; background:#FFFFF3; z-index:2}
.dp0{font-family:monospace,sans-serif; color:#333; font-weight:normal}
.dp1{font-family:monospace,sans-serif; color:#C00; font-weight:bold}
.dp2{font-family:serif; color:#000; font-weight:normal}
.dp3{font-family:serif; color:#333; font-weight:normal; font-size:84%; padding:0.8em 0 0 0.4em}
.calc{font-family:monospace,sans-serif; background:#CFC; border-bottom:1px solid #CCC}
.calc a{text-decoration:none}
.calc a:hover{text-decoration:underline}
.ecalc{display:none}
.forMore{color:#090; cursor:pointer; text-decoration:none; border:1px solid #EEE}
.forMore:hover{text-decoration:underline}
/*==File graph==*/
.fileGraph{position:relative; width:100%; height:28em; border:1px dashed grey; background:#FFFFF3; user-select:none}
.fgNode{position:absolute; border:1px solid; padding:0 0.25em; background:#FFF; box-shadow:0 0 0.1em #333; transform:translate(-50%,0%); z-index:1}
.fgConnect{display:none; position:absolute; border:1px solid; background:#FFF; font-family:sans-serif; font-size:75%; transform-origin:0% 50%; white-space:nowrap; overflow:hidden}
/*==Considerations table==*/
.consideration-summary { margin:-0.125em 0 0.125em 1em; display:list-item; list-style:square inside; font-style:italic; color:#652; text-decoration:underline #CD0}
/*==Text levels==*/
pre.levels { padding:0.125em }
/*==Word changers==*/
.altOuter {color:#8F8; cursor:pointer; display:none}
.altInner {color:#080; border:1px solid #EEE}
/*==MediaWiki workarounds==*/
.fullWidth img { width:100%; height:auto } /* fitting an image to full page width (i dont know why tf this isn't already a built-in option in mediawiki tbh): */
li { line-height:1.2em; margin:0.8em 0 } /* spacing of bullet points */
.wikitable ul { margin:0 0 0 0.7em }
.wikitable li { margin:0 }
.no-bold-th th { font-weight:normal } /* sometimes you don't want table headers to be bolded, because some other cells need the emphasis instead */
a.new{color:#B55} /* draw less attention to red links, visually */