_content.scss 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366
  1. /*************************************************
  2. * Page content
  3. **************************************************/
  4. article {
  5. animation: intro 0.3s both;
  6. animation-delay: 0.15s;
  7. }
  8. .article-container {
  9. max-width: 760px;
  10. padding: 0 20px 0 20px;
  11. margin: 0 auto 0 auto;
  12. }
  13. .split-header {
  14. margin-bottom: 2rem;
  15. }
  16. .split-header .share-box {
  17. float: left;
  18. }
  19. .page-subtitle {
  20. font-size: 1.15rem;
  21. color: rgba(0,0,0,.54);
  22. margin-bottom: 1rem;
  23. }
  24. .dark .page-subtitle {
  25. color: rgba(255,255,255,0.54);
  26. }
  27. .split-header .page-subtitle {
  28. margin-bottom: 1.5rem;
  29. }
  30. .split-header-content {
  31. max-width: 612px;
  32. width: 100%;
  33. padding: 60px 60px 32px 0;
  34. margin-left: auto;
  35. -webkit-box-sizing: border-box;
  36. box-sizing: border-box;
  37. }
  38. .split-header-image {
  39. position: relative; /* Required for caption positioning */
  40. clear: both;
  41. max-width: 580px;
  42. }
  43. .article-header {
  44. position: relative; /* Required for caption positioning */
  45. clear: both;
  46. }
  47. .article-banner {
  48. width: 100%;
  49. height: auto;
  50. }
  51. .featured-image {
  52. width: 100%;
  53. background-position: left;
  54. background-origin: border-box;
  55. background-size: cover;
  56. height: 60vh;
  57. min-height: 500px;
  58. -webkit-box-flex: 1;
  59. -webkit-flex: 1 0 auto;
  60. -ms-flex: 1 0 auto;
  61. flex: 1 0 auto
  62. }
  63. @media screen and (max-width: 1199px) {
  64. .featured-image {
  65. min-height: 400px;
  66. height: auto;
  67. }
  68. }
  69. @media screen and (max-width: 767px) {
  70. .featured-image {
  71. min-height: 300px;
  72. }
  73. }
  74. .article-header-caption {
  75. position: absolute;
  76. bottom: 0;
  77. right: 0;
  78. margin: 0 auto;
  79. padding: 2px 5px;
  80. color: #fff;
  81. font-size: .7em;
  82. background: #000;
  83. text-align: right;
  84. z-index: 5;
  85. opacity: 0.65;
  86. border-radius: 5px 0 0 0;
  87. }
  88. @media (min-width: 64em) {
  89. .article-header-caption {
  90. padding: 5px 10px;
  91. }
  92. }
  93. .article-header-caption a {
  94. color: #fff;
  95. text-decoration: none;
  96. }
  97. .article-title {
  98. font-size: 1.75rem;
  99. }
  100. .article-title a {
  101. color: #151515;
  102. transition: color 0.6s ease;
  103. }
  104. .text-muted {
  105. color: rgba(0,0,0,0.54); /* Override Bootstrap */
  106. }
  107. .dark .text-muted {
  108. color: rgba(255,255,255,0.54);
  109. }
  110. .article-metadata {
  111. margin-bottom: 15px;
  112. overflow: hidden;
  113. font-size: 14px;
  114. letter-spacing: 0.03em;
  115. color: rgba(0,0,0,0.54);
  116. }
  117. .dark .article-metadata {
  118. color: rgba(255,255,255,0.54);
  119. }
  120. .stream-meta.article-metadata {
  121. margin-bottom: 5px;
  122. }
  123. /* For article page only, not lists. */
  124. article .article-metadata {
  125. margin-bottom: 20px;
  126. line-height: 30px; /* Match share bar line height. */
  127. }
  128. .article-metadata a {
  129. color: rgba(0,0,0,.54);
  130. }
  131. .dark .article-metadata a {
  132. color: rgba(255,255,255,0.54);
  133. }
  134. .article-metadata a:hover {
  135. color: $sta-primary;
  136. }
  137. .middot-divider {
  138. padding-right: .45em;
  139. padding-left: .45em;
  140. font-size: 15px;
  141. }
  142. .middot-divider::after {
  143. content: '\00B7';
  144. }
  145. .article-style img,
  146. .article-style video {
  147. margin-left: auto;
  148. margin-right: auto;
  149. margin-top: 2rem;
  150. margin-bottom: 2rem;
  151. padding: 0;
  152. }
  153. .article-style td img,
  154. .article-style td video {
  155. margin-top: 0;
  156. margin-bottom: 0;
  157. }
  158. .article-style figure {
  159. margin-top: 2rem;
  160. margin-bottom: 2rem;
  161. }
  162. .article-style figure img {
  163. margin-top: 0;
  164. margin-bottom: 0;
  165. }
  166. .article-widget {
  167. padding-top: 1rem;
  168. }
  169. .article-widget h3 {
  170. margin-top: 0;
  171. }
  172. .hr-light {
  173. border-top: 1px solid rgba(0,0,0,.05);
  174. margin-top: 0.5rem;
  175. margin-bottom: 1rem;
  176. }
  177. #comments {
  178. padding-top: 1rem;
  179. }
  180. /*************************************************
  181. * Publications
  182. **************************************************/
  183. .pub-banner {
  184. max-width: 100%;
  185. height: auto;
  186. margin-left: auto;
  187. margin-right: auto;
  188. }
  189. .pub-row-heading {
  190. font-weight: bold;
  191. }
  192. #container-publications {
  193. display: block;
  194. position: relative;
  195. overflow: hidden;
  196. }
  197. .li-cite-author {
  198. font-size: 1em;
  199. color: inherit;
  200. }
  201. .li-cite-author a {
  202. color: inherit;
  203. }
  204. .dark .li-cite-author a {
  205. color: rgb(248, 248, 242);
  206. }
  207. /*************************************************
  208. * Author profile card
  209. **************************************************/
  210. .author-card {
  211. margin-top: 1rem;
  212. padding-top: 1rem;
  213. border-top: 1px solid rgba(0,0,0,.05);
  214. }
  215. .dark .author-card {
  216. border-top: 1px solid rgba(255,255,255,.05);
  217. }
  218. .author-card .portrait {
  219. width: 60px;
  220. height: 60px;
  221. margin: 0 auto;
  222. border-radius: 50%;
  223. object-fit: cover;
  224. }
  225. .author-card .card-title {
  226. margin-top: 0;
  227. margin-bottom: 15px;
  228. font-weight: 600;
  229. color: rgba(0, 0, 0, 0.84);
  230. }
  231. .author-card .card-title a {
  232. color: rgba(0, 0, 0, 0.84);
  233. }
  234. .dark .author-card .card-title,
  235. .dark .author-card .card-title a {
  236. color: rgba(255, 255, 255, 0.84);
  237. }
  238. .author-card p {
  239. margin-bottom: 5px;
  240. }
  241. .author-card .card-subtitle {
  242. font-weight: 300;
  243. font-size: 0.8rem;
  244. color: rgba(0, 0, 0, 0.54);
  245. margin-bottom: 7px;
  246. }
  247. .dark .author-card .card-subtitle {
  248. color: rgba(255, 255, 255, 0.54);
  249. }
  250. .author-card .card-text {
  251. color: rgba(0, 0, 0, 0.76);
  252. font-size: 0.8rem;
  253. margin-bottom: 4px;
  254. }
  255. .dark .author-card .card-text {
  256. color: rgba(255, 255, 255, 0.76);
  257. }
  258. /*************************************************
  259. * Sharing
  260. **************************************************/
  261. .share-box {
  262. float: right;
  263. }
  264. ul.share {
  265. display: flex;
  266. flex-direction: row;
  267. flex-wrap: wrap;
  268. list-style: none;
  269. margin: 0;
  270. padding: 0;
  271. }
  272. ul.share li {
  273. display: inline-flex;
  274. margin-right: 5px;
  275. }
  276. ul.share li:last-of-type {
  277. margin-right: 0;
  278. }
  279. ul.share li i {
  280. display: block;
  281. width: 30px;
  282. height: 30px;
  283. line-height: 30px;
  284. font-size: 16px;
  285. text-align: center;
  286. transition: all 150ms ease-in-out;
  287. color: #fff;
  288. }
  289. .dark ul.share li i {
  290. color: rgb(68, 71, 90);
  291. }
  292. ul.share li a {
  293. background-color: #b5c6ce;
  294. display: block;
  295. border-radius: 50%;
  296. text-decoration: none !important;
  297. margin: 0;
  298. }
  299. ul.share li:hover i {
  300. transform: scale(1.4)
  301. }