The code powering m.abunchtell.com https://m.abunchtell.com
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 

856 linhas
14 KiB

  1. $maximum-width: 1235px;
  2. $fluid-breakpoint: $maximum-width + 20px;
  3. $column-breakpoint: 700px;
  4. $small-breakpoint: 960px;
  5. .container {
  6. box-sizing: border-box;
  7. max-width: $maximum-width;
  8. margin: 0 auto;
  9. position: relative;
  10. @media screen and (max-width: $fluid-breakpoint) {
  11. width: 100%;
  12. padding: 0 10px;
  13. }
  14. }
  15. .rich-formatting {
  16. font-family: $font-sans-serif, sans-serif;
  17. font-size: 16px;
  18. font-weight: 400;
  19. font-size: 16px;
  20. line-height: 30px;
  21. color: $darker-text-color;
  22. padding-right: 10px;
  23. a {
  24. color: $highlight-text-color;
  25. text-decoration: underline;
  26. }
  27. p,
  28. li {
  29. font-family: $font-sans-serif, sans-serif;
  30. font-size: 16px;
  31. font-weight: 400;
  32. font-size: 16px;
  33. line-height: 30px;
  34. margin-bottom: 12px;
  35. color: $darker-text-color;
  36. a {
  37. color: $highlight-text-color;
  38. text-decoration: underline;
  39. }
  40. &:last-child {
  41. margin-bottom: 0;
  42. }
  43. }
  44. strong,
  45. em {
  46. font-weight: 700;
  47. color: lighten($darker-text-color, 10%);
  48. }
  49. h1 {
  50. font-family: $font-display, sans-serif;
  51. font-size: 26px;
  52. line-height: 30px;
  53. font-weight: 500;
  54. margin-bottom: 20px;
  55. color: $secondary-text-color;
  56. small {
  57. font-family: $font-sans-serif, sans-serif;
  58. display: block;
  59. font-size: 18px;
  60. font-weight: 400;
  61. color: lighten($darker-text-color, 10%);
  62. }
  63. }
  64. h2 {
  65. font-family: $font-display, sans-serif;
  66. font-size: 22px;
  67. line-height: 26px;
  68. font-weight: 500;
  69. margin-bottom: 20px;
  70. color: $secondary-text-color;
  71. }
  72. h3 {
  73. font-family: $font-display, sans-serif;
  74. font-size: 18px;
  75. line-height: 24px;
  76. font-weight: 500;
  77. margin-bottom: 20px;
  78. color: $secondary-text-color;
  79. }
  80. h4 {
  81. font-family: $font-display, sans-serif;
  82. font-size: 16px;
  83. line-height: 24px;
  84. font-weight: 500;
  85. margin-bottom: 20px;
  86. color: $secondary-text-color;
  87. }
  88. h5 {
  89. font-family: $font-display, sans-serif;
  90. font-size: 14px;
  91. line-height: 24px;
  92. font-weight: 500;
  93. margin-bottom: 20px;
  94. color: $secondary-text-color;
  95. }
  96. h6 {
  97. font-family: $font-display, sans-serif;
  98. font-size: 12px;
  99. line-height: 24px;
  100. font-weight: 500;
  101. margin-bottom: 20px;
  102. color: $secondary-text-color;
  103. }
  104. ul,
  105. ol {
  106. margin-left: 20px;
  107. &[type='a'] {
  108. list-style-type: lower-alpha;
  109. }
  110. &[type='i'] {
  111. list-style-type: lower-roman;
  112. }
  113. }
  114. ul {
  115. list-style: disc;
  116. }
  117. ol {
  118. list-style: decimal;
  119. }
  120. li > ol,
  121. li > ul {
  122. margin-top: 6px;
  123. }
  124. hr {
  125. width: 100%;
  126. height: 0;
  127. border: 0;
  128. border-bottom: 1px solid rgba($ui-base-lighter-color, .6);
  129. margin: 20px 0;
  130. &.spacer {
  131. height: 1px;
  132. border: 0;
  133. }
  134. }
  135. }
  136. .information-board {
  137. background: darken($ui-base-color, 4%);
  138. padding: 20px 0;
  139. .container-alt {
  140. position: relative;
  141. padding-right: 280px + 15px;
  142. }
  143. &__sections {
  144. display: flex;
  145. justify-content: space-between;
  146. flex-wrap: wrap;
  147. }
  148. &__section {
  149. flex: 1 0 0;
  150. font-family: $font-sans-serif, sans-serif;
  151. font-size: 16px;
  152. line-height: 28px;
  153. color: $primary-text-color;
  154. text-align: right;
  155. padding: 10px 15px;
  156. span,
  157. strong {
  158. display: block;
  159. }
  160. span {
  161. &:last-child {
  162. color: $secondary-text-color;
  163. }
  164. }
  165. strong {
  166. font-family: $font-display, sans-serif;
  167. font-weight: 500;
  168. font-size: 32px;
  169. line-height: 48px;
  170. }
  171. @media screen and (max-width: $column-breakpoint) {
  172. text-align: center;
  173. }
  174. }
  175. .panel {
  176. position: absolute;
  177. width: 280px;
  178. box-sizing: border-box;
  179. background: darken($ui-base-color, 8%);
  180. padding: 20px;
  181. padding-top: 10px;
  182. border-radius: 4px 4px 0 0;
  183. right: 0;
  184. bottom: -40px;
  185. .panel-header {
  186. font-family: $font-display, sans-serif;
  187. font-size: 14px;
  188. line-height: 24px;
  189. font-weight: 500;
  190. color: $darker-text-color;
  191. padding-bottom: 5px;
  192. margin-bottom: 15px;
  193. border-bottom: 1px solid lighten($ui-base-color, 4%);
  194. text-overflow: ellipsis;
  195. white-space: nowrap;
  196. overflow: hidden;
  197. a,
  198. span {
  199. font-weight: 400;
  200. color: darken($darker-text-color, 10%);
  201. }
  202. a {
  203. text-decoration: none;
  204. }
  205. }
  206. }
  207. .owner {
  208. text-align: center;
  209. .avatar {
  210. width: 80px;
  211. height: 80px;
  212. margin: 0 auto;
  213. margin-bottom: 15px;
  214. img {
  215. display: block;
  216. width: 80px;
  217. height: 80px;
  218. border-radius: 48px;
  219. }
  220. }
  221. .name {
  222. font-size: 14px;
  223. a {
  224. display: block;
  225. color: $primary-text-color;
  226. text-decoration: none;
  227. &:hover {
  228. .display_name {
  229. text-decoration: underline;
  230. }
  231. }
  232. }
  233. .username {
  234. display: block;
  235. color: $darker-text-color;
  236. }
  237. }
  238. }
  239. }
  240. .landing-page {
  241. p,
  242. li {
  243. font-family: $font-sans-serif, sans-serif;
  244. font-size: 16px;
  245. font-weight: 400;
  246. font-size: 16px;
  247. line-height: 30px;
  248. margin-bottom: 12px;
  249. color: $darker-text-color;
  250. a {
  251. color: $highlight-text-color;
  252. text-decoration: underline;
  253. }
  254. }
  255. em {
  256. display: inline;
  257. margin: 0;
  258. padding: 0;
  259. font-weight: 700;
  260. background: transparent;
  261. font-family: inherit;
  262. font-size: inherit;
  263. line-height: inherit;
  264. color: lighten($darker-text-color, 10%);
  265. }
  266. h1 {
  267. font-family: $font-display, sans-serif;
  268. font-size: 26px;
  269. line-height: 30px;
  270. font-weight: 500;
  271. margin-bottom: 20px;
  272. color: $secondary-text-color;
  273. small {
  274. font-family: $font-sans-serif, sans-serif;
  275. display: block;
  276. font-size: 18px;
  277. font-weight: 400;
  278. color: lighten($darker-text-color, 10%);
  279. }
  280. }
  281. h2 {
  282. font-family: $font-display, sans-serif;
  283. font-size: 22px;
  284. line-height: 26px;
  285. font-weight: 500;
  286. margin-bottom: 20px;
  287. color: $secondary-text-color;
  288. }
  289. h3 {
  290. font-family: $font-display, sans-serif;
  291. font-size: 18px;
  292. line-height: 24px;
  293. font-weight: 500;
  294. margin-bottom: 20px;
  295. color: $secondary-text-color;
  296. }
  297. h4 {
  298. font-family: $font-display, sans-serif;
  299. font-size: 16px;
  300. line-height: 24px;
  301. font-weight: 500;
  302. margin-bottom: 20px;
  303. color: $secondary-text-color;
  304. }
  305. h5 {
  306. font-family: $font-display, sans-serif;
  307. font-size: 14px;
  308. line-height: 24px;
  309. font-weight: 500;
  310. margin-bottom: 20px;
  311. color: $secondary-text-color;
  312. }
  313. h6 {
  314. font-family: $font-display, sans-serif;
  315. font-size: 12px;
  316. line-height: 24px;
  317. font-weight: 500;
  318. margin-bottom: 20px;
  319. color: $secondary-text-color;
  320. }
  321. ul,
  322. ol {
  323. margin-left: 20px;
  324. &[type='a'] {
  325. list-style-type: lower-alpha;
  326. }
  327. &[type='i'] {
  328. list-style-type: lower-roman;
  329. }
  330. }
  331. ul {
  332. list-style: disc;
  333. }
  334. ol {
  335. list-style: decimal;
  336. }
  337. li > ol,
  338. li > ul {
  339. margin-top: 6px;
  340. }
  341. hr {
  342. width: 100%;
  343. height: 0;
  344. border: 0;
  345. border-bottom: 1px solid rgba($ui-base-lighter-color, .6);
  346. margin: 20px 0;
  347. &.spacer {
  348. height: 1px;
  349. border: 0;
  350. }
  351. }
  352. &__information,
  353. &__forms {
  354. padding: 20px;
  355. }
  356. &__call-to-action {
  357. background: darken($ui-base-color, 4%);
  358. border-radius: 4px;
  359. padding: 25px 40px;
  360. overflow: hidden;
  361. box-sizing: border-box;
  362. .row {
  363. width: 100%;
  364. display: flex;
  365. flex-direction: row-reverse;
  366. flex-wrap: nowrap;
  367. justify-content: space-between;
  368. align-items: center;
  369. }
  370. .row__information-board {
  371. display: flex;
  372. justify-content: flex-end;
  373. align-items: flex-end;
  374. .information-board__section {
  375. flex: 1 0 auto;
  376. padding: 0 10px;
  377. }
  378. @media screen and (max-width: $no-gap-breakpoint) {
  379. width: 100%;
  380. justify-content: space-between;
  381. }
  382. }
  383. .row__mascot {
  384. flex: 1;
  385. margin: 10px -50px 0 0;
  386. @media screen and (max-width: $no-gap-breakpoint) {
  387. display: none;
  388. }
  389. }
  390. }
  391. &__logo {
  392. margin-right: 20px;
  393. img {
  394. height: 50px;
  395. width: auto;
  396. mix-blend-mode: lighten;
  397. }
  398. }
  399. &__information {
  400. padding: 45px 40px;
  401. margin-bottom: 10px;
  402. &:last-child {
  403. margin-bottom: 0;
  404. }
  405. strong {
  406. font-weight: 500;
  407. color: lighten($darker-text-color, 10%);
  408. }
  409. .account {
  410. border-bottom: 0;
  411. padding: 0;
  412. &__display-name {
  413. align-items: center;
  414. display: flex;
  415. margin-right: 5px;
  416. }
  417. div.account__display-name {
  418. &:hover {
  419. .display-name strong {
  420. text-decoration: none;
  421. }
  422. }
  423. .account__avatar {
  424. cursor: default;
  425. }
  426. }
  427. &__avatar-wrapper {
  428. margin-left: 0;
  429. flex: 0 0 auto;
  430. }
  431. &__avatar {
  432. width: 44px;
  433. height: 44px;
  434. background-size: 44px 44px;
  435. }
  436. .display-name {
  437. font-size: 15px;
  438. &__account {
  439. font-size: 14px;
  440. }
  441. }
  442. }
  443. @media screen and (max-width: $small-breakpoint) {
  444. .contact {
  445. margin-top: 30px;
  446. }
  447. }
  448. @media screen and (max-width: $column-breakpoint) {
  449. padding: 25px 20px;
  450. }
  451. }
  452. &__information,
  453. &__forms,
  454. #mastodon-timeline {
  455. box-sizing: border-box;
  456. background: $ui-base-color;
  457. border-radius: 4px;
  458. box-shadow: 0 0 6px rgba($black, 0.1);
  459. }
  460. &__mascot {
  461. height: 104px;
  462. position: relative;
  463. left: -40px;
  464. bottom: 25px;
  465. img {
  466. height: 190px;
  467. width: auto;
  468. }
  469. }
  470. &__short-description {
  471. .row {
  472. display: flex;
  473. flex-wrap: wrap;
  474. align-items: center;
  475. margin-bottom: 40px;
  476. }
  477. @media screen and (max-width: $column-breakpoint) {
  478. .row {
  479. margin-bottom: 20px;
  480. }
  481. }
  482. p a {
  483. color: $secondary-text-color;
  484. }
  485. h1 {
  486. font-weight: 500;
  487. color: $primary-text-color;
  488. margin-bottom: 0;
  489. small {
  490. color: $darker-text-color;
  491. span {
  492. color: $secondary-text-color;
  493. }
  494. }
  495. }
  496. p:last-child {
  497. margin-bottom: 0;
  498. }
  499. }
  500. &__hero {
  501. margin-bottom: 10px;
  502. img {
  503. display: block;
  504. margin: 0;
  505. max-width: 100%;
  506. height: auto;
  507. border-radius: 4px;
  508. }
  509. }
  510. @media screen and (max-width: 840px) {
  511. .information-board {
  512. .container-alt {
  513. padding-right: 20px;
  514. }
  515. .panel {
  516. position: static;
  517. margin-top: 20px;
  518. width: 100%;
  519. border-radius: 4px;
  520. .panel-header {
  521. text-align: center;
  522. }
  523. }
  524. }
  525. }
  526. @media screen and (max-width: 675px) {
  527. .header-wrapper {
  528. padding-top: 0;
  529. &.compact {
  530. padding-bottom: 0;
  531. }
  532. &.compact .hero .heading {
  533. text-align: initial;
  534. }
  535. }
  536. .header .container-alt,
  537. .features .container-alt {
  538. display: block;
  539. }
  540. }
  541. .cta {
  542. margin: 20px;
  543. }
  544. }
  545. .landing {
  546. margin-bottom: 100px;
  547. @media screen and (max-width: 738px) {
  548. margin-bottom: 0;
  549. }
  550. &__brand {
  551. display: flex;
  552. justify-content: center;
  553. align-items: center;
  554. padding: 50px;
  555. img {
  556. height: 52px;
  557. }
  558. @media screen and (max-width: $no-gap-breakpoint) {
  559. padding: 0;
  560. margin-bottom: 30px;
  561. }
  562. }
  563. .directory {
  564. margin-top: 30px;
  565. background: transparent;
  566. box-shadow: none;
  567. border-radius: 0;
  568. }
  569. .hero-widget {
  570. margin-top: 30px;
  571. margin-bottom: 0;
  572. h4 {
  573. padding: 10px;
  574. text-transform: uppercase;
  575. font-weight: 700;
  576. font-size: 13px;
  577. color: $darker-text-color;
  578. }
  579. &__text {
  580. border-radius: 0;
  581. padding-bottom: 0;
  582. }
  583. &__footer {
  584. background: $ui-base-color;
  585. padding: 10px;
  586. border-radius: 0 0 4px 4px;
  587. display: flex;
  588. &__column {
  589. flex: 1 1 50%;
  590. }
  591. }
  592. .account {
  593. padding: 10px 0;
  594. border-bottom: 0;
  595. .account__display-name {
  596. display: flex;
  597. align-items: center;
  598. }
  599. .account__avatar {
  600. width: 44px;
  601. height: 44px;
  602. background-size: 44px 44px;
  603. }
  604. }
  605. &__counter {
  606. padding: 10px;
  607. strong {
  608. font-family: $font-display, sans-serif;
  609. font-size: 15px;
  610. font-weight: 700;
  611. display: block;
  612. }
  613. span {
  614. font-size: 14px;
  615. color: $darker-text-color;
  616. }
  617. }
  618. }
  619. .simple_form .user_agreement .label_input > label {
  620. font-weight: 400;
  621. color: $darker-text-color;
  622. }
  623. .simple_form p.lead {
  624. color: $darker-text-color;
  625. font-size: 15px;
  626. line-height: 20px;
  627. font-weight: 400;
  628. margin-bottom: 25px;
  629. }
  630. &__grid {
  631. max-width: 960px;
  632. margin: 0 auto;
  633. display: grid;
  634. grid-template-columns: minmax(0, 50%) minmax(0, 50%);
  635. grid-gap: 30px;
  636. @media screen and (max-width: 738px) {
  637. grid-template-columns: minmax(0, 100%);
  638. grid-gap: 10px;
  639. &__column-login {
  640. grid-row: 1;
  641. display: flex;
  642. flex-direction: column;
  643. .box-widget {
  644. order: 2;
  645. flex: 0 0 auto;
  646. }
  647. .hero-widget {
  648. margin-top: 0;
  649. margin-bottom: 10px;
  650. order: 1;
  651. flex: 0 0 auto;
  652. }
  653. }
  654. &__column-registration {
  655. grid-row: 2;
  656. }
  657. .directory {
  658. margin-top: 10px;
  659. }
  660. }
  661. @media screen and (max-width: $no-gap-breakpoint) {
  662. grid-gap: 0;
  663. .hero-widget {
  664. display: block;
  665. margin-bottom: 0;
  666. box-shadow: none;
  667. &__img,
  668. &__img img,
  669. &__footer {
  670. border-radius: 0;
  671. }
  672. }
  673. .hero-widget,
  674. .box-widget,
  675. .directory__tag {
  676. border-bottom: 1px solid lighten($ui-base-color, 8%);
  677. }
  678. .directory {
  679. margin-top: 0;
  680. &__tag {
  681. margin-bottom: 0;
  682. & > a,
  683. & > div {
  684. border-radius: 0;
  685. box-shadow: none;
  686. }
  687. &:last-child {
  688. border-bottom: 0;
  689. }
  690. }
  691. }
  692. }
  693. }
  694. }
  695. .brand {
  696. position: relative;
  697. text-decoration: none;
  698. }
  699. .brand__tagline {
  700. display: block;
  701. position: absolute;
  702. bottom: -10px;
  703. left: 50px;
  704. width: 300px;
  705. color: $ui-primary-color;
  706. text-decoration: none;
  707. font-size: 14px;
  708. @media screen and (max-width: $no-gap-breakpoint) {
  709. position: static;
  710. width: auto;
  711. margin-top: 20px;
  712. color: $dark-text-color;
  713. }
  714. }