You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

73 lines
1.4 KiB

  1. @import '../../_global/styles/mixins';
  2. @import '../../_global/styles/vars';
  3. .magazine-article article.col, .magazine-article.col {
  4. position: relative;
  5. z-index: 1;
  6. width: 880px;
  7. max-width: 66.6667%;
  8. background-color: #fff;
  9. margin: 0 auto;
  10. padding-bottom: 0;
  11. @media(max-width: 1199px) {
  12. max-width: 83.3333%;
  13. }
  14. @media(max-width: 999px) {
  15. box-shadow: 0 0 0 10px white;
  16. }
  17. @media(max-width: 767px) {
  18. max-width: 100%;
  19. box-shadow: 0 -4px 0 2px white;
  20. }
  21. .print-share {
  22. margin-bottom: 0;
  23. }
  24. .print-share .bookmarks.show-bookmarks {
  25. margin-bottom: 1em;
  26. }
  27. .image-box {
  28. img {
  29. max-width: 100%;
  30. }
  31. &.off-grid{
  32. @media(min-width: 568px) {
  33. float: left;
  34. margin: 0.3em 20px 1em 0;
  35. width: calc(50% - 10px);
  36. }
  37. @media(min-width: 768px) {
  38. margin: 0.3em 40px 1em calc(-12.5% - 5px);
  39. width: calc(50% - 20px);
  40. @media(max-width: 1199px) {
  41. margin: 0.3em 30px 1em calc(-10% - 3px);
  42. width: calc(50% - 15px);
  43. }
  44. @media(max-width: 999px) {
  45. margin: 0.3em 20px 1em calc(-10% - 2px);
  46. width: calc(50% - 10px);
  47. }
  48. }
  49. ~ *:not(p) {
  50. clear: left;
  51. }
  52. }
  53. &.portrait{
  54. display: flex;
  55. justify-content: center;
  56. flex-flow: column;
  57. img, figcaption{
  58. align-self: center;
  59. }
  60. }
  61. }
  62. }