|
- @import '../../_global/styles/mixins';
- @import '../../_global/styles/vars';
-
- .magazine-article article.col, .magazine-article.col {
- position: relative;
- z-index: 1;
- width: 880px;
- max-width: 66.6667%;
- background-color: #fff;
- margin: 0 auto;
- padding-bottom: 0;
-
- @media(max-width: 1199px) {
- max-width: 83.3333%;
- }
- @media(max-width: 999px) {
- box-shadow: 0 0 0 10px white;
- }
- @media(max-width: 767px) {
- max-width: 100%;
- box-shadow: 0 -4px 0 2px white;
- }
-
- .print-share {
- margin-bottom: 0;
- }
-
- .print-share .bookmarks.show-bookmarks {
- margin-bottom: 1em;
- }
-
- .image-box {
- img {
- max-width: 100%;
- }
-
- &.off-grid{
- @media(min-width: 568px) {
- float: left;
- margin: 0.3em 20px 1em 0;
- width: calc(50% - 10px);
- }
-
- @media(min-width: 768px) {
- margin: 0.3em 40px 1em calc(-12.5% - 5px);
- width: calc(50% - 20px);
-
- @media(max-width: 1199px) {
- margin: 0.3em 30px 1em calc(-10% - 3px);
- width: calc(50% - 15px);
- }
-
- @media(max-width: 999px) {
- margin: 0.3em 20px 1em calc(-10% - 2px);
- width: calc(50% - 10px);
- }
- }
-
- ~ *:not(p) {
- clear: left;
- }
- }
-
- &.portrait{
- display: flex;
- justify-content: center;
- flex-flow: column;
- img, figcaption{
- align-self: center;
- }
- }
- }
- }
|