Changeset 3254
- Timestamp:
- 05/25/2016 10:20:09 PM (9 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/css/style.css
r3252 r3254 1186 1186 font-size: 12.8px; 1187 1187 font-size: 0.8rem; 1188 margin -right: 5%;1188 margin: 0; 1189 1189 vertical-align: top; 1190 width: 30%;1191 1190 /* Make sure select elements fit in widgets. */ 1192 1191 } 1193 1192 1194 .home .widget-area .widget:last-child { 1195 margin-right: 0; 1193 @media (min-width: 67rem) { 1194 .home .widget-area .widget { 1195 margin-right: 5%; 1196 width: 30%; 1197 } 1198 .home .widget-area .widget:last-child { 1199 margin-right: 0; 1200 } 1196 1201 } 1197 1202 … … 1519 1524 .search .type-plugin, 1520 1525 .archive .type-plugin { 1521 display: inline-block;1522 margin-right: 4%;1523 1526 margin-bottom: 4%; 1524 width: 48%; 1525 } 1526 1527 .home .type-plugin:nth-of-type(even), 1528 .search .type-plugin:nth-of-type(even), 1529 .archive .type-plugin:nth-of-type(even) { 1530 margin-right: 0; 1527 } 1528 1529 @media (min-width: 67rem) { 1530 .home .type-plugin, 1531 .search .type-plugin, 1532 .archive .type-plugin { 1533 display: inline-block; 1534 margin-right: 4%; 1535 width: 48%; 1536 } 1537 .home .type-plugin:nth-of-type(even), 1538 .search .type-plugin:nth-of-type(even), 1539 .archive .type-plugin:nth-of-type(even) { 1540 margin-right: 0; 1541 } 1531 1542 } 1532 1543 … … 1534 1545 .search .type-plugin .entry-thumbnail, 1535 1546 .archive .type-plugin .entry-thumbnail { 1536 margin: 0 4% 0 0; 1537 display: inline-block; 1547 display: none; 1538 1548 max-width: 128px; 1539 vertical-align: top;1540 1549 } 1541 1550 … … 1546 1555 margin: auto; 1547 1556 vertical-align: top; 1548 width: 66%; 1557 } 1558 1559 @media (min-width: 21rem) { 1560 .home .type-plugin .entry-thumbnail, 1561 .search .type-plugin .entry-thumbnail, 1562 .archive .type-plugin .entry-thumbnail { 1563 display: inline-block; 1564 margin: 0 4% 0 0; 1565 vertical-align: top; 1566 } 1567 .home .type-plugin .entry, 1568 .search .type-plugin .entry, 1569 .archive .type-plugin .entry { 1570 width: calc(96% - 128px); 1571 } 1549 1572 } 1550 1573 … … 1602 1625 1603 1626 .single .type-plugin .plugin-banner { 1604 background-size: cover; 1605 height: 310px; 1627 background-size: 100%; 1628 background-position: 50% 50%; 1629 display: inline-block; 1630 font-size: 0; 1631 line-height: 0; 1606 1632 margin: 0 auto 1.143rem; 1607 max-width: 960px; 1633 padding-top: 32.7%; 1634 vertical-align: middle; 1608 1635 width: 100%; 1609 1636 } … … 1622 1649 .single .type-plugin .plugin-header .plugin-thumbnail { 1623 1650 float: left; 1651 display: none; 1624 1652 height: 96px; 1625 1653 margin-right: 1rem; 1626 1654 width: 96px; 1655 } 1656 1657 @media (min-width: 26rem) { 1658 .single .type-plugin .plugin-header .plugin-thumbnail { 1659 display: block; 1660 } 1627 1661 } 1628 1662 … … 1647 1681 1648 1682 .single .type-plugin .entry-content { 1649 float: left; 1650 width: 65%; 1683 max-width: 800px; 1684 max-width: 50rem; 1685 padding: 0 1.5625rem; 1686 } 1687 1688 @media (min-width: 67rem) { 1689 .single .type-plugin .entry-content { 1690 float: left; 1691 padding: 0; 1692 width: 65%; 1693 } 1651 1694 } 1652 1695 … … 1705 1748 1706 1749 .single .type-plugin .entry-meta { 1707 float: right; 1708 width: 30%; 1750 padding: 0 1.5625rem; 1751 } 1752 1753 @media (min-width: 67rem) { 1754 .single .type-plugin .entry-meta { 1755 float: right; 1756 padding: 0; 1757 width: 30%; 1758 } 1709 1759 } 1710 1760 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/sass/site/primary/_plugin-index.scss
r3193 r3254 2 2 .search .type-plugin, 3 3 .archive .type-plugin { 4 display: inline-block;5 margin-right: 4%;6 4 margin-bottom: 4%; 7 width: 48%;8 5 9 &:nth-of-type( even ) { 10 margin-right: 0; 6 @media ( min-width: 67rem ) { 7 display: inline-block; 8 margin-right: 4%; 9 width: 48%; 10 11 &:nth-of-type( even ) { 12 margin-right: 0; 13 } 11 14 } 12 15 13 16 .entry-thumbnail { 14 margin: 0 4% 0 0; 15 display: inline-block; 17 display: none; 16 18 max-width: 128px; 17 vertical-align: top;18 19 } 19 20 … … 22 23 margin: auto; 23 24 vertical-align: top; 24 width: 66%; 25 } 26 27 @media ( min-width: 21rem ) { 28 .entry-thumbnail { 29 display: inline-block; 30 margin: 0 4% 0 0; 31 vertical-align: top; 32 } 33 34 .entry { 35 width: calc(96% - 128px); 36 } 25 37 } 26 38 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/sass/site/primary/_plugin-single.scss
r3252 r3254 5 5 6 6 .plugin-banner { 7 background-size: cover; 8 height: 310px; 7 background-size: 100%; 8 background-position: 50% 50%; 9 display: inline-block; 10 font-size: 0; 11 line-height: 0; 9 12 margin: 0 auto ms(1); 10 max-width: $size__site-main; 13 padding-top: 32.7%; 14 vertical-align: middle; 11 15 width: 100%; 12 16 } … … 23 27 .plugin-thumbnail { 24 28 float: left; 29 display: none; 25 30 height: 96px; 26 31 margin-right: 1rem; 27 32 width: 96px; 33 34 @media ( min-width: 26rem ) { 35 display: block; 36 } 28 37 29 38 .plugin-icon { … … 32 41 width: 96px !important; 33 42 } 43 34 44 } 35 45 … … 50 60 51 61 .entry-content { 52 float: left; 53 width: 65%; 62 max-width: 800px; 63 max-width: 50rem; 64 padding: 0 ms(4); 65 66 @media ( min-width: 67rem ) { 67 float: left; 68 padding: 0; 69 width: 65%; 70 } 54 71 55 72 .read-more { … … 109 126 110 127 .entry-meta { 111 float: right; 112 width: 30%; 128 padding: 0 ms(4); 129 130 @media ( min-width: 67rem ) { 131 float: right; 132 padding: 0; 133 width: 30%; 134 } 113 135 } 114 136 } -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/sass/site/secondary/_widgets.scss
r3205 r3254 18 18 display: inline-block; 19 19 @include font-size( ms-unitless( ms(-2) ) ); 20 margin -right: 5%;20 margin: 0; 21 21 vertical-align: top; 22 width: 30%;23 22 24 &:last-child { 25 margin-right: 0; 23 @media ( min-width: 67rem ) { 24 margin-right: 5%; 25 width: 30%; 26 27 &:last-child { 28 margin-right: 0; 29 } 26 30 } 27 31
Note: See TracChangeset
for help on using the changeset viewer.