123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880 |
- $white: #fff ; // color5
- $lightest: #d9e1e8; // color2
- $lighter: #9baec8; // color3
- $darkest: #1F232B; // color1
- $black: #000 ; // color8
- $darker: lighten($darkest, 34%);
- $vibrant: #6364ff; // color4
- $error: #df405a; // color6
- $success: #79bd9a; // color7
- $transition-in: 100ms linear;
- $transition-out: 250ms linear;
- $content-width: 800px;
- /* roboto-regular - latin */
- @font-face {
- font-family: 'Roboto';
- font-style: normal;
- font-weight: 400;
- src: url('./webfonts/roboto-v29-latin-regular.eot'); /* IE9 Compat Modes */
- src: local(''),
- url('./webfonts/roboto-v29-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
- url('./webfonts/roboto-v29-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
- url('./webfonts/roboto-v29-latin-regular.woff') format('woff'), /* Modern Browsers */
- url('./webfonts/roboto-v29-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
- url('./webfonts/roboto-v29-latin-regular.svg#Roboto') format('svg'); /* Legacy iOS */
- }
- /* roboto-italic - latin */
- @font-face {
- font-family: 'Roboto';
- font-style: italic;
- font-weight: 400;
- src: url('./webfonts/roboto-v29-latin-italic.eot'); /* IE9 Compat Modes */
- src: local(''),
- url('./webfonts/roboto-v29-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
- url('./webfonts/roboto-v29-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
- url('./webfonts/roboto-v29-latin-italic.woff') format('woff'), /* Modern Browsers */
- url('./webfonts/roboto-v29-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
- url('./webfonts/roboto-v29-latin-italic.svg#Roboto') format('svg'); /* Legacy iOS */
- }
- /* roboto-500 - latin */
- @font-face {
- font-family: 'Roboto';
- font-style: normal;
- font-weight: 500;
- src: url('./webfonts/roboto-v29-latin-500.eot'); /* IE9 Compat Modes */
- src: local(''),
- url('./webfonts/roboto-v29-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
- url('./webfonts/roboto-v29-latin-500.woff2') format('woff2'), /* Super Modern Browsers */
- url('./webfonts/roboto-v29-latin-500.woff') format('woff'), /* Modern Browsers */
- url('./webfonts/roboto-v29-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */
- url('./webfonts/roboto-v29-latin-500.svg#Roboto') format('svg'); /* Legacy iOS */
- }
- /* roboto-700 - latin */
- @font-face {
- font-family: 'Roboto';
- font-style: normal;
- font-weight: 700;
- src: url('./webfonts/roboto-v29-latin-700.eot'); /* IE9 Compat Modes */
- src: local(''),
- url('./webfonts/roboto-v29-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
- url('./webfonts/roboto-v29-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
- url('./webfonts/roboto-v29-latin-700.woff') format('woff'), /* Modern Browsers */
- url('./webfonts/roboto-v29-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
- url('./webfonts/roboto-v29-latin-700.svg#Roboto') format('svg'); /* Legacy iOS */
- }
- /* http://meyerweb.com/eric/tools/css/reset/
- v2.0 | 20110126
- License: none (public domain)
- */
- html, body, div, span, applet, object, iframe,
- h1, h2, h3, h4, h5, h6, p, blockquote, pre,
- a, abbr, acronym, address, big, cite, code,
- del, dfn, em, img, ins, kbd, q, s, samp,
- small, strike, strong, sub, sup, tt, var,
- b, u, i, center,
- dl, dt, dd, ol, ul, li,
- fieldset, form, label, legend,
- table, caption, tbody, tfoot, thead, tr, th, td,
- article, aside, canvas, details, embed,
- figure, figcaption, footer, header, hgroup,
- menu, nav, output, ruby, section, summary,
- time, mark, audio, video {
- margin: 0;
- padding: 0;
- border: 0;
- font: inherit;
- vertical-align: baseline;
- }
- /* HTML5 display-role reset for older browsers */
- article, aside, details, figcaption, figure,
- footer, header, hgroup, menu, nav, section {
- display: block;
- }
- body {
- line-height: 1;
- box-sizing: border-box;
- text-rendering: optimizelegibility;
- font-feature-settings: "kern";
- text-size-adjust: none;
- }
- ol, ul {
- list-style: none;
- }
- blockquote, q {
- quotes: none;
- }
- blockquote:before, blockquote:after,
- q:before, q:after {
- content: '';
- content: none;
- }
- table {
- border-collapse: collapse;
- border-spacing: 0;
- }
- a {
- outline: 0;
- }
- body {
- box-sizing: border-box;
- font-family: 'Roboto', sans-serif;
- text-rendering: optimizeLegibility;
- background-color: $darkest;
- color: $lighter;
- font-size: 13px;
- line-height: 18px;
- font-weight: 400;
- }
- .container {
- max-width: $content-width;
- margin: 0 auto;
- @media screen and (max-width: 600px) {
- padding: 0 20px;
- }
- }
- .navbar {
- padding-top: 15px;
- margin-bottom: 90px;
- display: flex;
- justify-content: space-between;
- @media screen and (max-width: 600px) {
- flex-wrap: wrap;
- justify-content: center;
- margin-bottom: 15px;
- }
- ul {
- list-style: none;
- li {
- display: inline-block;
- vertical-align: bottom;
- }
- a {
- display: flex;
- justify-content: center;
- align-items: center;
- color: $lighter;
- text-decoration: none;
- padding: 12px 14px;
- line-height: 32px;
- transition: color $transition-out;
- font-weight: 600;
- font-size: 14px;
- &.active, &:hover {
- color: $lightest;
- transition: color $transition-in;
- }
- &.brand {
- color: $white;
- img {
- width: auto;
- height: 32px;
- opacity: 1;
- position: relative;
- mix-blend-mode: normal;
- top: 4px;
- left: -10px;
- }
- &:hover {
- border-bottom-color: transparent;
- img {
- opacity: 1;
- }
- }
- }
- }
- li:first-child a {
- padding-left: 0;
- }
- li:last-child a {
- padding-right: 0;
- }
- }
- }
- .brand {
- display: inline-block;
- position: relative;
- z-index: 2;
- &::before {
- content: "";
- display: block;
- background: url('elephant.svg');
- position: absolute;
- width: 393px;
- height: 176px;
- z-index: -1;
- top: -21px;
- left: -28px;
- pointer-events: none;
- @media screen and (max-width: 600px) {
- display: none;
- }
- }
- &:hover {
- &::before {
- top: -20px;
- }
- }
- }
- .intro {
- text-align: center;
- padding: 20px 0 90px;
- img {
- display: block;
- max-width: 140px;
- height: auto;
- margin: 0 auto 30px;
- }
- h1 {
- font-size: 42px;
- font-weight: 500;
- color: $lightest;
- line-height: 1;
- }
- @media screen and (max-width: 600px) {
- padding: 0 0 40px;
- h1 {
- font-size: 28px;
- }
- }
- }
- .thumbnail-grid {
- display: flex;
- flex-wrap: wrap;
- margin: 0 -15px;
- li {
- box-sizing: border-box;
- width: 50%;
- flex: 0 0 auto;
- padding: 0 15px;
- margin-bottom: 30px;
- @media screen and (max-width: 600px) {
- width: 100%;
- }
- .cover {
- display: flex;
- background: lighten($darkest, 4%);
- border-radius: 4px 4px 0 0;
- width: 100%;
- height: auto;
- min-height: 220px;
- text-decoration: none;
- font-weight: 600;
- background-size: cover;
- justify-content: center;
- @media screen and (max-width: 600px) {
- min-height: 125px;
- }
- }
- .overlay {
- align-self: center;
- }
- h2 {
- color: #fff;
- text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.35);
- text-align: center;
- font-size: 26px;
- line-height: 1.58;
- padding: 20px;
- }
- .article-information {
- padding: 20px;
- background: lighten($darkest, 8%);
- border-radius: 0 0 4px 4px;
- font-size: 16px;
- letter-spacing: -.003em;
- line-height: 1.58;
- .author {
- float: left;
- strong {
- font-weight: 600;
- color: $darker;
- }
- a {
- text-decoration: none;
- color: inherit;
- i {
- font-weight: initial;
- }
- }
- }
- time {
- float: right;
- color: $darker;
- }
- .summary {
- margin-top: 46px;
- clear: both;
- height: 80px;
- overflow: hidden;
- text-overflow: ellipsis;
- a {
- color: lighten($vibrant, 18%);
- }
- }
- }
- }
- }
- .related-articles {
- margin-top: 30px;
- }
- .article {
- main {
- max-width: 600px;
- margin: 0 auto;
- }
- h1 {
- font-size: 36px;
- line-height: 1.08;
- font-weight: 600;
- color: $lightest;
- padding-top: 35px;
- margin-left: -2.63px;
- text-align: center;
- position: relative;
- &::before {
- display: block;
- content: "";
- border-top: 2px solid $vibrant;
- width: 100px;
- height: 0;
- position: absolute;
- left: 50%;
- top: 0;
- transform: translateX(-50%);
- }
- }
- h2 {
- font-size: 21px;
- line-height: 1.22;
- font-weight: 500;
- color: $lighter;
- margin-top: 25px;
- margin-left: -1.75px;
- text-align: center;
- }
- h3 {
- font-size: 26px;
- margin-left: -1.63px;
- line-height: 1.22;
- text-align: center;
- margin-top: 50px;
- margin-bottom: 30px;
- font-weight: 600;
- color: $lightest;
- }
- blockquote {
- color: $lightest;
- font-size: 16px;
- line-height: 28px;
- font-style: italic;
- border-left: 3px solid $vibrant;
- padding-left: 20px;
- margin-left: -23px;
- padding-bottom: 2px;
- margin-bottom: 26px;
- p:last-child {
- margin-bottom: 0;
- }
- }
- p {
- color: $lightest;
- font-size: 16px;
- line-height: 28px;
- font-weight: normal;
- margin-bottom: 26px;
- hyphens: auto;
- }
- a {
- color: lighten($vibrant, 18%);
- }
- img {
- display: block;
- margin: 0 auto;
- max-width: 100%;
- height: auto;
- border-radius: 4px;
- box-shadow: 4px 6px 18px rgba(0, 0, 0, 0.35);
- }
- .image-large {
- margin-bottom: 50px;
- }
- .image-pull-left {
- float: left;
- }
- em {
- font-style: italic;
- }
- strong {
- font-weight: 600;
- color: #fff;
- }
- ul {
- counter-reset: post;
- margin-bottom: 26px;
- }
- ul li {
- margin-left: 30px;
- margin-bottom: 14px;
- color: $lightest;
- font-size: 16px;
- line-height: 28px;
- &::before {
- position: absolute;
- display: inline-block;
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- width: 78px;
- margin-left: -78px;
- text-align: right;
- padding-top: 4px;
- padding-right: 15px;
- content: '\2022';
- }
- }
- figure {
- figcaption {
- margin-top: 8px;
- text-align: center;
- &,
- p {
- color: $darker;
- }
- }
- }
- hr {
- background: transparent;
- border: 0;
- border-top: 1px solid $darker;
- margin: 26px 0;
- }
- pre {
- margin-bottom: 26px;
- font-size: 16px;
- line-height: 28px;
- background-color: lighten($darkest, 8%);
- border-radius: 4px;
- padding: 16px;
- overflow: auto;
- }
- code {
- padding: 0.2em 0.4em;
- margin: 0;
- font-size: 85%;
- font-family: 'Roboto Mono', monospace;
- background-color: lighten($darkest, 8%);
- border-radius: 3px;
- }
- pre code {
- background: transparent;
- padding: 0;
- }
- &-header {
- padding: 50px 0;
- .image-large {
- margin-top: 50px;
- margin-bottom: 0;
- }
- }
- .mastodon-embed {
- width: 100%;
- display: block;
- margin: 0 auto;
- margin-bottom: 26px;
- border-radius: 4px;
- box-shadow: 4px 6px 18px rgba(0, 0, 0, 0.35);
- }
- }
- .footer {
- padding-bottom: 30px;
- .legal {
- margin-top: 30px;
- a {
- color: $darker;
- text-decoration: none;
- }
- }
- }
- .entry-nav {
- display: flex;
- margin: 0 -15px;
- margin-bottom: 30px;
- a {
- color: lighten($vibrant, 18%);
- display: block;
- border: 1px solid lighten($darkest, 8%);
- padding: 10px 14px;
- border-radius: 4px;
- font-weight: 500;
- text-decoration: none;
- font-size: 12px;
- strong {
- display: block;
- font-size: 16px;
- margin-bottom: 6px;
- }
- }
- .prev-entry,
- .next-entry {
- box-sizing: border-box;
- width: 50%;
- flex: 0 0 auto;
- padding: 0 15px;
- }
- .next-entry {
- text-align: right;
- }
- }
- .pagination {
- display: -ms-flexbox;
- display: flex;
- justify-content: center;
- margin: 0 0 30px;
- li {
- flex: 0 0 auto;
- padding: 0 15px;
- @media screen and (max-width: 600px) {
- padding: 0 5px;
- }
- }
- a {
- color: lighten($vibrant, 18%);
- display: inline-block;
- border: 1px solid lighten($darkest, 8%);
- padding: 10px 14px;
- border-radius: 4px;
- font-weight: 500;
- text-decoration: none;
- }
- .disabled a {
- color: $darker;
- }
- .active a {
- border-color: lighten($vibrant, 18%);
- }
- }
- .cta-banner {
- background: $vibrant;
- border-radius: 4px;
- text-align: center;
- padding: 40px;
- h4 {
- font-size: 24px;
- line-height: 1.08;
- font-weight: 600;
- margin-bottom: 20px;
- color: #fff;
- }
- p {
- color: #fff;
- font-size: 18px;
- line-height: 1.22;
- margin-bottom: 20px;
- }
- & > a {
- font-weight: 500;
- color: $vibrant;
- background: #fff;
- border-radius: 4px;
- box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
- font-family: inherit;
- display: inline-block;
- text-align: center;
- font-size: 16px;
- text-decoration: none;
- line-height: 36px;
- padding: 4px 16px;
- margin: 0 auto;
- border: 0;
- cursor: pointer;
- &.secondary {
- padding: 2px 14px;
- border: 2px solid #fff;
- background: transparent;
- margin-left: 4px;
- color: #fff;
- }
- @media screen and (max-width: 375px) {
- margin-bottom: 10px;
- }
- }
- }
- .panel {
- display: block;
- border-radius: 4px;
- text-decoration: none;
- background-size: 60%;
- background-color: #000;
- background-size: 60%;
- background-repeat: no-repeat;
- background-position: top right;
- text-align: left;
- .overlay {
- padding: 20px;
- }
- h5 {
- padding-top: 111px;
- font-size: 26px;
- font-weight: 600;
- line-height: 1.58;
- color: #fff;
- }
- p {
- color: #fff;
- font-size: 16px;
- }
- }
- .listmonk-form {
- border: 1px solid lighten($darkest, 8%);
- border-radius: 4px;
- text-align: center;
- padding: 40px;
- margin-bottom: 26px;
- h3 {
- margin-top: 0;
- color: #fff;
- }
- p {
- color: #fff;
- }
- .input-with-button {
- position: relative;
- input[type=email] {
- box-sizing: border-box;
- font-size: 16px;
- color: $white;
- display: block;
- width: 100%;
- outline: 0;
- font-family: inherit;
- resize: vertical;
- background: darken($darkest, 10%);
- border: 1px solid lighten($darkest, 8%);
- border-radius: 4px;
- padding: 17px 15px;
- padding-right: 120px;
- &::placeholder {
- color: lighten(lighten($darkest, 30%), 4%);
- }
- &:invalid {
- box-shadow: none;
- }
- &:focus:invalid:not(:placeholder-shown),
- &:required:invalid:not(:placeholder-shown) {
- border-color: lighten($error, 12%);
- }
- &:required:valid {
- border-color: $success;
- }
- &:hover {
- border-color: lighten($darkest, 20%);
- }
- &:active,
- &:focus {
- border-color: $vibrant;
- background: darken($darkest, 8%);
- }
- }
- button {
- position: absolute;
- top: 5px;
- right: 6px;
- display: inline-block;
- border: 0;
- border-radius: 4px;
- font-size: 16px;
- font-family: inherit;
- line-height: 36px;
- padding: 4px 16px;
- font-weight: 500;
- background: darken($success, 8%);
- color: $white;
- text-decoration: none;
- text-align: center;
- box-sizing: border-box;
- cursor: pointer;
- outline: 0;
- &:last-child {
- margin-right: 0;
- }
- &:hover {
- background-color: $success;
- }
- &:active,
- &:focus {
- background-color: darken($success, 5%);
- }
- &:disabled:hover {
- background-color: $lighter;
- }
- }
- }
- footer {
- margin-top: 26px;
- a {
- color: inherit;
- &:hover,
- &:focus,
- &:active {
- text-decoration: none;
- }
- }
- }
- }
- .app-download-links {
- display: flex;
- justify-content: center;
- align-items: center;
- margin-bottom: 26px;
- a {
- display: block;
- img {
- display: block;
- margin: 0;
- box-shadow: none;
- height: 70px;
- width: auto;
- }
- &.app-download-links__app-store {
- img {
- height: 50px;
- }
- }
- }
- }
- .icon {
- height: 1em;
- width: auto;
- vertical-align: middle;
- }
|