From 797cfc7a45b97bc57f6ed3c3d742ca05ffa9cf29 Mon Sep 17 00:00:00 2001 From: Kumi Date: Sat, 17 Aug 2024 11:48:53 +0200 Subject: [PATCH] style: update element sizing and interwiki link styles Adjusted font size for h1 headers to small for better readability. Clarified width and height rules for image elements within .tmulti class. Added specific styling for interwiki links with .sister-logo and .sister-link classes to enhance UI alignment and spacing. --- src/wikimore/static/css/style.css | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/src/wikimore/static/css/style.css b/src/wikimore/static/css/style.css index 9791a9e..67d920a 100644 --- a/src/wikimore/static/css/style.css +++ b/src/wikimore/static/css/style.css @@ -158,6 +158,7 @@ h1 { padding: 3px; background-color: #f9f9f9; margin-bottom: 1em; + font-size: small; } .navbox-title { @@ -344,7 +345,7 @@ figure, .tmulti { display: inline-block; } -figure img, .mw-file-element { +figure img, .tmulti .mw-file-element { max-width: 100%; height: auto; border: 1px solid #ddd; @@ -382,4 +383,18 @@ figcaption, .thumbcaption { /* Reference styling */ .reflist-lower-alpha .references { list-style-type: lower-alpha; +} + +/* Interwiki link styling */ +.sister-logo { + display: inline-block; +} + +.sister-link { + display: inline; + margin-left: 5px; +} + +span { + display: inline; } \ No newline at end of file