Changeset 947326
- Timestamp:
- 07/12/2014 06:03:20 AM (12 years ago)
- Location:
- perfect-columns
- Files:
-
- 4 edited
- 1 copied
-
tags/1.1.0 (copied) (copied from perfect-columns/trunk)
-
tags/1.1.0/perfect-columns.less (modified) (1 diff)
-
tags/1.1.0/readme.txt (modified) (4 diffs)
-
trunk/perfect-columns.less (modified) (1 diff)
-
trunk/readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
perfect-columns/tags/1.1.0/perfect-columns.less
r928062 r947326 1 /* 2 Global Box-Sizing 3 This takes care of the width when you add padding the width will stay the same 4 This works for IE8 and up. Firefox still needs -moz 5 */ 6 *, 7 *:after, 8 *:before { 9 -moz-box-sizing:border-box; 10 box-sizing:border-box; 11 -webkit-font-smoothing:antialiased; 12 font-smoothing:antialiased; 13 text-rendering:optimizeLegibility; 14 } 15 16 /*------------------------------------*\ 17 *EQUAL COLUMNS by Alex Kuttner 18 19 Basic layout (always clear the parent). 20 Never add to many columns causing them to float down, it will screw up the layout 21 <div class="p-row clear-fix"> 22 <div class="p-col-6"></div> 23 <div class="p-col-6"></div> 24 </div> 25 \*------------------------------------*/ 26 1 27 .clear-fix:before, 2 28 .clear-fix:after { -
perfect-columns/tags/1.1.0/readme.txt
r928669 r947326 4 4 Requires at least: 3.9 5 5 Tested up to: 3.9.1 6 Stable tag: 1. 0.06 Stable tag: 1.1.0 7 7 License: GPLv2 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 15 15 First insert a [row] shortcode (this needs to wrap around every new row) then click the numbers until you have added shortcodes that add up to 12. 16 16 17 Example :17 Example - 18 18 [row] 19 19 20 [p-col-3] 21 20 22 Content Here 23 21 24 [/p-col-3] 25 22 26 [p-col-3] 27 23 28 Content Here 29 24 30 [/p-col-3] 31 25 32 [p-col-3] 33 26 34 Content Here 35 27 36 [/p-col-3] 37 28 38 [p-col-3] 39 29 40 Content Here 41 30 42 [/p-col-3] 43 31 44 [/row] 45 32 46 33 47 These rows will collapse for mobile devices. 34 48 35 Feel free to over write the style sheet in your themes style sheet. 49 Feel free to over write the css in your themes style sheet. 50 51 NOTE 52 This uses box-sizing:border-box in the css you may notice a slight change in your theme if not already using this. 53 54 If you do you will need to adjust your themes css. 55 Basically you may find you lose width in your DIVs, it should be just an easy matter of adding some width to these DIVs. 56 57 What box-sizing:border-box does is set your width, for example: 58 If your DIV was set to a width of 100px and you added padding-left:5px; border-left:1px solid; this padding and border will be added inside the DIV in turn not effecting the 100px width. With out this in the css 100px width would be expanded to a total of 106px. 36 59 37 60 == Installation == … … 39 62 2. Activate Perfect Columns through the \'Plugins\' menu in WordPress 40 63 3. A row of buttons will be added to the top of the WYSIWYG editor. 41 4. With every row first click on the [R] then click the numbers until you have added shortcodes that add up to 12. 64 4. With every row you would like to create first click on the [R] then click the numbers until you have added shortcodes that add up to 12. Then just repeat the process for the next row. 65 66 NOTE 67 If you start adding shortcodes inside shortcodes inside shortcodes you will find that this will not work. 42 68 43 69 == Frequently Asked Questions == … … 50 76 == Changelog == 51 77 52 = 1. 0.0 =78 = 1.1.0 = 53 79 Initial release 54 80 -
perfect-columns/trunk/perfect-columns.less
r928062 r947326 1 /* 2 Global Box-Sizing 3 This takes care of the width when you add padding the width will stay the same 4 This works for IE8 and up. Firefox still needs -moz 5 */ 6 *, 7 *:after, 8 *:before { 9 -moz-box-sizing:border-box; 10 box-sizing:border-box; 11 -webkit-font-smoothing:antialiased; 12 font-smoothing:antialiased; 13 text-rendering:optimizeLegibility; 14 } 15 16 /*------------------------------------*\ 17 *EQUAL COLUMNS by Alex Kuttner 18 19 Basic layout (always clear the parent). 20 Never add to many columns causing them to float down, it will screw up the layout 21 <div class="p-row clear-fix"> 22 <div class="p-col-6"></div> 23 <div class="p-col-6"></div> 24 </div> 25 \*------------------------------------*/ 26 1 27 .clear-fix:before, 2 28 .clear-fix:after { -
perfect-columns/trunk/readme.txt
r928669 r947326 4 4 Requires at least: 3.9 5 5 Tested up to: 3.9.1 6 Stable tag: 1. 0.06 Stable tag: 1.1.0 7 7 License: GPLv2 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 15 15 First insert a [row] shortcode (this needs to wrap around every new row) then click the numbers until you have added shortcodes that add up to 12. 16 16 17 Example :17 Example - 18 18 [row] 19 19 20 [p-col-3] 21 20 22 Content Here 23 21 24 [/p-col-3] 25 22 26 [p-col-3] 27 23 28 Content Here 29 24 30 [/p-col-3] 31 25 32 [p-col-3] 33 26 34 Content Here 35 27 36 [/p-col-3] 37 28 38 [p-col-3] 39 29 40 Content Here 41 30 42 [/p-col-3] 43 31 44 [/row] 45 32 46 33 47 These rows will collapse for mobile devices. 34 48 35 Feel free to over write the style sheet in your themes style sheet. 49 Feel free to over write the css in your themes style sheet. 50 51 NOTE 52 This uses box-sizing:border-box in the css you may notice a slight change in your theme if not already using this. 53 54 If you do you will need to adjust your themes css. 55 Basically you may find you lose width in your DIVs, it should be just an easy matter of adding some width to these DIVs. 56 57 What box-sizing:border-box does is set your width, for example: 58 If your DIV was set to a width of 100px and you added padding-left:5px; border-left:1px solid; this padding and border will be added inside the DIV in turn not effecting the 100px width. With out this in the css 100px width would be expanded to a total of 106px. 36 59 37 60 == Installation == … … 39 62 2. Activate Perfect Columns through the \'Plugins\' menu in WordPress 40 63 3. A row of buttons will be added to the top of the WYSIWYG editor. 41 4. With every row first click on the [R] then click the numbers until you have added shortcodes that add up to 12. 64 4. With every row you would like to create first click on the [R] then click the numbers until you have added shortcodes that add up to 12. Then just repeat the process for the next row. 65 66 NOTE 67 If you start adding shortcodes inside shortcodes inside shortcodes you will find that this will not work. 42 68 43 69 == Frequently Asked Questions == … … 50 76 == Changelog == 51 77 52 = 1. 0.0 =78 = 1.1.0 = 53 79 Initial release 54 80
Note: See TracChangeset
for help on using the changeset viewer.