Isarra has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/371506 )
Change subject: Some css junk - lose excess formatting, make up some colours
......................................................................
Some css junk - lose excess formatting, make up some colours
bug: T165516
Change-Id: Icc3af6cf932e6aa8ed0e841f14a37ff9995fbc18
---
M resources/screen-common.less
M resources/screen-desktop.less
M resources/variables.less
3 files changed, 28 insertions(+), 49 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/skins/WoOgLeShades
refs/changes/06/371506/1
diff --git a/resources/screen-common.less b/resources/screen-common.less
index 781c896..05a9863 100644
--- a/resources/screen-common.less
+++ b/resources/screen-common.less
@@ -9,11 +9,11 @@
margin: 0 auto;
position: relative;
padding: 1em;
+ font-family: @fonts;
}
#p-logo {
text-align: center;
width: 10em;
- float: right;
// Make logo image visible
// The class sets the background image from $wgLogo, but we still need
to give it a size in order to show up
@@ -52,45 +52,11 @@
text-align: center;
}
-// Splatter the menus and tools at the bottom
-#mw-footer,
-#page-tools,
-#p-personal {
- margin: 1em 0;
-
- ul {
- list-style-type: none;
- margin: 0;
- }
- li {
- padding-right: 1em;
- display: inline-block;
- }
-}
-#page-tools .mw-portlet {
- display: inline-block;
-}
-#mw-navigation {
- margin: 1em 0;
-}
-
-// Footer
-#mw-footer {
- clear: both;
- border-top: 1px solid @border;
-
- ul {
- margin-top: 1em;
- }
-}
-#footer-icons {
- float: right;
- margin: 0 0 1em 1em;
-}
-
// hidden stuff
+/*
#page-tools h3,
#p-search h3,
#p-personal h3 {
.hidden;
}
+*/
diff --git a/resources/screen-desktop.less b/resources/screen-desktop.less
index c677d3b..48a0487 100644
--- a/resources/screen-desktop.less
+++ b/resources/screen-desktop.less
@@ -2,13 +2,3 @@
@import "variables.less";
-#site-navigation {
- ul {
- list-style-type: none;
- margin: 0;
- }
- li {
- padding-right: 1em;
- display: inline-block;
- }
-}
diff --git a/resources/variables.less b/resources/variables.less
index caa158d..764d6c3 100644
--- a/resources/variables.less
+++ b/resources/variables.less
@@ -1,7 +1,30 @@
// @import "mediawiki.mixins"; Not used yet
-@width: 66em;
-@border: #ccc;
+@width: 76em;
+
+// Colours - theme one: blue & cyan; red secondary, greys
+ // TODO: theme two: probably red & black, blue secondary, greys
+@primarybold: #029; // blue
+@primarybright: #094; // cyan
+@primarybold-light: #05d; // light blue
+@primarybright-light: #7df; // light cyan
+
+@secondarybold: #900; // red
+@secondarybold-light: #d33; // light red
+
+@grey0: #000; // black
+@grey1: #666;
+@grey2: #ccc;
+@grey3: #ddd;
+@grey4: #eee;
+@grey5: #f0f0f0;
+@grey6: #fff; // white
+
+@content-text: @grey0;
+@content-background: @grey6;
+
+@fonts: 'sans serif';
+@fonts-mono: 'monospace';
// To hide objects, but keep them accessible for screen-readers
.hidden() {
--
To view, visit https://gerrit.wikimedia.org/r/371506
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Icc3af6cf932e6aa8ed0e841f14a37ff9995fbc18
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/skins/WoOgLeShades
Gerrit-Branch: master
Gerrit-Owner: Isarra <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits