Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .above-content-pages .entry {
- float: left;
- width: 14.9774774775%; /* [container's width - (number of columns - 1)xgap] / number of columns */
- margin-left: 2.027027027%; /* (gap / container's width)x100 */
- }
- .above-content-pages .entry:nth-of-type(6n+1) {
- clear: left;
- margin-left: 0;
- }
- @media only screen and (max-width: 568px) {
- .above-content-pages .entry {
- width: 31.3763861709%;
- margin-left: 2.9354207436%;
- }
- .above-content-pages .entry:nth-of-type(3n+1) {
- clear: left;
- margin-left: 0;
- }
- }
- @media only screen and (max-width: 320px) {
- .above-content-pages .entry {
- width: 47.3958333333%;
- margin-left: 5.2083333333%;
- }
- .above-content-pages .entry:nth-of-type(2n+1) {
- clear: left;
- margin-left: 0;
- }
- .above-content-pages .entry:nth-of-type(3n+1) {
- clear: none;
- margin-left: 5.2083333333%;
- }
- .above-content-pages .entry:nth-of-type(6n+1) {
- clear: left;
- margin-left: 0;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement