Aleksey Bekh-Ivanov (WMDE) has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/364693 )

Change subject: Align form contents with headline 'Morphology'
......................................................................

Align form contents with headline 'Morphology'

Also:
  * Font size < headline
  * Form representation should not bold and also smaller font-size

Bug: T170388
Change-Id: If418e9ff4716ed45d692e9753e3a2da1e2b3f3d4
---
M resources/lexeme.css
M resources/templates.php
2 files changed, 22 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WikibaseLexeme 
refs/changes/93/364693/1

diff --git a/resources/lexeme.css b/resources/lexeme.css
index 4b31252..bd93565 100644
--- a/resources/lexeme.css
+++ b/resources/lexeme.css
@@ -13,9 +13,14 @@
        width: 60%;
 }
 
+.wikibase-lexeme-forms {
+       margin-left: 10px;
+}
+
 .wikibase-lexeme-forms .wikibase-lexeme-form {
        position: relative;
        clear: left;
+       margin-bottom: 2em;
 }
 
 .wikibase-lexeme-form-header {
@@ -23,7 +28,18 @@
        align-items: center;
 }
 .wikibase-lexeme-form-id {
-       font-size: 2em;
+       font-size: 1em;
+       min-width: 2.5em;
+       margin-right: 1.25em;
+}
+
+.wikibase-lexeme-form-body {
+       margin-left: 3.75em;
+}
+
+.wikibase-lexeme-form h2.wb-section-heading {
+       padding-left: 0;
+       font-size: 1em;
 }
 
 .wikibase-lexeme-forms .wikibase-lexeme-form-representation {
@@ -180,7 +196,6 @@
 
 .representation-widget {
        display: flex;
-       margin: 0 2em;
 }
 
 .representation-widget_representation-list {
@@ -201,8 +216,7 @@
 }
 
 .representation-widget_representation-value {
-       font-size: 2em;
-       font-weight: bold;
+       font-size: 1em;
 }
 
 .representation-widget_representation-language {
diff --git a/resources/templates.php b/resources/templates.php
index d39eb20..6ca4900 100644
--- a/resources/templates.php
+++ b/resources/templates.php
@@ -20,8 +20,10 @@
                <div class="wikibase-lexeme-form-id">$1</div>
                <div class="form-representations">$2</div>
        </div>
-       $3
-       $4
+       <div class="wikibase-lexeme-form-body">
+               $3
+               $4
+       </div>
 </div>
 HTML;
 

-- 
To view, visit https://gerrit.wikimedia.org/r/364693
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If418e9ff4716ed45d692e9753e3a2da1e2b3f3d4
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikibaseLexeme
Gerrit-Branch: master
Gerrit-Owner: Aleksey Bekh-Ivanov (WMDE) <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to