Less: Linebreaks everywhere, some cleanup

Removed a rule or two.
Also removed the notes file, no longer relevant.

Change-Id: Icc28d3d95ea45e845e29895cfa8044b03ca6258b
isekai
Isarra 6 years ago
parent e1663d11e5
commit e184ac17bc

29
notes

@ -1,29 +0,0 @@
logo
site navigation
> wiki tools
> listen
table of contents
search
firstheading
page actions - edit etc
content
> references
related content
personal tools
notifications
page tools - protect etc
user tools
> all page tools - related, info etc
> languages
> sister projects
categories

@ -10,6 +10,7 @@
#personal-extra li { #personal-extra li {
display: inline-block; display: inline-block;
} }
#personal-extra { #personal-extra {
// Position and keep it from randomly overflowing massively for no apparent reason // Position and keep it from randomly overflowing massively for no apparent reason
margin: 0.7em 0 -2em 0; margin: 0.7em 0 -2em 0;
@ -20,6 +21,7 @@
margin: 0 -1em 0 0; margin: 0 -1em 0 0;
padding: 0; padding: 0;
} }
li { li {
margin: 0 0.75em 0 0; margin: 0 0.75em 0 0;
float: left; float: left;
@ -31,6 +33,7 @@
float: left; float: left;
margin-left: -4.5em; margin-left: -4.5em;
} }
.extension-icons { .extension-icons {
#p-search { #p-search {
margin-right: 21em; margin-right: 21em;
@ -48,6 +51,7 @@
.extension-icons #p-search { .extension-icons #p-search {
margin-right: 11em; margin-right: 11em;
} }
#personal-extra { #personal-extra {
margin-left: -2.5em; margin-left: -2.5em;
} }
@ -58,6 +62,7 @@
#user-tools { #user-tools {
width: auto; width: auto;
} }
.color-middle { .color-middle {
margin-right: @column-left-size + 2 * @content-padding + 4em; margin-right: @column-left-size + 2 * @content-padding + 4em;
} }
@ -68,6 +73,7 @@
.mw-echo-ui-notificationBadgeButtonPopupWidget { .mw-echo-ui-notificationBadgeButtonPopupWidget {
z-index: 2; z-index: 2;
} }
#personal-extra { #personal-extra {
position: absolute; position: absolute;
top: 0.9em; top: 0.9em;
@ -88,6 +94,7 @@
.oo-ui-popupWidget-anchored > .oo-ui-popupWidget-anchor { .oo-ui-popupWidget-anchored > .oo-ui-popupWidget-anchor {
display: none; display: none;
} }
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup { .mw-echo-ui-notificationBadgeButtonPopupWidget-popup {
left: 0 !important; left: 0 !important;
width: 100%; width: 100%;

@ -6,9 +6,11 @@
.background-image-svg( '../images/brackets-grey.svg', '../images/brackets-grey.png' ); .background-image-svg( '../images/brackets-grey.svg', '../images/brackets-grey.png' );
margin-right: 1.25em; margin-right: 1.25em;
} }
.mw-editsection a.mw-editsection-visualeditor { .mw-editsection a.mw-editsection-visualeditor {
.background-image-svg( '../images/pencil-grey.svg', '../images/pencil-grey.png' ); .background-image-svg( '../images/pencil-grey.svg', '../images/pencil-grey.png' );
} }
.mw-editsection-divider { .mw-editsection-divider {
display: none; display: none;
} }
@ -17,6 +19,7 @@
#ca-ve-edit a { #ca-ve-edit a {
.background-image-svg( '../images/pencil-grey.svg', '../images/pencil-grey.png' ); .background-image-svg( '../images/pencil-grey.svg', '../images/pencil-grey.png' );
} }
#ca-edit a { #ca-edit a {
.background-image-svg( '../images/brackets-grey.svg', '../images/brackets-grey.png' ); .background-image-svg( '../images/brackets-grey.svg', '../images/brackets-grey.png' );
} }

@ -21,6 +21,7 @@
margin-left: -@content-padding; margin-left: -@content-padding;
margin-right: -@content-padding; margin-right: -@content-padding;
} }
.ve-init-mw-desktopArticleTarget .ve-init-mw-target-surface .ve-ce-documentNode, .ve-init-mw-desktopArticleTarget .ve-init-mw-target-surface .ve-ce-documentNode,
.ve-init-mw-desktopArticleTarget .ve-init-mw-target-surface .ve-ui-surface-placeholder { .ve-init-mw-desktopArticleTarget .ve-init-mw-target-surface .ve-ui-surface-placeholder {
padding-left: @content-padding; padding-left: @content-padding;

@ -19,6 +19,7 @@
} }
} }
} }
#preferences { #preferences {
margin: 0; margin: 0;
clear: both; clear: both;
@ -30,23 +31,28 @@
margin: 0; margin: 0;
box-shadow: none; box-shadow: none;
} }
.mainLegend { .mainLegend {
display: none; display: none;
} }
.preferences-login { .preferences-login {
clear: both; clear: both;
margin-bottom: 1.5em; margin-bottom: 1.5em;
} }
.mw-email-not-authenticated .mw-input, .mw-email-not-authenticated .mw-input,
.mw-email-none .mw-input { .mw-email-none .mw-input {
display: block; display: block;
padding: 0.25em 0.5em; padding: 0.25em 0.5em;
} }
input[ type='checkbox' ], input[ type='checkbox' ],
input[ type='radio' ] { input[ type='radio' ] {
margin-left: 0; margin-left: 0;
} }
} }
.mw-prefs-buttons { .mw-prefs-buttons {
margin-top: 1em; margin-top: 1em;
} }
@ -69,19 +75,24 @@ fieldset {
color: @blue-dark; color: @blue-dark;
} }
} }
label { label {
padding-left: 0.5em; padding-left: 0.5em;
} }
.mw-input label { .mw-input label {
padding: 0; padding: 0;
margin-right: 1em; margin-right: 1em;
} }
.mw-label { .mw-label {
padding-right: 0.5em; padding-right: 0.5em;
} }
.mw-submit { .mw-submit {
padding-top: 2em; padding-top: 2em;
} }
.htmlform-tip { .htmlform-tip {
font-size: 85%; font-size: 85%;
color: @text; color: @text;
@ -120,21 +131,26 @@ textarea,
min-height: 30px; min-height: 30px;
font-family: @fonts; font-family: @fonts;
} }
select { select {
padding: 0.25em; padding: 0.25em;
margin: 0.5em 0; margin: 0.5em 0;
} }
input[ type='checkbox' ], input[ type='checkbox' ],
input[ type='radio' ] { input[ type='radio' ] {
margin-left: 1em; margin-left: 1em;
min-height: 0; min-height: 0;
} }
input[ type='checkbox' ] { input[ type='checkbox' ] {
border-radius: 2px; border-radius: 2px;
} }
input[ type='radio' ] { input[ type='radio' ] {
border-radius: 8px; border-radius: 8px;
} }
.mw-ui-button.mw-ui-progressive, .mw-ui-button.mw-ui-progressive,
.mw-ui-button.mw-ui-progressive:active, .mw-ui-button.mw-ui-progressive:active,
.mw-ui-button.mw-ui-progressive.mw-ui-checked, .mw-ui-button.mw-ui-progressive.mw-ui-checked,
@ -154,15 +170,12 @@ button {
&:active { &:active {
background-color: @grey-bright; background-color: @grey-bright;
} }
&:hover { &:hover {
background-color: @grey-bright; background-color: @grey-bright;
} }
} }
input[ type='submit' ],
input[ type='button' ],
button {
text-shadow: 0 -1px 0 @grey;
}
textarea { textarea {
width: 100%; width: 100%;
resize: vertical; resize: vertical;
@ -170,9 +183,11 @@ textarea {
line-height: 1.3em; line-height: 1.3em;
font-family: @fonts-monospace; font-family: @fonts-monospace;
} }
textarea#wpTextbox1 { textarea#wpTextbox1 {
border-color: @grey; border-color: @grey;
} }
div.editOptions { div.editOptions {
padding: 1.25em 1.75em; padding: 1.25em 1.75em;
padding: 1em; padding: 1em;
@ -183,10 +198,12 @@ div.editOptions {
.mw-summary label { .mw-summary label {
padding-left: 0; padding-left: 0;
} }
input#wpSummary { input#wpSummary {
box-sizing: border-box; box-sizing: border-box;
width: 100%; width: 100%;
} }
label { label {
margin-right: 1.5em; margin-right: 1.5em;
} }
@ -206,6 +223,7 @@ div.editOptions {
.mw-templatesandbox-page label { .mw-templatesandbox-page label {
padding: 0; padding: 0;
} }
#wpTemplateSandboxPreview { #wpTemplateSandboxPreview {
margin-left: 0.5em; margin-left: 0.5em;
} }
@ -215,6 +233,7 @@ div.editOptions {
#mw-watchlist-options hr { #mw-watchlist-options hr {
clear: both; clear: both;
} }
.rcoptions #namespace, .rcoptions #namespace,
#mw-watchlist-options .namespaceselector { #mw-watchlist-options .namespaceselector {
margin-right: 2em; margin-right: 2em;
@ -225,6 +244,7 @@ div.editOptions {
label { label {
padding: 0 1em 0 0; padding: 0 1em 0 0;
} }
input[ type='submit' ] { input[ type='submit' ] {
margin: 0 0 0 4em; margin: 0 0 0 4em;
} }
@ -237,18 +257,22 @@ div.editOptions {
float: right; float: right;
margin: 0 0 0 4em; margin: 0 0 0 4em;
} }
td.mw-label.mw-target-label { td.mw-label.mw-target-label {
vertical-align: top; vertical-align: top;
padding-top: 0.75em; padding-top: 0.75em;
} }
input[ name='target' ] { input[ name='target' ] {
float: left; float: left;
} }
} }
#showlinkedto { #showlinkedto {
clear: left; clear: left;
float: left; float: left;
} }
label[ for='showlinkedto' ] { label[ for='showlinkedto' ] {
padding: 0.4em; padding: 0.4em;
float: left; float: left;

@ -94,6 +94,7 @@ a {
abbr[title] { abbr[title] {
border-bottom: 1px dotted; border-bottom: 1px dotted;
} }
@supports (text-decoration: underline dotted) { @supports (text-decoration: underline dotted) {
abbr[title] { abbr[title] {
border-bottom: none; border-bottom: none;

@ -7,6 +7,7 @@ body {
margin: 0; margin: 0;
padding: 0; padding: 0;
} }
body { body {
font-family: @fonts; font-family: @fonts;
color: @text; color: @text;
@ -24,12 +25,15 @@ body {
position: relative; position: relative;
z-index: 0; z-index: 0;
} }
#mw-content-container { #mw-content-container {
background: @background2; background: @background2;
} }
.mw-body { .mw-body {
word-wrap: break-word; word-wrap: break-word;
} }
#mw-footer-container { #mw-footer-container {
border-top: solid 1px @background-dark2; border-top: solid 1px @background-dark2;
box-shadow: inset 0 7px 2px -4px rgba( 0, 0, 0, 0.1 ); box-shadow: inset 0 7px 2px -4px rgba( 0, 0, 0, 0.1 );
@ -47,6 +51,7 @@ body {
text-align: center; text-align: center;
margin: auto; margin: auto;
} }
.mw-wiki-logo { .mw-wiki-logo {
display: block; display: block;
content: ''; content: '';
@ -56,6 +61,7 @@ body {
background-position: center center; background-position: center center;
margin: 0.75em auto 0; margin: 0.75em auto 0;
} }
#p-logo-text { #p-logo-text {
width: @column-left-size; width: @column-left-size;
text-align: center; text-align: center;
@ -86,6 +92,7 @@ body {
position: relative; position: relative;
border: solid 1px @grey; border: solid 1px @grey;
} }
#searchInput { #searchInput {
border: 0; border: 0;
margin: 0; margin: 0;
@ -96,6 +103,7 @@ body {
width: 100%; width: 100%;
min-height: 0; min-height: 0;
} }
#searchButton, #searchButton,
#mw-searchButton { #mw-searchButton {
position: absolute; position: absolute;
@ -119,20 +127,24 @@ body {
border-bottom-width: @border; border-bottom-width: @border;
padding: 0.75em 2em; padding: 0.75em 2em;
} }
.suggestions-results { .suggestions-results {
background-color: @background; background-color: @background;
border: 1px solid @grey; border: 1px solid @grey;
border-bottom-width: @border; border-bottom-width: @border;
} }
.suggestions-result { .suggestions-result {
color: @text; color: @text;
padding: 0.65em 2em 0.35em; padding: 0.65em 2em 0.35em;
} }
.suggestions-result-current { .suggestions-result-current {
background-color: @blue; background-color: @blue;
color: @background; color: @background;
} }
} }
div.suggestions { div.suggestions {
position: fixed; position: fixed;
top: 2.75em !important; // Override js-provided value to account for fixed header top: 2.75em !important; // Override js-provided value to account for fixed header
@ -152,11 +164,13 @@ div.suggestions {
width: 0; width: 0;
z-index: 4; z-index: 4;
} }
.pokey { .pokey {
top: 1.85em; top: 1.85em;
right: 1px; right: 1px;
display: none; display: none;
} }
.pokey:after { .pokey:after {
border-bottom-color: #fff; border-bottom-color: #fff;
right: -10px; right: -10px;
@ -179,6 +193,7 @@ div.suggestions {
list-style: none; list-style: none;
padding: 0; padding: 0;
} }
.footer-icons { .footer-icons {
float: right; float: right;
margin: 0 0 0 1em; margin: 0 0 0 1em;
@ -187,10 +202,12 @@ div.suggestions {
margin: 0 0 1em 0; margin: 0 0 1em 0;
} }
} }
.footer-places li { .footer-places li {
display: inline; display: inline;
padding-right: 1em; padding-right: 1em;
} }
#lastmod, #lastmod,
#credits, #credits,
#copyright { #copyright {
@ -203,6 +220,7 @@ div.suggestions {
#mw-content-container { #mw-content-container {
border-bottom: solid 4px @green; border-bottom: solid 4px @green;
} }
#mw-page-header-links { #mw-page-header-links {
div, div,
ul, ul,
@ -212,6 +230,7 @@ div.suggestions {
margin: 0; margin: 0;
padding: 0; padding: 0;
} }
li { li {
margin: 0.25em 0 1em; margin: 0.25em 0 1em;
border-bottom: solid 3px transparent; border-bottom: solid 3px transparent;
@ -219,6 +238,7 @@ div.suggestions {
&:hover { &:hover {
border-bottom-color: @grey; border-bottom-color: @grey;
} }
&.selected { &.selected {
border-bottom-color: @blue; border-bottom-color: @blue;
@ -228,6 +248,7 @@ div.suggestions {
} }
} }
} }
#p-namespaces { #p-namespaces {
float: left; float: left;
@ -235,6 +256,7 @@ div.suggestions {
margin-right: 1em; margin-right: 1em;
} }
} }
#p-views, #p-views,
#p-more { #p-more {
float: right; float: right;
@ -248,6 +270,7 @@ div.suggestions {
.ca-icon(); .ca-icon();
.background-image-svg( 'images/star.svg', 'images/star.png' ); .background-image-svg( 'images/star.svg', 'images/star.png' );
} }
#ca-unwatch a { #ca-unwatch a {
.ca-icon(); .ca-icon();
.background-image-svg( 'images/star-filled.svg', 'images/star-filled.png' ); .background-image-svg( 'images/star-filled.svg', 'images/star-filled.png' );
@ -264,6 +287,7 @@ a {
color: @blue-dark; color: @blue-dark;
} }
} }
a.new, a.new,
.new a { .new a {
color: @red; color: @red;
@ -273,6 +297,7 @@ a.new,
color: @red-dark; color: @red-dark;
} }
} }
a.mw-selflink { a.mw-selflink {
color: inherit; color: inherit;
font-weight: bold; font-weight: bold;
@ -290,19 +315,24 @@ a.mw-selflink {
padding: 0.5em 0 0.25em 1.75em; padding: 0.5em 0 0.25em 1.75em;
} }
} }
.mw-editsection-bracket { .mw-editsection-bracket {
display: none; display: none;
} }
.visual-clear { .visual-clear {
clear: both; clear: both;
} }
.mw-indicators { .mw-indicators {
float: right; float: right;
margin: 0.25em 0 0 1em; margin: 0.25em 0 0 1em;
} }
.mw-indicator { .mw-indicator {
display: inline-block; display: inline-block;
} }
/* Subtitle area /* Subtitle area
* @see https://phabricator.wikimedia.org/T173951 * @see https://phabricator.wikimedia.org/T173951
*/ */
@ -351,6 +381,7 @@ pre,
line-height: 1.25; line-height: 1.25;
margin: 1.5em 0 0.5em; margin: 1.5em 0 0.5em;
} }
form dt { form dt {
margin: 0 0.5em 0 0; margin: 0 0.5em 0 0;
} }
@ -437,24 +468,29 @@ ul {
margin: 0 0 0.5em 0.5em; margin: 0 0 0.5em 0.5em;
padding: 0 0 1em 1.5em; padding: 0 0 1em 1.5em;
} }
/* @noflip */ /* @noflip */
.tleft { .tleft {
margin: 0 0.5em 0.5em 0; margin: 0 0.5em 0.5em 0;
padding: 0 1.5em 1em 0; padding: 0 1.5em 1em 0;
} }
.thumbinner { .thumbinner {
.box; .box;
padding: 0.75em; padding: 0.75em;
} }
.thumbcaption { .thumbcaption {
font-size: 95%; font-size: 95%;
padding: 0.5em 1em; padding: 0.5em 1em;
} }
.thumbinner .thumbimage, .thumbinner .thumbimage,
.thumbborder { .thumbborder {
border: solid 1px @grey-bright; border: solid 1px @grey-bright;
} }
.mw-body li.gallerybox div.thumb { .mw-body li.gallerybox div.thumb {
.box; .box;
padding: 0; padding: 0;
@ -470,14 +506,17 @@ ul#filetoc,
margin: 1em 0; margin: 1em 0;
min-width: 15em; min-width: 15em;
} }
ul#filetoc { ul#filetoc {
display: block; display: block;
border: 0; border: 0;
} }
.toc ul { .toc ul {
margin: 1em 0 0; margin: 1em 0 0;
list-style: none; list-style: none;
} }
.mw-body .toc h2 { .mw-body .toc h2 {
font-size: 1em; font-size: 1em;
font-family: @fonts; font-family: @fonts;
@ -485,14 +524,17 @@ ul#filetoc {
display: inline; display: inline;
border-bottom-color: @grey; border-bottom-color: @grey;
} }
.toctoggle { .toctoggle {
color: @background3; color: @background3;
} }
// Remove brackets around the show/hide button of the TOC // Remove brackets around the show/hide button of the TOC
body :not( :checked ) > .toctogglespan:before, body :not( :checked ) > .toctogglespan:before,
body :not( :checked ) > .toctogglespan:after { body :not( :checked ) > .toctogglespan:after {
content: ''; content: '';
} }
.toctogglelabel { .toctogglelabel {
padding-left: 0; // Overwrite label { padding-left: 0.5em; } from forms.less padding-left: 0; // Overwrite label { padding-left: 0.5em; } from forms.less
margin-left: 0.5em; // Create new distance to the TOC title without increasing the focus ring margin-left: 0.5em; // Create new distance to the TOC title without increasing the focus ring
@ -501,12 +543,15 @@ body :not( :checked ) > .toctogglespan:after {
.toc li:last-child { .toc li:last-child {
margin-bottom: 0.5em; margin-bottom: 0.5em;
} }
.toclevel-1 { .toclevel-1 {
margin-bottom: 0.25em; margin-bottom: 0.25em;
} }
.tocnumber { .tocnumber {
color: @grey-dark; color: @grey-dark;
} }
.mw-changeslist-legend, .mw-changeslist-legend,
.mw-body .mw-search-profile-tabs, .mw-body .mw-search-profile-tabs,
.mw-body fieldset#mw-searchoptions, .mw-body fieldset#mw-searchoptions,
@ -515,6 +560,7 @@ table.wikitable {
color: @text; color: @text;
.box; .box;
} }
.mw-body .mw-search-profile-tabs { .mw-body .mw-search-profile-tabs {
padding: 0.5em; padding: 0.5em;
} }
@ -537,12 +583,14 @@ table.wikitable > * > tr > th {
.color-bar { .color-bar {
width: 100%; width: 100%;
} }
.color-left { .color-left {
height: @color-height; height: @color-height;
background: @red-dark; background: @red-dark;
width: 50%; width: 50%;
float: left; float: left;
} }
.color-right { .color-right {
display: inline-block; display: inline-block;
height: @color-height; height: @color-height;
@ -550,11 +598,13 @@ table.wikitable > * > tr > th {
width: 50%; width: 50%;
float: right; float: right;
} }
.color-middle-container { .color-middle-container {
max-width: @content-width; max-width: @content-width;
margin: 0 auto -@color-height; margin: 0 auto -@color-height;
position: relative; position: relative;
} }
.color-middle { .color-middle {
height: @color-height; height: @color-height;
background: @blue-dark; background: @blue-dark;
@ -567,6 +617,7 @@ table.wikitable > * > tr > th {
#mw-page-header-links .emptyPortlet { #mw-page-header-links .emptyPortlet {
display: none; display: none;
} }
#p-lang.emptyPortlet { #p-lang.emptyPortlet {
display: inherit; display: inherit;
} }

@ -21,6 +21,7 @@
margin-left: -@column-left-size; margin-left: -@column-left-size;
width: 100%; width: 100%;
} }
#mw-content, #mw-content,
#content-bottom-stuff { #content-bottom-stuff {
margin-left: @column-left-size; margin-left: @column-left-size;

@ -5,6 +5,7 @@
#mw-content-block { #mw-content-block {
padding: 0; padding: 0;
} }
#mw-content { #mw-content {
border-width: 0 0 1px; border-width: 0 0 1px;
clear: both; clear: both;
@ -23,6 +24,7 @@
display: inline-block; display: inline-block;
} }
} }
.sidebar-inner, .sidebar-inner,
#p-logo { #p-logo {
display: none !important; display: none !important;
@ -65,6 +67,7 @@
background: @background; background: @background;
width: 100%; width: 100%;
} }
#mw-header-nav-hack .color-bar { #mw-header-nav-hack .color-bar {
margin-top: 2.5em; // Height of expected menu header contents margin-top: 2.5em; // Height of expected menu header contents
} }
@ -77,10 +80,12 @@
.sidebar-chunk { .sidebar-chunk {
margin: 0 1em 0 0; margin: 0 1em 0 0;
} }
.sidebar-inner { .sidebar-inner {
.dropdown-menu( left ); .dropdown-menu( left );
} }
} }
#mw-related-navigation { #mw-related-navigation {
position: absolute; position: absolute;
top: 3.1em; top: 3.1em;
@ -89,6 +94,7 @@
.sidebar-chunk { .sidebar-chunk {
margin: 0 0 0 1em; margin: 0 0 0 1em;
} }
.sidebar-inner { .sidebar-inner {
.dropdown-menu(); .dropdown-menu();
top: 2.95em !important; // to override mobile positioning top: 2.95em !important; // to override mobile positioning
@ -100,6 +106,7 @@
#mw-header { #mw-header {
padding: 0 2em; padding: 0 2em;
} }
#p-logo-text a { #p-logo-text a {
padding-left: 0; padding-left: 0;
text-align: left; text-align: left;
@ -117,9 +124,11 @@
h2 span { h2 span {
display: none; display: none;
} }
h2:after { h2:after {
margin-left: -0.65em; margin-left: -0.65em;
} }
.dropdown { .dropdown {
right: -1em; right: -1em;
} }
@ -128,6 +137,7 @@
#user-tools { #user-tools {
width: 6em; width: 6em;
} }
#p-search { #p-search {
margin-right: 6em; margin-right: 6em;
} }

@ -12,6 +12,7 @@
padding: 0 1em; padding: 0 1em;
margin: auto; margin: auto;
} }
#mw-content-container { #mw-content-container {
.background-image-svg( 'images/cat-grey.svg', 'images/cat-grey.png' ); .background-image-svg( 'images/cat-grey.svg', 'images/cat-grey.png' );
background-repeat: no-repeat; background-repeat: no-repeat;
@ -37,18 +38,22 @@
min-height: @fixed-header-height; min-height: @fixed-header-height;
box-sizing: border-box; box-sizing: border-box;
} }
#p-logo-text { #p-logo-text {
width: @column-left-size; width: @column-left-size;
float: left; float: left;
} }
#p-search { #p-search {
margin-left: @column-left-size; margin-left: @column-left-size;
margin-right: @column-right-size; margin-right: @column-right-size;
} }
#user-tools { #user-tools {
width: @column-right-size; width: @column-right-size;
float: right; float: right;
} }
#mw-header-nav-hack, #mw-header-nav-hack,
#mw-header-hack { #mw-header-hack {
position: fixed; position: fixed;
@ -56,6 +61,7 @@
top: @fixed-header-height; top: @fixed-header-height;
box-shadow: 0 3px 3px 2px rgba( 0, 0, 0, 0.075 ), 0 0 2px rgba( 0, 0, 0, 0.2 ); box-shadow: 0 3px 3px 2px rgba( 0, 0, 0, 0.075 ), 0 0 2px rgba( 0, 0, 0, 0.2 );
} }
#mw-header-nav-hack { #mw-header-nav-hack {
display: none; display: none;
} }
@ -75,9 +81,11 @@
top: 2.95em; top: 2.95em;
right: -2em; right: -2em;
} }
.pokey { .pokey {
top: 2.05em; top: 2.05em;
} }
h2 { h2 {
margin: 0; margin: 0;
padding: 0.7em 0 0 25px; padding: 0.7em 0 0 25px;
@ -97,6 +105,7 @@
word-wrap: break-word; word-wrap: break-word;
} }
} }
&:hover { &:hover {
.pokey, .pokey,
.dropdown { .dropdown {

@ -8,6 +8,7 @@
.ts-inner { .ts-inner {
padding: 0 3em; padding: 0 3em;
} }
.color-middle { .color-middle {
margin-left: @column-left-size; margin-left: @column-left-size;
margin-right: @column-right-size; margin-right: @column-right-size;
@ -19,6 +20,7 @@
.ts-inner { .ts-inner {
padding: 0 3em; padding: 0 3em;
} }
.color-middle { .color-middle {
margin-left: @column-left-size + 3em; margin-left: @column-left-size + 3em;
margin-right: @column-right-size + 3em; margin-right: @column-right-size + 3em;
@ -33,6 +35,7 @@
a { a {
padding-top: 0; padding-top: 0;
} }
a.long { a.long {
padding-bottom: 0.2em; padding-bottom: 0.2em;
} }

@ -5,12 +5,14 @@
#mw-footer { #mw-footer {
padding: 0 @content-padding; padding: 0 @content-padding;
} }
.color-middle { .color-middle {
margin: auto; margin: auto;
width: 34%; width: 34%;
} }
.categories-bottom(); .categories-bottom();
#catlinks { #catlinks {
padding-bottom: 2em; padding-bottom: 2em;
border-top: solid 3px @grey; border-top: solid 3px @grey;
@ -65,9 +67,11 @@
h3 { h3 {
margin: 0.5em 0 1.5em; margin: 0.5em 0 1.5em;
} }
ul { ul {
margin: 1em 0 2em; margin: 1em 0 2em;
} }
li { li {
margin: 0 0 0.75em; margin: 0 0 0.75em;
} }
@ -105,26 +109,31 @@
display: inline-block; display: inline-block;
.icon(); .icon();
} }
&:after { &:after {
position: absolute; position: absolute;
top: 0.65em; top: 0.65em;
left: 23px; left: 23px;
} }
} }
#user-tools h2 { #user-tools h2 {
right: @content-padding + 0.5em; right: @content-padding + 0.5em;
.background-image-svg( 'images/user-large-grey.svg', 'images/user-large-grey.png' ); .background-image-svg( 'images/user-large-grey.svg', 'images/user-large-grey.png' );
} }
#site-navigation { #site-navigation {
h2 { h2 {
left: @content-padding; left: @content-padding;
.background-image-svg( 'images/menu-large-grey.svg', 'images/menu-large-grey.png' ); .background-image-svg( 'images/menu-large-grey.svg', 'images/menu-large-grey.png' );
} }
.sidebar-inner { .sidebar-inner {
left: 0; left: 0;
right: auto; right: auto;
} }
} }
#site-tools h2 { #site-tools h2 {
right: 7em; right: 7em;
.background-image-svg( 'images/gear-large-grey.svg', 'images/gear-large-grey.png' ); .background-image-svg( 'images/gear-large-grey.svg', 'images/gear-large-grey.png' );
@ -148,6 +157,7 @@
#p-namespaces li { #p-namespaces li {
margin-right: 1.5em; margin-right: 1.5em;
} }
#p-pagetools li { #p-pagetools li {
margin-left: 1.5em; margin-left: 1.5em;
@ -159,21 +169,27 @@
#mw-page-header-links a { #mw-page-header-links a {
.ca-icon(); .ca-icon();
} }
#ca-edit a { #ca-edit a {
.background-image-svg( 'images/pencil-grey.svg', 'images/pencil-grey.png' ); .background-image-svg( 'images/pencil-grey.svg', 'images/pencil-grey.png' );
} }
#ca-history a { #ca-history a {
.background-image-svg( 'images/clock-grey.svg', 'images/clock-grey.png' ); .background-image-svg( 'images/clock-grey.svg', 'images/clock-grey.png' );
} }
#ca-talk a { #ca-talk a {
.background-image-svg( 'images/talk-grey.svg', 'images/talk-grey.png' ); .background-image-svg( 'images/talk-grey.svg', 'images/talk-grey.png' );
} }
#t-contributions a { #t-contributions a {
.background-image-svg( 'images/puzzle-grey.svg', 'images/puzzle-grey.png' ); .background-image-svg( 'images/puzzle-grey.svg', 'images/puzzle-grey.png' );
} }
#ca-addsection a { #ca-addsection a {
.background-image-svg( 'images/plus-grey.svg', 'images/plus-grey.png' ); .background-image-svg( 'images/plus-grey.svg', 'images/plus-grey.png' );
} }
*[ id^='ca-nstab-' ] a { *[ id^='ca-nstab-' ] a {
.background-image-svg( 'images/page-grey.svg', 'images/page-grey.png' ); .background-image-svg( 'images/page-grey.svg', 'images/page-grey.png' );
} }
@ -188,9 +204,11 @@
.ca-icon(); .ca-icon();
} }
} }
#ca-more span { #ca-more span {
.background-image-svg( 'images/gear-grey.svg', 'images/gear-grey.png' ); .background-image-svg( 'images/gear-grey.svg', 'images/gear-grey.png' );
} }
#ca-languages span { #ca-languages span {
.background-image-svg( 'images/languages-grey.svg', 'images/languages-grey.png' ); .background-image-svg( 'images/languages-grey.svg', 'images/languages-grey.png' );
} }
@ -200,22 +218,27 @@
div.thumb { div.thumb {
float: none; float: none;
} }
.thumb { .thumb {
margin: 1em auto; margin: 1em auto;
} }
.tright { .tright {
margin-left: 0; margin-left: 0;
padding-left: 0; padding-left: 0;
} }
.tleft { .tleft {
margin-right: 0; margin-right: 0;
padding-right: 0; padding-right: 0;
} }
.thumbinner { .thumbinner {
padding: 1em 1.5em; padding: 1em 1.5em;
width: 100% !important; width: 100% !important;
box-sizing: border-box; box-sizing: border-box;
} }
.thumbimage { .thumbimage {
display: block; display: block;
margin: 0 auto 0.5em; margin: 0 auto 0.5em;

@ -119,6 +119,7 @@
margin: 0; margin: 0;
padding: 0; padding: 0;
} }
h3 { h3 {
font-weight: normal; font-weight: normal;
font-size: 1em; font-size: 1em;
@ -126,9 +127,11 @@
padding-bottom: 0.15em; padding-bottom: 0.15em;
border-bottom: solid 2px @grey; border-bottom: solid 2px @grey;
} }
ul { ul {
margin-bottom: 2em; margin-bottom: 2em;
} }
li { li {
margin: 0 0 0.35em; margin: 0 0 0.35em;
} }
@ -142,6 +145,7 @@
.nav-block(); .nav-block();
} }
} }
.column-left() { .column-left() {
padding-right: 1em; padding-right: 1em;
box-sizing: border-box; box-sizing: border-box;
@ -167,6 +171,7 @@
background-repeat: no-repeat; background-repeat: no-repeat;
} }
} }
.dropdown-menu( @direction: right ) { .dropdown-menu( @direction: right ) {
.nav-block(); .nav-block();
background: @background; background: @background;
@ -195,6 +200,7 @@
li { li {
border-left: 0; border-left: 0;
} }
div { div {
margin: 0 0 0.35em; margin: 0 0 0.35em;
} }

Loading…
Cancel
Save