Merge "Revert "Be more selective in application of 0.8em font size""

This commit is contained in:
jenkins-bot 2015-05-06 17:33:57 +00:00 committed by Gerrit Code Review
commit 873baa22b6

View file

@ -5,14 +5,6 @@
* @license The MIT License (MIT); see LICENSE.txt * @license The MIT License (MIT); see LICENSE.txt
*/ */
.ve-init-mw-viewPageTarget-surface,
.ve-init-mw-viewPageTarget-toolbar,
.ve-init-target > .ve-ui-debugBar,
.ve-ui-overlay-global {
/* Enforce different font-size for all UI elements of VisualEditor */
font-size: 0.8em;
}
.ve-init-mw-viewPageTarget-surface { .ve-init-mw-viewPageTarget-surface {
/* /*
In order to allow placing the text cursor to the start or end of the text by In order to allow placing the text cursor to the start or end of the text by
@ -31,6 +23,12 @@
padding: 0 1.143em; /* surface-margin-left (1em) / (mw-body-content font-size) 0.875em */ padding: 0 1.143em; /* surface-margin-left (1em) / (mw-body-content font-size) 0.875em */
} }
.ve-init-target,
.ve-ui-overlay-global {
/* Enforce different font-size for all UI elements of VisualEditor */
font-size: 0.8em;
}
.ve-init-target .mw-body-content, .ve-init-target .mw-body-content,
.ve-ui-overlay-global .mw-body-content { .ve-ui-overlay-global .mw-body-content {
/* Match skin's font-size for the surface content */ /* Match skin's font-size for the surface content */