r104512 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r104511‎ | r104512 | r104513 >
Date:23:53, 28 November 2011
Author:tparscal
Status:deferred
Tags:
Comment:
Fixed margins so they look/work right on both demo and sandbox
Modified paths:
  • /trunk/extensions/VisualEditor/demo/index.html (modified) (history)
  • /trunk/extensions/VisualEditor/modules/es/es.Surface.css (modified) (history)

Diff [purge]

Index: trunk/extensions/VisualEditor/demo/index.html
@@ -30,6 +30,10 @@
3131 border: solid 1px #dddddd;
3232 border-top: none;
3333 }
 34+ #es-visual {
 35+ padding-left: 1em;
 36+ padding-right: 1em;
 37+ }
3438 </style>
3539 </head>
3640 <body>
Index: trunk/extensions/VisualEditor/modules/es/es.Surface.css
@@ -1,6 +1,8 @@
22 .es-surfaceView {
33 overflow: hidden;
44 font-size: 1em; /* to look more like MediaWiki use: 0.8em */;
 5+ margin-left: -1em;
 6+ margin-right: -1em;
57 }
68
79 .es-surfaceView-textarea {
@@ -71,32 +73,32 @@
7274 }
7375
7476 .es-headingView-level1 > * {
75 - font-size:188%;
 77+ font-size: 188%;
7678 font-weight: normal;
7779 }
7880
7981 .es-headingView-level2 > * {
80 - font-size:150%;
 82+ font-size: 150%;
8183 font-weight: normal;
8284 }
8385
8486 .es-headingView-level3 > * {
85 - font-size:132%;
 87+ font-size: 132%;
8688 font-weight: bold;
8789 }
8890
8991 .es-headingView-level4 > * {
90 - font-size:116%;
 92+ font-size: 116%;
9193 font-weight: bold;
9294 }
9395
9496 .es-headingView-level5 > * {
95 - font-size:100%;
 97+ font-size: 100%;
9698 font-weight: bold;
9799 }
98100
99101 .es-headingView-level6 > * {
100 - font-size:80%;
 102+ font-size: 80%;
101103 font-weight: bold;
102104 }
103105

Status & tagging log