This commit is contained in:
v 2017-09-11 12:16:50 +03:00
parent 5d2402979b
commit 3603d84900
3 changed files with 15 additions and 11 deletions

View File

@ -3,12 +3,13 @@
* stub.css * stub.css
* *
*/ */
#zim body { body#zim {
font-size: 100%; font-size: 100%;
background-image: none; background-image: none;
} }
#zim #content { #zim #content {
margin: auto; margin: 0px;
padding: 2px;
} }
#zim .mw-body-content { #zim .mw-body-content {
line-height: 1.6; line-height: 1.6;
@ -27,12 +28,15 @@
#zim .thumbcaption .magnify { #zim .thumbcaption .magnify {
display: none; display: none;
} }
#zim table.wikitable, table.nicetable {
/* supress Kartographer chartlet */ margin-right: 0;
.thumbinner a[data-lon] { margin-left: 0;
display: none;
} }
/* for en.wikivoyage.org */
.thumbinner a[data-lon] { /* supress Kartographer chartlet */
display: none;
}
#zim #geoCoord { #zim #geoCoord {
top: -20px; top: -20px;
} }

View File

@ -1,14 +1,14 @@
<!doctype html> <!doctype html>
<html id="zim"> <html dir="ltr" lang="en">
<head> <head>
<meta charset=utf-8> <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title></title> <title></title>
<link id="layout-css" rel="stylesheet" href="../-/layout.css"> <link id="layout-css" rel="stylesheet" href="../-/zim.css">
<!-- <!--
<%B/<%title%>%> <%B/<%title%>%>
--> -->
</head> </head>
<body id="zim"> <body id="zim" class="no-js mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject skin-vector action-view">
<div id="content" class="mw-body" role="main"> <div id="content" class="mw-body" role="main">
<div id="bodyContent" class="mw-body-content"> <div id="bodyContent" class="mw-body-content">
<!-- <!--

View File

@ -714,7 +714,7 @@ const cssDependencies = new Set()
class GlobalCss extends StyleItem { class GlobalCss extends StyleItem {
constructor ( sourceDOM ) { constructor ( sourceDOM ) {
super( 'layout.css' ) super( 'zim.css' )
this.sourceDOM = sourceDOM this.sourceDOM = sourceDOM
this.mimeType = 'text/css' this.mimeType = 'text/css'
} }