diff --git a/assets/scss/bloggy.scss b/assets/scss/bloggy.scss index 30c40b1..05e8877 100644 --- a/assets/scss/bloggy.scss +++ b/assets/scss/bloggy.scss @@ -6,7 +6,15 @@ @import 'mixins'; @import 'global'; -/* Customize */ +/* Components */ +@import 'components/post'; +@import 'components/prism'; +@import 'components/pagination'; +@import 'components/feature-post'; +@import 'components/misc'; +@import 'components/buttons'; + +/* Widgets */ @import 'widgets/blog-text'; @import 'widgets/slack-box'; @import 'widgets/ghost-love'; diff --git a/assets/scss/components/buttons.scss b/assets/scss/components/buttons.scss new file mode 100644 index 0000000..e9e6f27 --- /dev/null +++ b/assets/scss/components/buttons.scss @@ -0,0 +1,43 @@ +/* ========================================================================== + Buttons + ========================================================================== */ + +.button-green, +.button-add, +.button-add[type="submit"] { + transition: all 0.5s ease; + background: white; + border: 2px solid $feature-one-color; + color: $feature-one-color; +} + +.button-green:not(.button-loading):hover, +.button-green:not(.button-loading):focus, +.button-add:not(.button-loading):hover, +.ghost-pro-ad:hover .button-add:not(.button-loading), +.button-add:not(.button-loading):focus, +.button-add[type="submit"]:not(.button-loading):hover, +.ghost-pro-ad:hover [type="submit"].button-add:not(.button-loading), +.button-add[type="submit"]:not(.button-loading):focus { + background: $feature-one-color; + color: white; +} + +.button-save, +.button-blue, +button[type="submit"], +input[type="submit"] { + background: $feature-two-color; + box-shadow: none; +} + +.button-save:not(.button-loading):hover, +.button-save:not(.button-loading):focus, +.button-blue:not(.button-loading):hover, +.button-blue:not(.button-loading):focus, +button[type="submit"]:not(.button-loading):hover, +button[type="submit"]:not(.button-loading):focus, +input[type="submit"]:not(.button-loading):hover, +input[type="submit"]:not(.button-loading):focus { + background: darken($feature-two-color, 10%); +} diff --git a/assets/scss/components/feature-post.scss b/assets/scss/components/feature-post.scss new file mode 100644 index 0000000..3da8b12 --- /dev/null +++ b/assets/scss/components/feature-post.scss @@ -0,0 +1,96 @@ +.wrap article aside { + display: none; +} + +.wrap.featured { + .blog-content { + width: 100%; + } + + .blog-sidebar { + display: none; + } + + article { + max-width: 700px; + margin: 0 auto 0; + font-size: 1.15em; + } + + .post-title { + margin-top: 480px; + + @media (max-width: 900px) { + margin-top: 280px; + } + + @media (max-width: 500px) { + margin-top: 140px; + } + } + + aside { + display: block; + float: right; + width: 300px; + color: #111; + border-top: 3px solid #55acee; + margin-top: 5px; + margin-right: -150px; + margin-left: 30px; + padding: 20px 30px 25px; + font-size: 15px; + line-height: 1.8em; + + @media (max-width: 1020px) { + display: none; + } + } + + .post-content .full-img { + width: calc(100% + 120px); + max-width: none; + margin-left: -60px; + margin-right: -60px; + + @include breakpoint(1100px) { + width: calc(100% + 30px); + margin-left: -15px; + margin-right: -15px; + } + } +} + +/* Hero */ + +.hero { + position: absolute; + top: -50px; + right: -60px; + left: -60px; + overflow: hidden; + + @media (max-width: 850px) { + top: -40px; + right: -11%; + left: -11%; + } +} + +.hero-image { + height: 500px; + background: #eee no-repeat center center; + background-size: cover; +} + +@media (max-width: 900px) { + .hero-image { + height: 300px; + } +} + +@media (max-width: 500px) { + .hero-image { + height: 200px; + } +} diff --git a/assets/scss/components/misc.scss b/assets/scss/components/misc.scss new file mode 100644 index 0000000..1ff3f30 --- /dev/null +++ b/assets/scss/components/misc.scss @@ -0,0 +1,33 @@ +/* ========================================================================== + Misc +========================================================================== */ + +.tags { + vertical-align: text-bottom; + + > a { + padding: 0.167rem 0.5rem; + font-size: .55rem; + transition: all 350ms; + text-transform: uppercase; + color: #f8f8f8; + border-radius: 0.7rem; + background-color: $tag-color; + } +} + +#global-footer .poweredby a { + text-decoration: underline; +} + +.global-header { + min-height: 30px; +} + +#feature-one { + @include feature-header-button($feature-one-color); +} + +#feature-two { + @include feature-header-button($feature-two-color); +} diff --git a/assets/scss/components/pagination.scss b/assets/scss/components/pagination.scss new file mode 100644 index 0000000..8d1b0c1 --- /dev/null +++ b/assets/scss/components/pagination.scss @@ -0,0 +1,182 @@ +/* ========================================================================== + Pagination - Tools to let you flick between pages + ========================================================================== */ + +/* The main wrapper for our pagination links */ + +.pagination { + position: relative; + margin: 40px auto 20px; + font-size: 1.3rem; + text-align: center; + color: #9eabb3; +} + +.pagination a { + color: #9eabb3; + + &:hover { + text-decoration: none; + } +} + +/* Push the previous/next links out to the left/right */ + +.older-posts, +.newer-posts { + position: absolute; + display: inline-block; + padding: 5px 15px; + transition: border ease .3s; + text-decoration: none; + border: #ebf2f6 2px solid; + border-radius: 30px; + + @include breakpoint(500px) { + position: static; + margin: 10px 0; + } +} + +.older-posts { + right: 0; +} + +.page-number { + display: inline-block; + padding: 5px 0; + + @include breakpoint(500px) { + display: block; + } +} + +.newer-posts { + left: 0; +} + +.older-posts:hover, +.newer-posts:hover { + border-color: #9eabb3; +} + +/* ========================================================================== + 7. Read More - Next/Prev Post Links + ========================================================================== */ + +.read-next { + display: flex; + margin: 4rem 0; + overflow: hidden; + border-radius: 5px; + align-items: stretch; +} + +.read-next-story { + position: relative; + display: flex; + min-width: 50%; + overflow: hidden; + text-align: center; + text-decoration: none; + color: $white; + background: #222 no-repeat center center; + background-size: cover; + flex-grow: 1; +} + +.read-next-story:hover { + text-decoration: none; +} + +.read-next-story:hover:before { + transition: all .2s ease; + background: rgba(0, 0, 0, .8); +} + +.read-next-story:hover .post:before { + transition: all .2s ease; + color: #222; + background: $white; +} + +.read-next-story:before { + position: absolute; + top: 0; + right: 0; + bottom: 0; + left: 0; + display: block; + content: ""; + transition: all .5s ease; + background: rgba(0, 0, 0, .7); +} + +.read-next-story .post { + position: relative; + width: 80%; + padding: 3rem 0; + margin: 0 auto; +} + +.read-next-story .post:before { + padding: 4px 10px 5px; + font-family: "Open Sans", sans-serif; + font-size: 1.1rem; + content: "Siguiente Publicación"; + transition: all .5s ease; + text-transform: uppercase; + color: rgba(255, 255, 255, .8); + border: rgba(255, 255, 255, .5) 1px solid; + border-radius: 4px; +} + +.read-next-story.prev .post:before { + content: "Tal vez te interese"; +} + +.read-next-story h2 { + margin-top: 3rem; + color: $white; +} + +.read-next-story p { + margin: 3rem 0 0 0; + font-weight: 200; + line-height: 1.4em; + color: rgba(255, 255, 255, .8); +} + +/* Special styles for posts with no cover images */ + +.read-next-story.no-cover { + background: $white; +} + +.read-next-story.no-cover:before { + display: none; +} + +.read-next-story.no-cover .post:before { + color: rgba(0, 0, 0, .5); + border-color: rgba(0, 0, 0, .2); +} + +.read-next-story.no-cover:hover .post:before { + color: $blue; + border-color: $blue; +} + +.read-next-story.no-cover h2 { + color: rgba(0, 0, 0, .8); +} + +.read-next-story.no-cover p { + color: rgba(0, 0, 0, .5); +} + +/* if there are two posts without covers, put a border between them */ + +.read-next-story.no-cover + .read-next-story.no-cover { + border-left: rgba(0, 0, 100, .04) 1px solid; +} diff --git a/assets/scss/components/post.scss b/assets/scss/components/post.scss new file mode 100644 index 0000000..8889f0c --- /dev/null +++ b/assets/scss/components/post.scss @@ -0,0 +1,151 @@ +/* ========================================================================== + Single Post + ========================================================================== */ + +.post-template { + .post { + margin-bottom: 0; + border-bottom: none; + } +} + +.post-content { + margin-bottom: 3.2em; +} + +.post-content img { + display: block; + height: auto; + max-width: 100%; + margin: 2.2em auto; + + @include breakpoint(500px) { + margin: 1.6em auto; + } +} + +.post-content .full-img { + width: calc(100% + 60px); + max-width: none; + margin-left: -60px; + + @include breakpoint(400px) { + width: 100%; + width: calc(100% + 30px); + margin-right: -15px; + margin-left: -15px; + } + + @include breakpoint(650px) { + width: 122%; + margin-right: -11%; + margin-left: -11%; + } + + @include breakpoint(850px) { + width: 130%; + margin-right: -15%; + margin-left: -15%; + } + + @include breakpoint(1100px) { + width: calc(100% + 30px); + margin-left: -15px; + } +} + +.share { + margin: 1.6em 0; + + @include breakpoint(750px) { + display: none; + } +} + +.twitter-share-button { + margin-right: 30px; +} + +.fb-like { + line-height: 1.2rem; +} + +.post-template .fb-like { + margin-right: 30px; +} + +.pocket-btn { + display: inline-block; + margin-right: -10px; + vertical-align: top; +} + +[class^="PIN_"] { + @include transition(none); +} + +.author { + position: relative; + padding: 30px; + margin: 1.6em 0; + border: $lightgrey 2px dashed; + background: lighten($lightgrey, 5%); + + .author-img { + position: absolute; + top: 30px; + left: 30px; + width: 80px; + height: 80px; + border: $white 5px solid; + } +} + +.author-meta { + margin-left: 120px; + + h4 { + margin-top: .25rem; + } + + p { + margin: 1rem 0 0 0; + font-size: 1.4rem; + } +} + +@include breakpoint(550px) { + .author { + padding: 20px; + text-align: center; + } + + .author .author-img { + position: static; + } + + .author-meta { + margin-left: 0; + } + + .author-meta p { + font-size: 1.3rem; + } +} + +.footnotes { + font-size: 1.3rem; + font-style: italic; + + li { + margin: .6rem 0; + } + + p { + margin: 0; + } +} + +.comments { + margin-top: 3.2em; +} diff --git a/assets/scss/components/prism.scss b/assets/scss/components/prism.scss new file mode 100644 index 0000000..aa6f31e --- /dev/null +++ b/assets/scss/components/prism.scss @@ -0,0 +1,202 @@ +/* http://prismjs.com/download.html?themes=prism&languages=markup+css+clike+javascript&plugins=line-highlight+show-language */ + +/** + * prism.js default theme for JavaScript, CSS and HTML + * Based on dabblet (http://dabblet.com) + * @author Lea Verou + */ + +code, +pre { + font-family: $code-font; + font-size: 90%; + line-height: 1.5; + text-align: left; + white-space: pre; + word-spacing: normal; + word-wrap: normal; + word-break: normal; + tab-size: 2; + hyphens: none; + color: black; + text-shadow: 0 1px white; + direction: ltr; +} + +pre::selection, +code::selection { + background: #b3d4fc; + text-shadow: none; +} + +@media print { + code, + pre { + text-shadow: none; + } + +} + +/* Code blocks */ +pre { + padding: 1em; + margin: 2.5rem 0; + overflow: auto; +} + +:not(pre) > code, +pre { + border: 1px solid rgba(0, 0, 0, .15); + background: #fbfaf8; +} + +/* Inline code */ +:not(pre) > code { + // slack style + padding: 1px 3px; + font-family: $code-font; + font-size: 72%; + line-height: 72%; + white-space: normal; + color: #c25; + border: 1px solid #e1e1e8; + border-radius: .3em; + background-color: #f7f7f9; + text-shadow: 0 1px #fff; +} + +.token.comment, +.token.prolog, +.token.doctype, +.token.cdata { + color: #969896; +} + +.token.punctuation { + color: #333; +} + +.namespace { + opacity: .7; +} + +.token.property, +.token.tag, +.token.boolean, +.token.number, +.token.constant, +.token.symbol, +.token.deleted { + color: #0086b3; +} + +.token.selector, +.token.attr-name, +.token.string, +.token.char, +.token.builtin, +.token.inserted { + color: #183691; +} + +.token.operator, +.token.entity, +.token.url, +.language-css .token.string, +.style .token.string { + color: #a71d5d; +} + +.token.atrule, +.token.attr-value, +.token.keyword { + color: #a71d5d; +} + +.token.function { + color: #0086b3; +} + +.token.regex, +.token.important, +.token.variable { + color: #e90; +} + +.token.important, +.token.bold { + font-weight: bold; +} + +.token.italic { + font-style: italic; +} + +.token.entity { + cursor: help; +} + +pre[data-line] { + position: relative; + padding: 1em 0 1em 3em; +} + +.line-highlight { + position: absolute; + right: 0; + left: 0; + padding: inherit 0; + margin-top: 1em; /* Same as .prism’s padding-top */ + line-height: inherit; + white-space: pre; + pointer-events: none; + background: linear-gradient(left, hsla(24, 20%, 50%, .1) 70%, hsla(24, 20%, 50%, 0)); +} + +.line-highlight:before, +.line-highlight[data-end]:after { + position: absolute; + top: .4em; + left: .6em; + min-width: 1em; + padding: 0 .5em; + font: bold 65%/1.5 sans-serif; + content: attr(data-start); + text-align: center; + vertical-align: .3em; + color: hsl(24, 20%, 95%); + border-radius: 999px; + background-color: hsla(24, 20%, 50%, .4); + box-shadow: 0 1px white; + text-shadow: none; +} + +.line-highlight[data-end]:after { + top: auto; + bottom: .4em; + content: attr(data-end); +} + +div.prism-show-language { + position: relative; +} + +div.prism-show-language > div.prism-show-language-label[data-language] { + position: absolute; + top: 0; + right: 0; + bottom: auto; + left: auto; + z-index: 1; + display: inline-block; + width: auto; + height: auto; + padding: 0 .5em; + font-size: .9em; + transform: none; + color: black; + border-radius: 0 0 0 5px; + background-color: #cfcfcf; + box-shadow: none; + text-shadow: none; +} diff --git a/assets/scss/global.scss b/assets/scss/global.scss index bedfa04..2c77ed9 100644 --- a/assets/scss/global.scss +++ b/assets/scss/global.scss @@ -354,220 +354,6 @@ h6 a { } } -/* ========================================================================== - Single Post - ========================================================================== */ - -.post-template { - .post { - margin-bottom: 0; - border-bottom: none; - } -} - -.post-content { - margin-bottom: 3.2em; -} - -.post-content img { - display: block; - height: auto; - max-width: 100%; - margin: 2.2em auto; - - @include breakpoint(500px) { - margin: 1.6em auto; - } -} - -.post-content .full-img { - width: calc(100% + 60px); - max-width: none; - margin-left: -60px; - - @include breakpoint(400px) { - width: 100%; - width: calc(100% + 30px); - margin-right: -15px; - margin-left: -15px; - } - - @include breakpoint(650px) { - width: 122%; - margin-right: -11%; - margin-left: -11%; - } - - @include breakpoint(850px) { - width: 130%; - margin-right: -15%; - margin-left: -15%; - } - - @include breakpoint(1100px) { - width: calc(100% + 30px); - margin-left: -15px; - } -} - -.share { - margin: 1.6em 0; - - @include breakpoint(750px) { - display: none; - } -} - -.twitter-share-button { - margin-right: 30px; -} - -.fb-like { - line-height: 1.2rem; -} - -.post-template .fb-like { - margin-right: 30px; -} - -.pocket-btn { - display: inline-block; - margin-right: -10px; - vertical-align: top; -} - -[class^="PIN_"] { - @include transition(none); -} - -.author { - position: relative; - padding: 30px; - margin: 1.6em 0; - border: $lightgrey 2px dashed; - background: lighten($lightgrey, 5%); - - .author-img { - position: absolute; - top: 30px; - left: 30px; - width: 80px; - height: 80px; - border: $white 5px solid; - } -} - -.author-meta { - margin-left: 120px; - - h4 { - margin-top: .25rem; - } - - p { - margin: 1rem 0 0 0; - font-size: 1.4rem; - } -} - -@include breakpoint(550px) { - .author { - padding: 20px; - text-align: center; - } - - .author .author-img { - position: static; - } - - .author-meta { - margin-left: 0; - } - - .author-meta p { - font-size: 1.3rem; - } -} - -.footnotes { - font-size: 1.3rem; - font-style: italic; - - li { - margin: .6rem 0; - } - - p { - margin: 0; - } -} - -.comments { - margin-top: 3.2em; -} - -/* ========================================================================== - Pagination - Tools to let you flick between pages - ========================================================================== */ - -/* The main wrapper for our pagination links */ - -.pagination { - position: relative; - margin: 40px auto 20px; - font-size: 1.3rem; - text-align: center; - color: #9eabb3; -} - -.pagination a { - color: #9eabb3; - - &:hover { - text-decoration: none; - } -} - -/* Push the previous/next links out to the left/right */ - -.older-posts, -.newer-posts { - position: absolute; - display: inline-block; - padding: 5px 15px; - transition: border ease .3s; - text-decoration: none; - border: #ebf2f6 2px solid; - border-radius: 30px; - - @include breakpoint(500px) { - position: static; - margin: 10px 0; - } -} - -.older-posts { - right: 0; -} - -.page-number { - display: inline-block; - padding: 5px 0; - - @include breakpoint(500px) { - display: block; - } -} - -.newer-posts { - left: 0; -} - -.older-posts:hover, -.newer-posts:hover { - border-color: #9eabb3; -} - //misc hack - no idea why this is needed, but it is @media (min-width: 768px) { .navbar-collapse.closed { @@ -577,411 +363,3 @@ h6 a { overflow: visible !important; } } - -/* ========================================================================== - 7. Read More - Next/Prev Post Links - ========================================================================== */ - -.read-next { - display: flex; - margin: 4rem 0; - overflow: hidden; - border-radius: 5px; - align-items: stretch; -} - -.read-next-story { - position: relative; - display: flex; - min-width: 50%; - overflow: hidden; - text-align: center; - text-decoration: none; - color: $white; - background: #222 no-repeat center center; - background-size: cover; - flex-grow: 1; -} - -.read-next-story:hover { - text-decoration: none; -} - -.read-next-story:hover:before { - transition: all .2s ease; - background: rgba(0, 0, 0, .8); -} - -.read-next-story:hover .post:before { - transition: all .2s ease; - color: #222; - background: $white; -} - -.read-next-story:before { - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - display: block; - content: ""; - transition: all .5s ease; - background: rgba(0, 0, 0, .7); -} - -.read-next-story .post { - position: relative; - width: 80%; - padding: 3rem 0; - margin: 0 auto; -} - -.read-next-story .post:before { - padding: 4px 10px 5px; - font-family: "Open Sans", sans-serif; - font-size: 1.1rem; - content: "Siguiente Publicación"; - transition: all .5s ease; - text-transform: uppercase; - color: rgba(255, 255, 255, .8); - border: rgba(255, 255, 255, .5) 1px solid; - border-radius: 4px; -} - -.read-next-story.prev .post:before { - content: "Tal vez te interese"; -} - -.read-next-story h2 { - margin-top: 3rem; - color: $white; -} - -.read-next-story p { - margin: 3rem 0 0 0; - font-weight: 200; - line-height: 1.4em; - color: rgba(255, 255, 255, .8); -} - -/* Special styles for posts with no cover images */ - -.read-next-story.no-cover { - background: $white; -} - -.read-next-story.no-cover:before { - display: none; -} - -.read-next-story.no-cover .post:before { - color: rgba(0, 0, 0, .5); - border-color: rgba(0, 0, 0, .2); -} - -.read-next-story.no-cover:hover .post:before { - color: $blue; - border-color: $blue; -} - -.read-next-story.no-cover h2 { - color: rgba(0, 0, 0, .8); -} - -.read-next-story.no-cover p { - color: rgba(0, 0, 0, .5); -} - -/* if there are two posts without covers, put a border between them */ - -.read-next-story.no-cover + .read-next-story.no-cover { - border-left: rgba(0, 0, 100, .04) 1px solid; -} - -/* ========================================================================== - Prism - ========================================================================== */ - -code[class*="language-"], -pre[class*="language-"] { - font-family: Consolas, Monaco, "Andale Mono", monospace; - line-height: 1.5; - text-align: left; - white-space: pre; - word-spacing: normal; - word-break: normal; - tab-size: 4; - hyphens: none; - direction: ltr; -} - -/* Code blocks */ - -pre[class*="language-"] { - padding: 1em; - margin: .5em 0; - overflow: auto; - border-radius: .3em; -} - -:not(pre) > code[class*="language-"], -pre[class*="language-"] { - background: #272822; -} - -/* Inline code */ - -:not(pre) > code[class*="language-"] { - padding: .1em; - border-radius: .3em; -} - -.token.comment, -.token.prolog, -.token.doctype, -.token.cdata { - color: slategray; -} - -.token.punctuation { - color: #f8f8f2; -} - -.namespace { - opacity: .7; -} - -.token.property, -.token.tag, -.token.constant, -.token.symbol, -.token.deleted { - color: #f92672; -} - -.token.boolean, -.token.number { - color: #ae81ff; -} - -.token.selector, -.token.attr-name, -.token.string, -.token.char, -.token.builtin, -.token.inserted { - color: #a6e22e; -} - -.token.operator, -.token.entity, -.token.url, -.language-css .token.string, -.style .token.string, -.token.variable { - color: #f8f8f2; -} - -.token.atrule, -.token.attr-value, -.token.function { - color: #e6db74; -} - -.token.keyword { - color: #66d9ef; -} - -.token.regex, -.token.important { - color: #fd971f; -} - -.token.important, -.token.bold { - font-weight: bold; -} - -.token.italic { - font-style: italic; -} - -.token.entity { - cursor: help; -} - -.wrap article aside { - display: none; -} - -.wrap.featured { - .blog-content { - width: 100%; - } - - .blog-sidebar { - display: none; - } - - article { - max-width: 700px; - margin: 0 auto 0; - font-size: 1.15em; - } - - .post-title { - margin-top: 480px; - - @media (max-width: 900px) { - margin-top: 280px; - } - - @media (max-width: 500px) { - margin-top: 140px; - } - } - - aside { - display: block; - float: right; - width: 300px; - color: #111; - border-top: 3px solid #55acee; - margin-top: 5px; - margin-right: -150px; - margin-left: 30px; - padding: 20px 30px 25px; - font-size: 15px; - line-height: 1.8em; - - @media (max-width: 1020px) { - display: none; - } - } - - .post-content .full-img { - width: calc(100% + 120px); - max-width: none; - margin-left: -60px; - margin-right: -60px; - - @include breakpoint(1100px) { - width: calc(100% + 30px); - margin-left: -15px; - margin-right: -15px; - } - } -} - -/* Hero */ - -.hero { - position: absolute; - top: -50px; - right: -60px; - left: -60px; - overflow: hidden; - - @media (max-width: 850px) { - top: -40px; - right: -11%; - left: -11%; - } -} - -.hero-image { - height: 500px; - background: #eee no-repeat center center; - background-size: cover; -} - -@media (max-width: 900px) { - .hero-image { - height: 300px; - } -} - -@media (max-width: 500px) { - .hero-image { - height: 200px; - } -} - -/* ========================================================================== - Custom -========================================================================== */ - -.tags { - vertical-align: text-bottom; - - > a { - padding: 0.167rem 0.5rem; - font-size: .55rem; - transition: all 350ms; - text-transform: uppercase; - color: #f8f8f8; - border-radius: 0.7rem; - background-color: $tag-color; - } -} - -#global-footer .poweredby a { - text-decoration: underline; -} - -.global-header { - min-height: 30px; -} - -#feature-one { - @include feature-header-button($feature-one-color); -} - -#feature-two { - @include feature-header-button($feature-two-color); -} - -/* ========================================================================== - Buttons - ========================================================================== */ - -.button-green, -.button-add, -.button-add[type="submit"] { - transition: all 0.5s ease; - background: white; - border: 2px solid $feature-one-color; - color: $feature-one-color; -} - -.button-green:not(.button-loading):hover, -.button-green:not(.button-loading):focus, -.button-add:not(.button-loading):hover, -.ghost-pro-ad:hover .button-add:not(.button-loading), -.button-add:not(.button-loading):focus, -.button-add[type="submit"]:not(.button-loading):hover, -.ghost-pro-ad:hover [type="submit"].button-add:not(.button-loading), -.button-add[type="submit"]:not(.button-loading):focus { - background: $feature-one-color; - color: white; -} - -.button-save, -.button-blue, -button[type="submit"], -input[type="submit"] { - background: $feature-two-color; - box-shadow: none; -} - -.button-save:not(.button-loading):hover, -.button-save:not(.button-loading):focus, -.button-blue:not(.button-loading):hover, -.button-blue:not(.button-loading):focus, -button[type="submit"]:not(.button-loading):hover, -button[type="submit"]:not(.button-loading):focus, -input[type="submit"]:not(.button-loading):hover, -input[type="submit"]:not(.button-loading):focus { - background: darken($feature-two-color, 10%); -} diff --git a/assets/scss/variables.scss b/assets/scss/variables.scss index 5fd3d7c..6814377 100644 --- a/assets/scss/variables.scss +++ b/assets/scss/variables.scss @@ -8,6 +8,17 @@ $default-transition-duration : 0.3s; @import "../vendor/compass-breakpoint/stylesheets/breakpoint"; @include breakpoint-set('default feature', max-width); +$sans-font : 'Raleway', sans-serif; +$serif-font : 'Roboto Slab', serif; +$code-font : Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif; +$quote-font : "freight-text-pro", Georgia, Cambria, "Times New Roman", Times, serif; + +$font-weight-thin : 100; +$font-weight-normal : 300; +$font-weight-bold : 700; + + + // Max widths $netbook : 1000px; $tablet : 800px;