1
0
mirror of https://github.com/Hutchy68/pivot.git synced 2024-11-21 18:09:03 +01:00

More improvements for images addressing issues #69 and #72

This commit is contained in:
Tom Hutchison 2019-03-14 11:19:12 -04:00
parent 7adb2a5135
commit 1dfbb94a0c
3 changed files with 67 additions and 4 deletions

View File

@ -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 ## Version 2.1.0
* [bug fix, compatibility] Replace wfRunHooks with Hooks::run PR #74 issue #75 * [bug fix, compatibility] Replace wfRunHooks with Hooks::run PR #74 issue #75

View File

@ -658,10 +658,8 @@ span.smwttactiveinline span.smwbuiltin {
font-style: normal; font-style: normal;
} }
/* MW still generates a label column for checkboxes, this minimizes is */ /* 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 */ /* UNTIL I CAN DETERMINE WHY toolboxend GENERATES AN EMPTY <li> IN THE MENU, I'M HIDING IT */
#p-toolboxend { display:none;} #p-toolboxend { display:none;}
@ -1104,3 +1102,63 @@ ul[class*="block-grid"] {
.mw-indicator { .mw-indicator {
display: inline-block; 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;
}
}

View File

@ -1,6 +1,6 @@
{ {
"name": "Pivot", "name": "Pivot",
"version": "2.1.0", "version": "2.1.1-dev",
"author": [ "author": [
"Tom Hutchison", "Tom Hutchison",
"..." "..."