Isarra has uploaded a new change for review. https://gerrit.wikimedia.org/r/250905
Change subject: motherfucking website this shitty skin ...................................................................... motherfucking website this shitty skin Because this is a motherfucking website. Let's simplify it a bit. Let people break their own skins. See also: http://motherfuckingwebsite.com/ Change-Id: I0a8a21f3525f36a7a002b891ca6b49bf620de1ff --- M resources/screen-common.less M resources/screen-desktop.less M resources/variables.less 3 files changed, 23 insertions(+), 21 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/skins/Example refs/changes/05/250905/1 diff --git a/resources/screen-common.less b/resources/screen-common.less index 1a3e64b..38b6f4f 100644 --- a/resources/screen-common.less +++ b/resources/screen-common.less @@ -8,9 +8,6 @@ html, body { - font-family: sans-serif; - margin: 0; - padding: 0; } #mw-wrapper { diff --git a/resources/screen-desktop.less b/resources/screen-desktop.less index 19b1dde..80d2cc6 100644 --- a/resources/screen-desktop.less +++ b/resources/screen-desktop.less @@ -1,23 +1,13 @@ @import "variables.less"; #mw-wrapper { - width: 60em; - border-left: 1px solid @border; - border-right: 1px solid @border; + max-width: @width; } .mw-body { - width: @width; - border-left: 1px solid @border; - float: right; - padding-top: 6em; } -#p-logo, -#mw-navigation { +#p-logo { width: 10em; - padding-left: 1em; - clear: left; - float: left; } #p-personal ul li { @@ -25,11 +15,6 @@ margin-right: 1em; } #page-tools { - position: absolute; - top: 5em; - right: 1em; - width: @width; - div, ul, li { @@ -44,4 +29,24 @@ h3 { .hidden; } + .mw-portlet { + position: absolute; + right: 1em; + } + #p-namespaces { + top: 5em; + } + #p-views { + top: 7em; + } + #p-actions { + top: 9em; + } +} +#site-navigation { + .mw-portlet { + padding: 1em; + float: left; + margin-bottom: 1em; + } } diff --git a/resources/variables.less b/resources/variables.less index ad79e7c..c454f6c 100644 --- a/resources/variables.less +++ b/resources/variables.less @@ -1,6 +1,6 @@ /* @import "mediawiki.mixins"; */ -@width: 46em; +@width: 66em; @border: #ccc; /* To hide objects, but keep them accessible for screen-readers */ -- To view, visit https://gerrit.wikimedia.org/r/250905 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I0a8a21f3525f36a7a002b891ca6b49bf620de1ff Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/skins/Example Gerrit-Branch: master Gerrit-Owner: Isarra <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
