From 53e72524cac51100031500e33843cecf2a74a5c0 Mon Sep 17 00:00:00 2001 From: Jaifroid Date: Fri, 26 Jul 2019 16:21:45 +0100 Subject: [PATCH] Support details-summary in mobile stylesheet Former-commit-id: 44bc5cf296f12d09615778cd3a0d96f2d436d77a [formerly edd2f5f82a3a46cfa1384bb36b7525b63f3c4063] Former-commit-id: 51e377b332ab1606f91849fdbeaca2dbe74994eb --- www/-/s/style-mobile.css | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/www/-/s/style-mobile.css b/www/-/s/style-mobile.css index 46db54de..435d5ee0 100644 --- a/www/-/s/style-mobile.css +++ b/www/-/s/style-mobile.css @@ -947,6 +947,35 @@ a.issues_button { counter-increment: mw-numbered-ext-link } +.mw-body h3, .mw-body h2 { + clear: both; + width: 100%; + margin-bottom: 0.5em; + border-bottom: solid 1px #eaecf0; + font-family: 'Linux Libertine', 'Georgia', 'Times', serif; +} +.mw-body h3 { + border-bottom: 0px solid #eaecf0; + font-weight: bold; +} + +.mw-body h4 { + border-bottom: 0px solid #eaecf0; +} + +h1[tabindex="0"].collapsible-heading>.indicator { + display: none; + /* hide the "v" icone for the main title */ +} + +.section-heading>h1, +.section-heading>h2, +.section-heading>h3, +.section-heading>h4 { + display: inline; + border: none; +} + .content figure img, .content figure video { margin: 0.6em auto 0.6em auto; display: block