diff options
Diffstat (limited to 'skins/vector/beta')
-rw-r--r-- | skins/vector/beta/screen.less | 75 | ||||
-rw-r--r-- | skins/vector/beta/variables.less | 37 |
2 files changed, 112 insertions, 0 deletions
diff --git a/skins/vector/beta/screen.less b/skins/vector/beta/screen.less new file mode 100644 index 00000000..6d56cd5c --- /dev/null +++ b/skins/vector/beta/screen.less @@ -0,0 +1,75 @@ +/* Content */ +#content { + line-height: 1.5em; + .mw-editsection { + font-family: @content-font-family; + } + + h1, + #firstHeading { + font-family: @content-heading-font-family; + font-size: 1.833em; + line-height: 22pt; + padding: 0; + margin-bottom: 4pt; + } + + h2 { + font-size: 1.5em; + line-height: 22pt; + } + + h2, + h3, + h4, + h5, + h6 { + font-family: @content-heading-font-family; + padding: 0; + margin-bottom: 4pt; + margin-top: 14pt; + } + + h3 { + font-size: 1.17em; + line-height: 22pt; + } + + h3, + h4 { + font-weight: bold; + } + + h4, + h5, + h6 { + font-size: 100%; /* (reset) */ + } + + h6 { + font-style: italic; + } + + p { + margin-bottom: 8pt; + } + + // FIXME: this is hacky + #toc h2 { + font-size: 100%; + } +} + +/* Personal menu */ +#p-personal a { + color: #555; +} + +/* Main menu */ +div#mw-panel div.portal { + margin-left: 1.25em; + h3 { + margin: 0; + line-height: 1; + } +} diff --git a/skins/vector/beta/variables.less b/skins/vector/beta/variables.less new file mode 100644 index 00000000..08e662dc --- /dev/null +++ b/skins/vector/beta/variables.less @@ -0,0 +1,37 @@ +@html-font-size: 90%; + +@body-font-size: inherit; + +// Page content +@content-font-family: "Helvetica Neue", "Helvetica", "Nimbus Sans L", "Arial", "Liberation Sans", sans-serif; +@content-font-color: #252525; +@content-font-size: 0.9em; +@content-line-height: inherit; +@content-padding: 1em; +@content-heading-font-size: 1.6em; +@content-heading-font-family: Georgia, "DejaVu Serif", serif; + +// Common menu +@menu-link-color: #555; + +// Main menu +@menu-main-font-size: 0.82em; +@menu-main-heading-font-size: 100%; +@menu-main-heading-padding: 5px 0; + +@menu-main-body-font-size: inherit; +@menu-main-body-link-color: inherit; +@menu-main-body-link-visited-color: inherit; +@menu-main-body-margin: 0; +@menu-main-body-padding: 0 0 10px; +@menu-main-logo-left: 1.6em; + +// Personal menu +@menu-personal-font-size: 0.75em; + +// Collapsible nav +@collapsible-nav-heading-color: #555; +@collapsible-nav-heading-collapsed-color: inherit; + +@collapsible-nav-heading-padding: 4px 0 3px 1.5em; +@collapsible-nav-body-margin: 0 0 0 1.25em; |