The code powering m.abunchtell.com https://m.abunchtell.com
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 

781 rinda
16 KiB

  1. .about-body {
  2. .wrapper {
  3. max-width: 600px;
  4. margin: 0 auto;
  5. color: $ui-primary-color;
  6. padding-top: 50px;
  7. padding-bottom: 50px;
  8. &.thicc {
  9. max-width: 800px;
  10. }
  11. }
  12. h1 {
  13. font: 46px/52px 'mastodon-font-sans-serif', sans-serif;
  14. font-weight: 600;
  15. margin-bottom: 20px;
  16. color: $ui-highlight-color;
  17. padding: 20px 0;
  18. img {
  19. margin-bottom: -5px;
  20. margin-right: 5px;
  21. width: 46px;
  22. height: 46px;
  23. }
  24. }
  25. h2 {
  26. font-family: 'mastodon-font-display', sans-serif;
  27. font-size: 24px;
  28. line-height: 28px;
  29. font-weight: 400;
  30. margin-bottom: 20px;
  31. color: $primary-text-color;
  32. }
  33. h3 {
  34. font-family: 'mastodon-font-display', sans-serif;
  35. font-size: 20px;
  36. line-height: 28px;
  37. font-weight: 400;
  38. margin-bottom: 20px;
  39. color: $ui-secondary-color;
  40. }
  41. ul,
  42. ol {
  43. list-style: inherit;
  44. margin-left: 20px;
  45. &[type='a'] {
  46. list-style-type: lower-alpha;
  47. }
  48. &[type='i'] {
  49. list-style-type: lower-roman;
  50. }
  51. }
  52. li > ol,
  53. li > ul {
  54. margin-top: 20px;
  55. }
  56. p,
  57. li {
  58. font: 16px/28px 'mastodon-font-sans-serif', sans-serif;
  59. font-weight: 400;
  60. margin-bottom: 12px;
  61. a {
  62. color: $ui-highlight-color;
  63. text-decoration: underline;
  64. }
  65. }
  66. em {
  67. display: inline-block;
  68. padding: 7px 7px 5px;
  69. margin: 0 2px;
  70. background: $ui-primary-color;
  71. color: $ui-base-color;
  72. font: 16px/16px 'mastodon-font-sans-serif', sans-serif;
  73. font-weight: 300;
  74. }
  75. .screenshot {
  76. box-shadow: 0 0 15px rgba($base-shadow-color, 0.4);
  77. margin-bottom: 26px;
  78. img {
  79. max-width: 100%;
  80. height: auto;
  81. display: block;
  82. }
  83. }
  84. .actions {
  85. overflow: hidden;
  86. margin-bottom: 20px;
  87. .info {
  88. float: right;
  89. text-align: right;
  90. line-height: 36px;
  91. a {
  92. color: $ui-primary-color;
  93. text-decoration: underline;
  94. }
  95. }
  96. }
  97. @media screen and (max-width: 625px) {
  98. .wrapper {
  99. padding: 20px;
  100. }
  101. }
  102. }
  103. .information-board {
  104. background: darken($ui-base-color, 4%);
  105. padding: 20px 0;
  106. .panel {
  107. position: absolute;
  108. width: 280px;
  109. box-sizing: border-box;
  110. background: darken($ui-base-color, 8%);
  111. padding: 20px;
  112. padding-top: 10px;
  113. border-radius: 4px 4px 0 0;
  114. right: 0;
  115. bottom: -40px;
  116. .panel-header {
  117. font-family: 'mastodon-font-display', sans-serif;
  118. font-size: 14px;
  119. line-height: 24px;
  120. font-weight: 500;
  121. color: $ui-base-lighter-color;
  122. padding-bottom: 5px;
  123. margin-bottom: 15px;
  124. border-bottom: 1px solid lighten($ui-base-color, 4%);
  125. text-overflow: ellipsis;
  126. white-space: nowrap;
  127. overflow: hidden;
  128. span {
  129. font-weight: 400;
  130. color: lighten($ui-base-color, 34%);
  131. }
  132. }
  133. }
  134. .container {
  135. position: relative;
  136. padding-right: 280px + 15px;
  137. }
  138. .information-board-sections {
  139. display: flex;
  140. justify-content: space-between;
  141. flex-wrap: wrap;
  142. }
  143. .section {
  144. flex: 1 0 0;
  145. font: 16px/28px 'mastodon-font-sans-serif', sans-serif;
  146. text-align: right;
  147. padding: 10px 15px;
  148. span,
  149. strong {
  150. display: block;
  151. }
  152. span {
  153. font-size: 16px;
  154. &:last-child {
  155. color: $ui-secondary-color;
  156. }
  157. }
  158. strong {
  159. font-weight: 500;
  160. font-size: 32px;
  161. line-height: 48px;
  162. color: $primary-text-color;
  163. }
  164. }
  165. }
  166. .owner {
  167. text-align: center;
  168. .avatar {
  169. width: 80px;
  170. height: 80px;
  171. margin: 0 auto;
  172. margin-bottom: 15px;
  173. img {
  174. display: block;
  175. width: 80px;
  176. height: 80px;
  177. border-radius: 48px;
  178. }
  179. }
  180. .name {
  181. font-size: 14px;
  182. a {
  183. display: block;
  184. color: $primary-text-color;
  185. text-decoration: none;
  186. &:hover {
  187. .display_name {
  188. text-decoration: underline;
  189. }
  190. }
  191. }
  192. .username {
  193. display: block;
  194. color: $ui-primary-color;
  195. }
  196. }
  197. }
  198. .features-list__row {
  199. display: flex;
  200. padding: 10px 0;
  201. justify-content: space-between;
  202. &:first-child {
  203. padding-top: 0;
  204. }
  205. .visual {
  206. flex: 0 0 auto;
  207. display: flex;
  208. align-items: center;
  209. margin-left: 15px;
  210. .fa {
  211. display: block;
  212. color: $ui-primary-color;
  213. font-size: 48px;
  214. }
  215. }
  216. .text {
  217. font-size: 16px;
  218. line-height: 30px;
  219. color: $ui-base-lighter-color;
  220. h6 {
  221. font-weight: 500;
  222. color: $ui-primary-color;
  223. }
  224. }
  225. }
  226. .landing-page {
  227. .header-wrapper {
  228. padding-top: 15px;
  229. background: $ui-base-color;
  230. background: linear-gradient(150deg, lighten($ui-base-color, 8%), $ui-base-color);
  231. position: relative;
  232. &.compact {
  233. background: $ui-base-color;
  234. padding-bottom: 15px;
  235. .hero .heading {
  236. padding-bottom: 30px;
  237. }
  238. }
  239. .mascot-container {
  240. max-width: 800px;
  241. margin: 0 auto;
  242. position: absolute;
  243. top: 0;
  244. left: 0;
  245. right: 0;
  246. height: 100%;
  247. }
  248. .mascot {
  249. position: absolute;
  250. bottom: -14px;
  251. width: auto;
  252. height: auto;
  253. left: 60px;
  254. z-index: 3;
  255. }
  256. }
  257. p,
  258. li {
  259. font: inherit;
  260. font-weight: inherit;
  261. margin-bottom: 0;
  262. }
  263. hr {
  264. border-color: rgba($ui-base-lighter-color, .6);
  265. }
  266. .header {
  267. line-height: 30px;
  268. overflow: hidden;
  269. .container {
  270. display: flex;
  271. justify-content: space-between;
  272. }
  273. .hero {
  274. margin-top: 50px;
  275. align-items: center;
  276. position: relative;
  277. .floats {
  278. position: absolute;
  279. width: 100%;
  280. height: 100%;
  281. top: 0;
  282. left: 0;
  283. div {
  284. position: absolute;
  285. transition: all 0.1s linear;
  286. animation-name: floating;
  287. animation-iteration-count: infinite;
  288. animation-direction: alternate;
  289. animation-timing-function: ease-in-out;
  290. z-index: 2;
  291. }
  292. .float-1 {
  293. width: 324px;
  294. height: 170px;
  295. right: -120px;
  296. bottom: 0;
  297. animation-duration: 3s;
  298. background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 447.1875 234.375" height="170" width="324"><path fill="#{hex-color($ui-base-lighter-color)}" d="M21.69 233.366c-6.45-1.268-13.347-5.63-16.704-10.564-10.705-15.734-1.513-37.724 18.632-44.57l4.8-1.632.173-17.753c.146-14.77.515-19.063 2.2-25.55 6.736-25.944 24.46-46.032 47.766-54.137 11.913-4.143 19.558-5.366 34.178-5.47l13.828-.096V71.12c0-4.755 2.853-17.457 5.238-23.327 8.588-21.137 26.735-35.957 52.153-42.593 23.248-6.07 50.153-6.415 71.863-.923 11.14 2.82 25.686 9.957 33.857 16.615 19.335 15.756 31.82 41.05 35.183 71.275.59 5.305.672 5.435 3.11 4.926 11.833-2.474 30.4-3.132 40.065-1.42 24.388 4.32 40.568 19.076 47.214 43.058 2.16 7.8 3.953 23.894 3.59 32.237l-.24 5.498 5.156 1.317c6.392 1.633 14.55 7.098 18.003 12.062 1.435 2.062 3.305 6.597 4.156 10.078 1.428 5.84 1.43 6.8.04 12.44-1.807 7.318-5.672 13.252-10.872 16.694-8.508 5.63 3.756 5.33-211.916 5.216-108.56-.056-199.22-.464-201.47-.906z"/></svg>');
  299. }
  300. .float-2 {
  301. width: 241px;
  302. height: 100px;
  303. right: 210px;
  304. bottom: 0;
  305. animation-duration: 3.5s;
  306. animation-delay: 0.2s;
  307. background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 536.25 222.1875" height="100" width="241"><path fill="#{hex-color($ui-base-lighter-color)}" d="M42.626 221.23c-14.104-1.174-26.442-5.133-32.825-10.534-4.194-3.548-7.684-10.66-8.868-18.075-1.934-12.102.633-22.265 7.528-29.81 7.61-8.328 19.998-12.76 39.855-14.257l8.47-.638-2.08-6.223c-4.826-14.422-6.357-24.813-6.37-43.255-.012-14.923.28-18.513 2.1-25.724 2.283-9.048 8.483-23.034 13.345-30.1 14.76-21.45 43.505-38.425 70.535-41.65 30.628-3.655 64.47 12.073 89.668 41.673l5.955 6.995 2.765-4.174c1.52-2.296 5.74-6.93 9.376-10.295 18.382-17.02 43.436-20.676 73.352-10.705 12.158 4.052 21.315 9.53 29.64 17.733 12.752 12.562 18.16 25.718 18.19 44.26l.02 10.98 2.312-3.01c15.64-20.365 42.29-20.485 62.438-.28 3.644 3.653 7.558 8.593 8.697 10.976 4.895 10.24 5.932 25.688 2.486 37.046-.76 2.507-1.388 4.816-1.393 5.13-.006.316 6.845.87 15.224 1.234 53.06 2.297 76.356 12.98 81.817 37.526 3.554 15.973-3.71 28.604-19.566 34.02-4.554 1.555-17.922 1.655-234.517 1.757-126.327.06-233.497-.21-238.154-.597z"/></svg>');
  308. }
  309. .float-3 {
  310. width: 267px;
  311. height: 140px;
  312. right: 110px;
  313. top: -30px;
  314. animation-duration: 4s;
  315. animation-delay: 0.5s;
  316. background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 388.125 202.5" height="140" width="267"><path fill="#{hex-color($ui-base-lighter-color)}" d="M181.37 201.458c-17.184-1.81-36.762-8.944-49.523-18.05l-5.774-4.12-8.074 2.63c-11.468 3.738-21.382 4.962-35.815 4.422-14.79-.554-24.577-2.845-36.716-8.594-15.483-7.332-28.498-19.98-35.985-34.968C2.44 128.675-.94 108.435.9 91.356c3.362-31.234 18.197-53.698 43.63-66.074 12.803-6.23 22.384-8.55 37.655-9.122 14.433-.54 24.347.684 35.814 4.42l8.073 2.633 5.635-4.01c24.81-17.656 60.007-23.332 92.914-14.985 10.11 2.565 25.498 9.62 33.102 15.178l5.068 3.704 7.632-2.564c10.89-3.66 21.086-4.916 35.516-4.376 45.816 1.716 76.422 30.03 81.285 75.196 1.84 17.08-1.54 37.32-8.585 51.422-7.487 14.99-20.502 27.636-35.984 34.968-12.14 5.75-21.926 8.04-36.716 8.593-14.43.54-24.626-.716-35.516-4.376l-7.632-2.564-5.068 3.704c-12.844 9.387-32.714 16.488-51.545 18.42-10.607 1.09-13.916 1.08-24.81-.066z"/></svg>');
  317. }
  318. }
  319. .simple_form,
  320. .closed-registrations-message {
  321. background: darken($ui-base-color, 4%);
  322. width: 280px;
  323. padding: 15px 20px;
  324. border-radius: 4px 4px 0 0;
  325. line-height: initial;
  326. position: relative;
  327. z-index: 4;
  328. .actions {
  329. margin-bottom: 0;
  330. button,
  331. .button,
  332. .block-button {
  333. margin-bottom: 0;
  334. }
  335. }
  336. }
  337. .heading {
  338. position: relative;
  339. z-index: 4;
  340. padding-bottom: 150px;
  341. }
  342. .closed-registrations-message {
  343. min-height: 330px;
  344. display: flex;
  345. flex-direction: column;
  346. justify-content: space-between;
  347. }
  348. }
  349. ul {
  350. list-style: none;
  351. margin: 0;
  352. li {
  353. display: inline-block;
  354. vertical-align: bottom;
  355. margin: 0;
  356. &:first-child a {
  357. padding-left: 0;
  358. }
  359. &:last-child a {
  360. padding-right: 0;
  361. }
  362. }
  363. }
  364. .links {
  365. position: relative;
  366. z-index: 4;
  367. a {
  368. display: flex;
  369. justify-content: center;
  370. align-items: center;
  371. color: $ui-primary-color;
  372. text-decoration: none;
  373. padding: 12px 16px;
  374. line-height: 32px;
  375. font-family: 'mastodon-font-display', sans-serif;
  376. font-weight: 500;
  377. font-size: 14px;
  378. &:hover {
  379. color: $ui-secondary-color;
  380. }
  381. }
  382. .brand {
  383. a {
  384. padding-left: 0;
  385. padding-right: 0;
  386. color: $white;
  387. }
  388. img {
  389. height: 32px;
  390. position: relative;
  391. top: 4px;
  392. left: -10px;
  393. }
  394. }
  395. }
  396. }
  397. .container {
  398. width: 100%;
  399. box-sizing: border-box;
  400. max-width: 800px;
  401. margin: 0 auto;
  402. }
  403. .wrapper {
  404. max-width: 800px;
  405. margin: 0 auto;
  406. padding: 0;
  407. }
  408. .learn-more-cta {
  409. background: darken($ui-base-color, 4%);
  410. padding: 50px 0;
  411. }
  412. .extended-description {
  413. padding: 50px 0;
  414. ul,
  415. ol {
  416. list-style: inherit;
  417. margin-left: 20px;
  418. &[type='a'] {
  419. list-style-type: lower-alpha;
  420. }
  421. &[type='i'] {
  422. list-style-type: lower-roman;
  423. }
  424. }
  425. li > ol,
  426. li > ul {
  427. margin-top: 20px;
  428. }
  429. p,
  430. li {
  431. font: 16px/28px 'mastodon-font-sans-serif', sans-serif;
  432. font-weight: 400;
  433. margin-bottom: 12px;
  434. color: $ui-base-lighter-color;
  435. a {
  436. color: $ui-highlight-color;
  437. text-decoration: underline;
  438. }
  439. }
  440. }
  441. h3 {
  442. font-family: 'mastodon-font-display', sans-serif;
  443. font-size: 16px;
  444. line-height: 24px;
  445. font-weight: 500;
  446. margin-bottom: 20px;
  447. color: $ui-primary-color;
  448. }
  449. p {
  450. font-size: 16px;
  451. line-height: 30px;
  452. color: $ui-base-lighter-color;
  453. }
  454. .features {
  455. padding: 50px 0;
  456. .container {
  457. display: flex;
  458. }
  459. }
  460. #mastodon-timeline {
  461. display: flex;
  462. -webkit-overflow-scrolling: touch;
  463. -ms-overflow-style: -ms-autohiding-scrollbar;
  464. font-family: 'mastodon-font-sans-serif', sans-serif;
  465. font-size: 13px;
  466. line-height: 18px;
  467. font-weight: 400;
  468. color: $primary-text-color;
  469. width: 330px;
  470. margin-right: 30px;
  471. flex: 0 0 auto;
  472. background: $ui-base-color;
  473. overflow: hidden;
  474. box-shadow: 0 0 6px rgba($black, 0.1);
  475. .column-header {
  476. color: inherit;
  477. font-family: inherit;
  478. font-size: 16px;
  479. line-height: inherit;
  480. font-weight: inherit;
  481. margin: 0;
  482. padding: 15px;
  483. }
  484. .column {
  485. padding: 0;
  486. border-radius: 4px;
  487. overflow: hidden;
  488. }
  489. .scrollable {
  490. height: 400px;
  491. }
  492. p {
  493. font-size: inherit;
  494. line-height: inherit;
  495. font-weight: inherit;
  496. color: $primary-text-color;
  497. margin-bottom: 20px;
  498. &:last-child {
  499. margin-bottom: 0;
  500. }
  501. a {
  502. color: $ui-secondary-color;
  503. text-decoration: none;
  504. }
  505. }
  506. }
  507. .about-mastodon {
  508. max-width: 675px;
  509. p {
  510. margin-bottom: 20px;
  511. }
  512. .features-list {
  513. margin-top: 20px;
  514. }
  515. }
  516. em {
  517. display: inline;
  518. margin: 0;
  519. padding: 0;
  520. font-weight: 500;
  521. background: transparent;
  522. font-family: inherit;
  523. font-size: inherit;
  524. line-height: inherit;
  525. color: $ui-primary-color;
  526. }
  527. h1 {
  528. font-family: 'mastodon-font-display', sans-serif;
  529. font-size: 26px;
  530. line-height: 30px;
  531. margin-bottom: 0;
  532. font-weight: 500;
  533. color: $ui-secondary-color;
  534. small {
  535. font-family: 'mastodon-font-sans-serif', sans-serif;
  536. display: block;
  537. font-size: 18px;
  538. font-weight: 400;
  539. color: $ui-base-lighter-color;
  540. }
  541. }
  542. .footer-links {
  543. padding-bottom: 50px;
  544. text-align: right;
  545. color: $ui-base-lighter-color;
  546. p {
  547. font-size: 14px;
  548. }
  549. a {
  550. color: inherit;
  551. text-decoration: underline;
  552. }
  553. }
  554. @media screen and (max-width: 840px) {
  555. .container {
  556. padding: 0 20px;
  557. }
  558. .information-board .container {
  559. padding-right: 20px;
  560. .panel {
  561. position: static;
  562. margin-top: 20px;
  563. width: 100%;
  564. border-radius: 4px;
  565. .panel-header {
  566. text-align: center;
  567. }
  568. }
  569. }
  570. .information-board .section {
  571. text-align: center;
  572. }
  573. .header-wrapper .mascot {
  574. left: 20px;
  575. }
  576. }
  577. @media screen and (max-width: 689px) {
  578. .header-wrapper .mascot {
  579. display: none;
  580. }
  581. }
  582. @media screen and (max-width: 675px) {
  583. .header-wrapper {
  584. padding-top: 0;
  585. &.compact .hero .heading {
  586. padding-bottom: 20px;
  587. }
  588. }
  589. .header .container,
  590. .features .container {
  591. display: block;
  592. }
  593. .links {
  594. padding-top: 15px;
  595. background: darken($ui-base-color, 4%);
  596. }
  597. .header {
  598. .hero {
  599. margin-top: 30px;
  600. padding: 0;
  601. .heading {
  602. padding: 0 20px 20px;
  603. }
  604. }
  605. .floats {
  606. display: none;
  607. }
  608. .heading,
  609. .nav {
  610. text-align: center;
  611. }
  612. .nav {
  613. display: flex;
  614. flex-flow: row wrap;
  615. justify-content: space-around;
  616. }
  617. .links a {
  618. padding: 12px 8px;
  619. }
  620. .heading h1 {
  621. padding: 30px 0;
  622. }
  623. .links .brand img {
  624. left: 0;
  625. top: 0;
  626. }
  627. .hero {
  628. .simple_form,
  629. .closed-registrations-message {
  630. background: darken($ui-base-color, 8%);
  631. width: 100%;
  632. border-radius: 0;
  633. box-sizing: border-box;
  634. }
  635. }
  636. }
  637. #mastodon-timeline {
  638. height: 70vh;
  639. width: 100%;
  640. margin-bottom: 50px;
  641. }
  642. }
  643. }
  644. @keyframes floating {
  645. from {
  646. transform: translate(0, 0);
  647. }
  648. 65% {
  649. transform: translate(0, 4px);
  650. }
  651. to {
  652. transform: translate(0, -0);
  653. }
  654. }