base.css 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. hr {
  2. margin: 20px 0;
  3. border: 0;
  4. border-top: 1px dashed #c5c5c5;
  5. border-bottom: 1px dashed #f7f7f7;
  6. }
  7. .learn a {
  8. font-weight: normal;
  9. text-decoration: none;
  10. color: #b83f45;
  11. }
  12. .learn a:hover {
  13. text-decoration: underline;
  14. color: #787e7e;
  15. }
  16. .learn h3,
  17. .learn h4,
  18. .learn h5 {
  19. margin: 10px 0;
  20. font-weight: 500;
  21. line-height: 1.2;
  22. color: #000;
  23. }
  24. .learn h3 {
  25. font-size: 24px;
  26. }
  27. .learn h4 {
  28. font-size: 18px;
  29. }
  30. .learn h5 {
  31. margin-bottom: 0;
  32. font-size: 14px;
  33. }
  34. .learn ul {
  35. padding: 0;
  36. margin: 0 0 30px 25px;
  37. }
  38. .learn li {
  39. line-height: 20px;
  40. }
  41. .learn p {
  42. font-size: 15px;
  43. font-weight: 300;
  44. line-height: 1.3;
  45. margin-top: 0;
  46. margin-bottom: 0;
  47. }
  48. #issue-count {
  49. display: none;
  50. }
  51. .quote {
  52. border: none;
  53. margin: 20px 0 60px 0;
  54. }
  55. .quote p {
  56. font-style: italic;
  57. }
  58. .quote p:before {
  59. content: '“';
  60. font-size: 50px;
  61. opacity: .15;
  62. position: absolute;
  63. top: -20px;
  64. left: 3px;
  65. }
  66. .quote p:after {
  67. content: '”';
  68. font-size: 50px;
  69. opacity: .15;
  70. position: absolute;
  71. bottom: -42px;
  72. right: 3px;
  73. }
  74. .quote footer {
  75. position: absolute;
  76. bottom: -40px;
  77. right: 0;
  78. }
  79. .quote footer img {
  80. border-radius: 3px;
  81. }
  82. .quote footer a {
  83. margin-left: 5px;
  84. vertical-align: middle;
  85. }
  86. .speech-bubble {
  87. position: relative;
  88. padding: 10px;
  89. background: rgba(0, 0, 0, .04);
  90. border-radius: 5px;
  91. }
  92. .speech-bubble:after {
  93. content: '';
  94. position: absolute;
  95. top: 100%;
  96. right: 30px;
  97. border: 13px solid transparent;
  98. border-top-color: rgba(0, 0, 0, .04);
  99. }
  100. .learn-bar > .learn {
  101. position: absolute;
  102. width: 272px;
  103. top: 8px;
  104. left: -300px;
  105. padding: 10px;
  106. border-radius: 5px;
  107. background-color: rgba(255, 255, 255, .6);
  108. transition-property: left;
  109. transition-duration: 500ms;
  110. }
  111. @media (min-width: 899px) {
  112. .learn-bar {
  113. width: auto;
  114. padding-left: 300px;
  115. }
  116. .learn-bar > .learn {
  117. left: 8px;
  118. }
  119. }