large.less 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552
  1. @icon-height: 20px;
  2. @icon-offset: 0px;
  3. .loop-wrapper {
  4. &.regular {
  5. .list-item {
  6. &:first-child {
  7. .post-row {
  8. padding-top: 0px;
  9. }
  10. }
  11. .post-content-outer {
  12. box-sizing: border-box;
  13. order: 3;
  14. flex: 12.5 1;
  15. }
  16. h2 {
  17. margin: 0px 0px 10px 0px;
  18. }
  19. .media-inner {
  20. > div {
  21. margin: 0;
  22. }
  23. }
  24. .post-meta {
  25. width: 100% !important;
  26. margin-top: 10px !important;
  27. a {
  28. margin-left: 5px;
  29. .vamtam-font(h6-);
  30. font-weight: normal;
  31. text-transform: uppercase;
  32. }
  33. }
  34. .post-row {
  35. display: flex;
  36. flex-wrap: wrap;
  37. padding-top: 60px;
  38. .media-inner {
  39. background-color: var( --vamtam-accent-color-5 );
  40. transition: background .4s ease-out;
  41. > img {
  42. -webkit-backface-visibility: hidden;
  43. transition: opacity .4s;
  44. }
  45. > img,
  46. > a > img.wp-post-image {
  47. width: 100%;
  48. }
  49. }
  50. }
  51. }
  52. .sticky {
  53. background: var( --vamtam-accent-color-5 );
  54. padding: 40px 40px 40px 20px;
  55. border-bottom: 10px solid var( --vamtam-accent-color-1 );
  56. border-radius: var( --vamtam-border-radius );
  57. box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.1);
  58. box-sizing: border-box;
  59. }
  60. }
  61. .post-actions-wrapper {
  62. height: auto;
  63. width: 100%;
  64. padding-bottom: 10px;
  65. text-transform: uppercase;
  66. display: flex;
  67. align-items: center;
  68. .comment-word {
  69. display: none;
  70. }
  71. a {
  72. .vamtam-font(h6-);
  73. transition: all .3s ease;
  74. color: var( --vamtam-accent-color-6 );
  75. opacity: 0.5;
  76. border: var( --vamtam-no-border-link );
  77. &:hover {
  78. opacity: 1;
  79. color: var( --vamtam-body-link-hover );
  80. .icon {
  81. color: var( --vamtam-body-link-hover );
  82. }
  83. }
  84. }
  85. .author a .icon {
  86. display: none;
  87. }
  88. div:nth-child(2),
  89. div:nth-child(3) {
  90. &:before {
  91. content: "°";
  92. font-size: 14px;
  93. padding-left: 5px;
  94. padding-right: 1px;
  95. line-height: 1.0em;
  96. vertical-align: bottom;
  97. padding-bottom: 14px;
  98. color: var( --vamtam-accent-color-4 );
  99. }
  100. }
  101. .post-edit-link {
  102. margin-left: 10px;
  103. }
  104. }
  105. .layout-left-right &.regular {
  106. .list-item {
  107. .post-media {
  108. order: -1;
  109. flex-basis: 100%;
  110. padding-bottom: 30px;
  111. }
  112. .post-content-outer {
  113. max-width: 100%;
  114. }
  115. }
  116. }
  117. .post-row:hover {
  118. .media-inner > img {
  119. opacity: 0.8;
  120. -webkit-backface-visibility: hidden;
  121. }
  122. }
  123. .vamtam-meta-author {
  124. display: inline-block;
  125. padding: 0px;
  126. }
  127. .vamtam-meta-comments {
  128. display: inline-block;
  129. }
  130. .list-item {
  131. margin-bottom: 0;
  132. &:last-child {
  133. border-bottom: 0;
  134. }
  135. &:hover {
  136. .vamtam-meta-author,
  137. .vamtam-meta-comments {
  138. opacity: 1;
  139. }
  140. }
  141. .post-content-outer {
  142. .post-content {
  143. > ol, > ul {
  144. &:last-child {
  145. margin-bottom: 1em;
  146. }
  147. }
  148. }
  149. }
  150. .post-media {
  151. min-width: 37%;
  152. max-width: 37%;
  153. flex: 0 1 ;
  154. order: 2;
  155. margin: 0px;
  156. margin-bottom: 20px;
  157. margin-top: 0px;
  158. padding-right: 5%;
  159. .media-inner {
  160. display: block;
  161. }
  162. }
  163. .post-article {
  164. display: block;
  165. }
  166. }
  167. header {
  168. position: relative;
  169. }
  170. .page-content {
  171. position: relative;
  172. }
  173. .post-article {
  174. display: inline-block;
  175. margin: 0;
  176. width: 100%;
  177. p {
  178. font-size: inherit;
  179. }
  180. .post-content-outer {
  181. .post-meta {
  182. overflow: hidden;
  183. margin: 40px 0 10px 0;
  184. text-align: center;
  185. clear: both;
  186. nav > div:not(.post-actions),
  187. .post-actions > div,
  188. .post-edit-link {
  189. .vamtam-font(h6-);
  190. float: left;
  191. padding-right: 20px;
  192. margin-bottom: 10px;
  193. min-height: 20px;
  194. line-height: 20px;
  195. text-align: left;
  196. > span.icon {
  197. color: var( --vamtam-accent-color-4 );
  198. font-family: "theme" !important;
  199. }
  200. &.blog-buttons {
  201. padding-top: 24px;
  202. border-right: none !important;
  203. a {
  204. position: relative;
  205. &:after {
  206. position: absolute;
  207. top: -25px;
  208. right: -20px;
  209. width: 1px;
  210. height: 300%;
  211. border-right: 1px solid var( --vamtam-accent-color-7 );
  212. content: "";
  213. }
  214. }
  215. }
  216. }
  217. span.icon {
  218. display: inline-block;
  219. overflow: hidden;
  220. text-align: center;
  221. width: auto;
  222. vertical-align: top;
  223. font-size: 18px;
  224. line-height: 18px;
  225. padding-top: 2px;
  226. font-family: "theme" !important;
  227. color: var( --vamtam-accent-color-2 );
  228. }
  229. .post-actions {
  230. float: right;
  231. }
  232. }
  233. }
  234. }
  235. &.news {
  236. .audio-post-format {
  237. .post-media {
  238. margin: 0px;
  239. }
  240. }
  241. .post-media {
  242. max-width: 100%;
  243. padding: 0px;
  244. }
  245. }
  246. }
  247. .page-content {
  248. label[for|=pwbox] {
  249. position: relative;
  250. top: -3px;
  251. display: inline-block !important;
  252. font-size: 0 !important;
  253. input {
  254. font-size: var( --vamtam-primary-font-font-size ) !important;
  255. &[type=password] {
  256. padding: 14px;
  257. top: -1px;
  258. margin: 0;
  259. font-size: 8px;
  260. line-height: 17px;
  261. }
  262. }
  263. }
  264. }
  265. .post-article {
  266. header {
  267. &.sep-text.single {
  268. .content {
  269. text-align: left;
  270. white-space: normal;
  271. }
  272. .sep-text-after {
  273. display: none;
  274. }
  275. }
  276. h4 {
  277. margin: 0px 0px 10px 0px;
  278. }
  279. }
  280. .vamtam-button-wrap {
  281. margin: 0px 0px 30px 30px;
  282. }
  283. .post-subheader {
  284. display: table;
  285. width: 100%;
  286. font-size: 14px;
  287. .post-date {
  288. display: table-cell;
  289. margin: 0;
  290. padding-right: 1em;
  291. text-transform: uppercase;
  292. white-space: nowrap;
  293. font-size: 11px;
  294. line-height: 1;
  295. }
  296. .post-date-after {
  297. display: table-cell;
  298. overflow: visible;
  299. width: 100%;
  300. vertical-align: top;
  301. white-space: nowrap;
  302. &:after {
  303. display: inline-block;
  304. width: 100%;
  305. height: 1ex;
  306. border-bottom: 1px solid var( --vamtam-default-line-color );
  307. content: "";
  308. vertical-align: top;
  309. }
  310. }
  311. }
  312. .post-media {
  313. text-align: center;
  314. max-width: 1120px;
  315. margin: auto;
  316. .media-inner {
  317. position: relative;
  318. min-height: @icon-height + @icon-offset * 2;
  319. > div {
  320. max-width: none !important;
  321. width: auto !important;
  322. }
  323. > img,
  324. > a img {
  325. transition: all .3s;
  326. width: 100%;
  327. }
  328. }
  329. }
  330. .blog-buttons {
  331. text-align: center;
  332. &:after {
  333. display: block;
  334. clear: both;
  335. content: "";
  336. }
  337. a {
  338. display: inline-block;
  339. margin: 0 auto;
  340. .icon {
  341. margin: 0 8px 0 0;
  342. padding: 0;
  343. color: var( --vamtam-accent-color-1 );
  344. font-size: 16px;
  345. }
  346. }
  347. }
  348. ///////////////////
  349. // media posts //
  350. ///////////////////
  351. .audio-post-format {
  352. .media-inner {
  353. display: block;
  354. }
  355. }
  356. /* Quote Post ----------------------------------------------------------- */
  357. .quote-post-format {
  358. blockquote.large {
  359. padding: 0;
  360. overflow: visible;
  361. text-align: left;
  362. .quote-text {
  363. &, p {
  364. .vamtam-font(h3-);
  365. }
  366. }
  367. }
  368. .cite {
  369. img {
  370. border-bottom: 1px solid var( --vamtam-accent-color-7 );
  371. padding-bottom: 10px;
  372. margin-bottom: 10px;
  373. + .quote-author {
  374. display: block;
  375. }
  376. }
  377. }
  378. }
  379. /* Aside Post ----------------------------------------------------------- */
  380. .aside-post-format {
  381. .post-content-outer {
  382. padding-top: 0;
  383. }
  384. }
  385. /* Status Post ----------------------------------------------------------- */
  386. .status-post-format {
  387. .the-content {
  388. padding-right: calc( var( --vamtam-small-padding ) + 16px ) !important;
  389. }
  390. }
  391. /* Gallery Post --------------------------------------------------------- */
  392. .gallery-post-format {
  393. .post-media {
  394. position: relative;
  395. text-align: center;
  396. .button {
  397. position: absolute;
  398. bottom: var( --vamtam-horizontal-padding );
  399. left: 50%;
  400. z-index: 5;
  401. margin-left: -var( --vamtam-horizontal-padding );
  402. padding: 0.7em 0.7em 0.75em;
  403. span {
  404. &:after {
  405. border: none !important;
  406. }
  407. }
  408. &:hover {
  409. text-decoration: none;
  410. }
  411. }
  412. .media-inner {
  413. display: block;
  414. }
  415. }
  416. }
  417. .excerpt-more {
  418. float: left;
  419. margin-top: -.6em;
  420. }
  421. .status-post-format,
  422. .aside-post-format,
  423. .link-post-format {
  424. .post-subheader {
  425. margin-bottom: 0 !important;
  426. }
  427. .post-media {
  428. margin-top: var( --vamtam-small-padding );
  429. }
  430. }
  431. .link-post-format {
  432. .post-media {
  433. margin-top: 0;
  434. }
  435. }
  436. .video-post-format {
  437. .media-inner {
  438. iframe {
  439. height: 360px;
  440. }
  441. }
  442. }
  443. }
  444. .vamtam-related-content {
  445. clear: both;
  446. position: relative;
  447. padding-top: 40px;
  448. padding-bottom: 50px;
  449. border-top: solid 1px var( --vamtam-default-line-color );
  450. &.related-portfolios .excerpt {
  451. display: none;
  452. }
  453. &.related-posts {
  454. padding-bottom: 35px;
  455. .related-content-title {
  456. padding-bottom: 25px;
  457. }
  458. }
  459. }
  460. .header-middle {
  461. .limit-wrapper {
  462. .news.scroll-x {
  463. padding-top: 10px !important;
  464. }
  465. }
  466. }