Skip to content
This repository has been archived by the owner on Jul 30, 2022. It is now read-only.

Commit

Permalink
More improvements for images addressing issues #69 and #72
Browse files Browse the repository at this point in the history
  • Loading branch information
Hutchy68 committed Mar 14, 2019
1 parent 7adb2a5 commit 1dfbb94
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## Version 2.1.1

* [CSS] Improvements correcting Issues #72 and #69
* [CSS] Further improvements found similar to Search Input alignment on other form type pages

## Version 2.1.0

* [bug fix, compatibility] Replace wfRunHooks with Hooks::run PR #74 issue #75
Expand Down
64 changes: 61 additions & 3 deletions assets/stylesheets/pivot.css
Original file line number Diff line number Diff line change
Expand Up @@ -658,10 +658,8 @@ span.smwttactiveinline span.smwbuiltin {
font-style: normal;
}


/* MW still generates a label column for checkboxes, this minimizes is */
div.mw-htmlform-field-HTMLCheckField div.mw-label { height:0; }

.mw-htmlform-field-HTMLCheckField .mw-label { height:0; }

/* UNTIL I CAN DETERMINE WHY toolboxend GENERATES AN EMPTY <li> IN THE MENU, I'M HIDING IT */
#p-toolboxend { display:none;}
Expand Down Expand Up @@ -1103,4 +1101,64 @@ ul[class*="block-grid"] {
}
.mw-indicator {
display: inline-block;
}

/* Images the MediaWiki way */

/* Thumbs and Captions */
.thumbinner {
border: 1px solid #c8ccd1;
padding: 3px;
background-color: #f8f9fa;
font-size: 94%;
text-align: center;
overflow: hidden;
margin: auto;
}
.thumbcaption {
border: 0;
line-height: 1.4em;
padding: 3px;
font-size: 94%;
text-align: left;
}
.magnify a {
display: block;
text-indent: 15px;
white-space: nowrap;
overflow: hidden;
width: 15px;
height: 11px;
}
.mw-content-ltr .magnify a {
background-image: url(/w/resources/src/mediawiki.skinning/images/magnify-clip-ltr.png);
}

/* Float right and left styles - Make all MW images responsive for mobile when floated */

.floatright, .tright,
table.floatright {
margin: 0 0 .5em .5em;
border: 0;
}

.floatleft,.tleft
table.floatleft {
margin: 0 .5em .5em 0;
border: 0;
}

/* Kill the float for smaller screens and make them align center. */

@media only screen and (max-width: 640px) {
.floatright,
table.floatright,
.floatleft,
table.floatleft,
.thumb.tleft,
.thumb.tright {
text-align: center;
float: none;
margin: .5em auto;
}
}
2 changes: 1 addition & 1 deletion skin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Pivot",
"version": "2.1.0",
"version": "2.1.1-dev",
"author": [
"Tom Hutchison",
"..."
Expand Down

0 comments on commit 1dfbb94

Please sign in to comment.