Changeset 2347426
- Timestamp:
- 07/27/2020 08:49:48 PM (6 years ago)
- File:
-
- 1 edited
-
vi-include-post-by/trunk/style.css (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
vi-include-post-by/trunk/style.css
r2325894 r2347426 3 3 Plugin URI: http://neathawk.com 4 4 Description: Ability to include posts inside other posts/pages, etc, with a shortcode. 5 Version: 0.4.200 6175 Version: 0.4.200706 6 6 Author: Joseph Neathawk 7 7 Author URI: http://Neathawk.com … … 42 42 --------------------------------------------------------------*/ 43 43 44 /* forced aspect ratios */44 /* forced aspect ratios 2.0 */ 45 45 .aspect-ratio { 46 46 display: inline-block; 47 height:0px; 48 margin:0; 49 padding:0 0 100% 0; 47 50 position: relative; 48 51 width: 100%; 49 }50 .aspect-ratio .dummy,51 .aspect-ratio.ar-1-1 .dummy {52 /*default aspect ratio */53 margin-bottom: 100%; /* 1:1; aspect ratio */54 }55 .aspect-ratio.ar-4-3 .dummy {56 margin-bottom: 75%; /* 4:3 aspect ratio */57 }58 .aspect-ratio.ar-16-9 .dummy {59 margin-bottom: 56.25%; /* 16:9; aspect ratio */60 }61 .aspect-ratio.ar-3-4 .dummy {62 margin-bottom: 125%; /* 3:4; aspect ratio */63 }64 .aspect-ratio.ar-9-16 .dummy {65 margin-bottom: 177.7%; /* 9:16; aspect ratio */66 }67 .aspect-ratio .element {68 position: absolute;69 top: 0;70 bottom: 0;71 left: 0;72 right: 0;73 52 53 background-color:#cccccc; 74 54 background-size:cover; 75 55 background-position:center center; 76 56 } 57 .aspect-ratio.ar-1-1 { 58 /*default aspect ratio */ 59 padding-bottom: 100%; /* 1:1; aspect ratio */ 60 } 61 .aspect-ratio.ar-4-3 { 62 padding-bottom: 75%; /* 4:3 aspect ratio */ 63 } 64 .aspect-ratio.ar-16-9 { 65 padding-bottom: 56.25%; /* 16:9; aspect ratio */ 66 } 67 .aspect-ratio.ar-3-4 { 68 padding-bottom: 125%; /* 3:4; aspect ratio */ 69 } 70 .aspect-ratio.ar-9-16 { 71 padding-bottom: 177.7%; /* 9:16; aspect ratio */ 72 } 73 .aspect-ratio * { 74 /*edit all children */ 75 bottom:0px; 76 height:100%; 77 left:0px; 78 position:absolute; 79 right:0px; 80 top:0px; 81 width:100%; 82 } 77 83
Note: See TracChangeset
for help on using the changeset viewer.