Remove unneeded example styles

Change-Id: I773dbf3567acf9ca5343819575007229756e327e
isekai
Isarra 9 years ago
parent 3a1bc368de
commit 679bf418b3

@ -19,7 +19,6 @@ class SkinTimeless extends SkinTemplate {
$out->addMeta( 'viewport', 'width=device-width, initial-scale=1.0' ); $out->addMeta( 'viewport', 'width=device-width, initial-scale=1.0' );
$out->addModuleStyles( array( $out->addModuleStyles( array(
'mediawiki.skinning.interface',
'mediawiki.skinning.content.externallinks', 'mediawiki.skinning.content.externallinks',
'skins.timeless' 'skins.timeless'
) ); ) );

@ -3,5 +3,5 @@
"authors": [ "..." ] "authors": [ "..." ]
}, },
"skinname-timeless": "{{optional}}", "skinname-timeless": "{{optional}}",
"timeless-desc": "{{desc|what=skin|name=WoOgLeShades|url=https://www.mediawiki.org/wiki/Skin:Timeless}}" "timeless-desc": "{{desc|what=skin|name=Timeless|url=https://www.mediawiki.org/wiki/Skin:Timeless}}"
} }

@ -9,14 +9,6 @@ body {
padding: 0; padding: 0;
} }
#mw-wrapper {
margin: 0 auto;
position: relative;
}
.mw-body {
padding: 1em;
}
#p-logo { #p-logo {
text-align: center; text-align: center;
width: 10em; width: 10em;
@ -31,46 +23,6 @@ body {
} }
} }
/* Search form and personal menu in top-right corner */
#p-search {
position: absolute;
top: 1em;
right: 1em;
text-align: right;
}
#p-personal {
position: absolute;
top: 3em;
right: 1em;
text-align: right;
ul {
list-style-type: none;
margin: 0;
}
}
/* Footer */
#mw-footer {
clear: both;
border-top: 1px solid @border;
margin-top: 1em;
padding: 1em;
}
#mw-footer ul {
list-style-type: none;
margin: 0;
}
#mw-footer ul li {
display: inline-block;
margin-right: 1em;
}
#mw-navigation h2, #mw-navigation h2,
#p-search h3, #p-search h3,
#p-personal h3 { #p-personal h3 {

@ -1,47 +1 @@
@import "variables.less"; @import "variables.less";
#mw-wrapper {
width: 60em;
border-left: 1px solid @border;
border-right: 1px solid @border;
}
.mw-body {
width: @width;
border-left: 1px solid @border;
float: right;
padding-top: 6em;
}
#p-logo,
#mw-navigation {
width: 10em;
padding-left: 1em;
clear: left;
float: left;
}
#p-personal ul li {
display: inline-block;
margin-right: 1em;
}
#page-tools {
position: absolute;
top: 5em;
right: 1em;
width: @width;
div,
ul,
li {
list-style: none;
display: inline;
margin: 0;
padding: 0;
}
li {
padding-right: 1em;
}
h3 {
.hidden;
}
}

@ -1,21 +1 @@
@import "variables.less"; @import "variables.less";
.mw-body,
.firstHeading {
margin-top: 0;
}
#p-namespaces,
#p-views,
#p-actions {
float: left;
margin-right: 1em;
}
#p-navigation {
clear: both;
}
.mw-body,
#mw-navigation {
padding: 1em;
}

@ -1,8 +1,5 @@
@import "mediawiki.mixins"; @import "mediawiki.mixins";
@width: 46em;
@border: #ccc;
/* To hide objects, but keep them accessible for screen-readers */ /* To hide objects, but keep them accessible for screen-readers */
.hidden() { .hidden() {
position: absolute; position: absolute;

@ -26,10 +26,10 @@
"media": "screen" "media": "screen"
}, },
"resources/screen-desktop.less": { "resources/screen-desktop.less": {
"media": "screen and (min-width: 951px)" "media": "screen and (min-width: 751px)"
}, },
"resources/screen-mobile.less": { "resources/screen-mobile.less": {
"media": "screen and (max-width: 950px)" "media": "screen and (max-width: 750px)"
} }
} }
}, },

Loading…
Cancel
Save