-
-
- html( 'title' ) ?> -
-getMsg( 'tagline' )->parse() ?>
-
-
-
-
-
printTrail() ?>
@@ -154,17 +170,21 @@ class TimelessTemplate extends BaseTemplate {
/**
* Outputs the logo and (optionally) site title
*/
- private function outputLogo( $id = 'p-logo', $imageonly = false ) {
+ private function outputLogo( $id = 'p-logo', $part = 'both' ) {
?>
+ if ( $this->data['sitenotice'] ) {
+ ?>
+
html( 'sitenotice' ) ?>
data['subtitle'] ) {
- ?>
- html( 'subtitle' ) ?>
+ } + if ( $this->data['newtalk'] ) { + ?> + + + ++ html( 'title' ) ?> +
+getMsg( 'tagline' )->parse() ?>
+
+
data['undelete'] ) {
+ if ( $this->data['subtitle'] ) {
+ ?>
+
-
- html( 'bodytext' );
- $this->html( 'catlinks' );
- $this->html( 'dataAfterContent' );
- ?>
+ html( 'subtitle' ) ?>
+ data['undelete'] ) { + ?> +html( 'undelete' ) ?>
+ -html( 'undelete' ) ?>
- + + html( 'bodytext' ); + $this->html( 'catlinks' ); + $this->html( 'dataAfterContent' ); ?>
- >
+ >
+
getMsg( 'sitetitle' )->escaped() ?>
diff --git a/resources/forms.less b/resources/forms.less
index 1394497..d189133 100644
--- a/resources/forms.less
+++ b/resources/forms.less
@@ -60,7 +60,7 @@ td.mw-label {
}
fieldset {
- border: solid @grey;
+ border: solid @grey-bright;
border-width: 1px 1px @border;
line-height: 1.3em;
margin: 1em 0;
@@ -127,7 +127,7 @@ textarea,
padding: .25em .35em;
border: solid 1px @grey;
margin: .5em 0;
- box-shadow: inset 0px 2px 2px 1px rgba(0, 0, 0, 0.1);
+ box-shadow: inset 0px 2px 1px 1px rgba(0, 0, 0, 0.05);
font-size: 1em;
min-height: 30px;
}
diff --git a/resources/screen-common.less b/resources/screen-common.less
index a404ccf..995e7a4 100644
--- a/resources/screen-common.less
+++ b/resources/screen-common.less
@@ -9,6 +9,8 @@ body {
padding: 0;
color: @text;
background: @background;
+ font-size: 1em;
+ line-height: 1.3;
}
a {
@@ -41,7 +43,7 @@ a {
}
}
-#mw-navigation h2,
+#mw-site-navigation h2,
#p-search h3,
#p-personal h3 {
.hidden;
diff --git a/resources/screen-desktop.less b/resources/screen-desktop.less
index 61c088f..089b34c 100644
--- a/resources/screen-desktop.less
+++ b/resources/screen-desktop.less
@@ -1 +1,21 @@
@import "variables.less";
+
+.ts-inner {
+ max-width: 1250px;
+ margin: auto;
+}
+#p-logo-text,
+#mw-site-navigation {
+ width: 12em;
+ float: left;
+}
+#p-search,
+#content {
+ margin-left: 14em;
+ margin-right: 14em;
+}
+#mw-related-navigation,
+#p-personal {
+ width: 12em;
+ float: right;
+}
diff --git a/resources/variables.less b/resources/variables.less
index 9ff7121..12ca58f 100644
--- a/resources/variables.less
+++ b/resources/variables.less
@@ -7,8 +7,8 @@
@link: @blue;
@link-red: @red;
-@grey: #ddd;
-@grey-bright: #f0f0f0;
+@grey: #ccc;
+@grey-bright: #eee;
@grey-dark: #aaa;
@red: #b22;
@@ -27,10 +27,15 @@
@link-red: @red;
+/* Flair */
+
@fonts: 'Open Sans', 'Helvetica Neue', 'Arial', sans-serif;
@border: .2em;
@radius: .2em;
+
+/* Misc */
+
/* To hide objects, but keep them accessible for screen-readers */
.hidden() {
position: absolute;