diff --git a/pages/kernels/index.js b/pages/kernels/index.js
index 7ff63ad6..0abbf856 100644
--- a/pages/kernels/index.js
+++ b/pages/kernels/index.js
@@ -1,61 +1,53 @@
// @flow
import Layout from "../../components/layout/layout";
-import Link from 'next/link';
-import {ContentSection, ContentSectionPane} from "../../components/content-section/content-section";
+import Link from "next/link";
+import {
+ ContentSection,
+ ContentSectionPane
+} from "../../components/content-section/content-section";
import React from "react";
-import Python from '../../components/kernels/python';
+import Python from "../../components/kernels/python";
import {
- PageHeader,
- PageHeaderLeft,
- PageHeaderRight
+ PageHeader,
+ PageHeaderLeft,
+ PageHeaderRight
} from "../../components/page-header/page-header";
-
export default class Kernels extends React.Component {
- render() {
-
- let themeColor = '#2C1F39';
-
- return (
-
-
-
-
- Kernels
-
-
- Kernels connect your favorite languages to nteract projects for an improved
- REPL experience.
-
-
+ render() {
+ let themeColor = "#2C1F39";
-
-
-
-
-
-
-
- );
- }
+ return (
+
+
+
+ Kernels
+
+ Kernels connect your favorite languages to nteract projects for an
+ improved REPL experience.
+
+
+
+
+
+
+
+
+
+ );
+ }
}
diff --git a/pages/kernels/node.js b/pages/kernels/node.js
index 54ff335a..28b8d669 100644
--- a/pages/kernels/node.js
+++ b/pages/kernels/node.js
@@ -1,62 +1,53 @@
// @flow
import Layout from "../../components/layout/layout";
-import Link from 'next/link';
-import {ContentSection, ContentSectionPane} from "../../components/content-section/content-section";
+import Link from "next/link";
+import {
+ ContentSection,
+ ContentSectionPane
+} from "../../components/content-section/content-section";
import React from "react";
-import Node from '../../components/kernels/node';
+import Node from "../../components/kernels/node";
import {
- PageHeader,
- PageHeaderLeft,
- PageHeaderRight
+ PageHeader,
+ PageHeaderLeft,
+ PageHeaderRight
} from "../../components/page-header/page-header";
-
export default class NodePage extends React.Component {
- render() {
-
- let themeColor = '#2C1F39';
-
- return (
-
-
-
-
- Kernels
-
-
- Kernels connect your favorite languages to nteract projects for an improved
- REPL experience.
-
-
+ render() {
+ let themeColor = "#2C1F39";
-
-
-
-
-
-
-
- );
- }
+ return (
+
+
+
+ Kernels
+
+ Kernels connect your favorite languages to nteract projects for an
+ improved REPL experience.
+
+
+
+
+
+
+
+
+
+ );
+ }
}
diff --git a/pages/kernels/python.js b/pages/kernels/python.js
index 898db1d8..790f2fd0 100644
--- a/pages/kernels/python.js
+++ b/pages/kernels/python.js
@@ -1,61 +1,53 @@
// @flow
import Layout from "../../components/layout/layout";
-import Link from 'next/link';
-import {ContentSection, ContentSectionPane} from "../../components/content-section/content-section";
+import Link from "next/link";
+import {
+ ContentSection,
+ ContentSectionPane
+} from "../../components/content-section/content-section";
import React from "react";
-import Python from '../../components/kernels/python';
+import Python from "../../components/kernels/python";
import {
- PageHeader,
- PageHeaderLeft,
- PageHeaderRight
+ PageHeader,
+ PageHeaderLeft,
+ PageHeaderRight
} from "../../components/page-header/page-header";
-
export default class PythonPage extends React.Component {
- render() {
-
- let themeColor = '#2C1F39';
-
- return (
-
-
-
-
- Kernels
-
-
- Kernels connect your favorite languages to nteract projects for an improved
- REPL experience.
-
-
+ render() {
+ let themeColor = "#2C1F39";
-
-
-
-
-
-
-
- );
- }
+ return (
+
+
+
+ Kernels
+
+ Kernels connect your favorite languages to nteract projects for an
+ improved REPL experience.
+
+
+
+
+
+
+
+
+
+ );
+ }
}
diff --git a/pages/kernels/r.js b/pages/kernels/r.js
index 893ecddb..071a4561 100644
--- a/pages/kernels/r.js
+++ b/pages/kernels/r.js
@@ -1,62 +1,53 @@
// @flow
import Layout from "../../components/layout/layout";
-import Link from 'next/link';
-import {ContentSection, ContentSectionPane} from "../../components/content-section/content-section";
+import Link from "next/link";
+import {
+ ContentSection,
+ ContentSectionPane
+} from "../../components/content-section/content-section";
import React from "react";
-import R from '../../components/kernels/r';
+import R from "../../components/kernels/r";
import {
- PageHeader,
- PageHeaderLeft,
- PageHeaderRight
+ PageHeader,
+ PageHeaderLeft,
+ PageHeaderRight
} from "../../components/page-header/page-header";
-
export default class RPage extends React.Component {
- render() {
-
- let themeColor = '#2C1F39';
-
- return (
-
-
-
-
- Kernels
-
-
- Kernels connect your favorite languages to nteract projects for an improved
- REPL experience.
-
-
+ render() {
+ let themeColor = "#2C1F39";
-
-
-
-
-
-
-
- );
- }
+ return (
+
+
+
+ Kernels
+
+ Kernels connect your favorite languages to nteract projects for an
+ improved REPL experience.
+
+
+
+
+
+
+
+
+
+ );
+ }
}
diff --git a/postcss.config.js b/postcss.config.js
index 0a37008c..f8450743 100644
--- a/postcss.config.js
+++ b/postcss.config.js
@@ -1,6 +1,8 @@
module.exports = {
- plugins: [
- require('postcss-easy-import')({prefix: '_'}), // keep this first
- require('autoprefixer')({ /* ...options */ }) // so imports are auto-prefixed too
- ]
-}
\ No newline at end of file
+ plugins: [
+ require("postcss-easy-import")({ prefix: "_" }), // keep this first
+ require("autoprefixer")({
+ /* ...options */
+ }) // so imports are auto-prefixed too
+ ]
+};
diff --git a/styles/common.scss b/styles/common.scss
index fae06b6c..820f1e9c 100644
--- a/styles/common.scss
+++ b/styles/common.scss
@@ -1,14 +1,14 @@
@import "partials/typography";
@import "partials/elements/buttons";
-.not-mobile{
- @include handheld{
+.not-mobile {
+ @include handheld {
display: none !important;
}
}
-.mobile-only{
+.mobile-only {
display: none;
- @include handheld{
+ @include handheld {
display: inherit;
}
}
@@ -17,4 +17,4 @@ svg {
* {
fill: currentColor;
}
-}
\ No newline at end of file
+}
diff --git a/styles/partials/abstract/abstract.scss b/styles/partials/abstract/abstract.scss
index ea213955..da59dc90 100644
--- a/styles/partials/abstract/abstract.scss
+++ b/styles/partials/abstract/abstract.scss
@@ -1,5 +1,5 @@
@import "normalize";
-@import 'variables';
+@import "variables";
@import "mixins";
@import "colors";
-@import "effects";
\ No newline at end of file
+@import "effects";
diff --git a/styles/partials/abstract/colors.scss b/styles/partials/abstract/colors.scss
index 329e1a86..80dc74fe 100644
--- a/styles/partials/abstract/colors.scss
+++ b/styles/partials/abstract/colors.scss
@@ -6,22 +6,18 @@
// Text and Backgrounds
// ---
-$main-color: #334865;
-
-$color-text-base: #313131; // Default text color
+$main-color: #334865;
+$color-text-base: #313131; // Default text color
// ---
// Primary
// --
-
// ---
// Accent
// ---
-
-
//----------------------------------------------------------------------------------------------------------------------
// Buttons
//----------------------------------------------------------------------------------------------------------------------
@@ -49,4 +45,4 @@ $control-color-danger: #e85600;
// Meta colors
$code-color: #e06870;
-$highlight-color: #ffe9b3;
\ No newline at end of file
+$highlight-color: #ffe9b3;
diff --git a/styles/partials/abstract/effects.scss b/styles/partials/abstract/effects.scss
index eb283b6d..eff5f1ae 100644
--- a/styles/partials/abstract/effects.scss
+++ b/styles/partials/abstract/effects.scss
@@ -20,4 +20,3 @@ $text-shadow-default: 0px 1px 2px rgba(darken($main-color, 25%), 0.5);
margin-right: auto;
margin-left: auto;
}
-
diff --git a/styles/partials/abstract/mixins.scss b/styles/partials/abstract/mixins.scss
index 495207ec..018e5253 100644
--- a/styles/partials/abstract/mixins.scss
+++ b/styles/partials/abstract/mixins.scss
@@ -10,8 +10,25 @@
//----------------------------------------------------------------------------------------------------------------------
@function is-direction($value) {
- $is-keyword: index((to top, to top right, to right top, to right, to bottom right, to right bottom, to bottom, to bottom left, to left bottom, to left, to left top, to top left), $value);
- $is-angle: type-of($value) == 'number' and index('deg' 'grad' 'turn' 'rad', unit($value));
+ $is-keyword: index(
+ (
+ to top,
+ to top right,
+ to right top,
+ to right,
+ to bottom right,
+ to right bottom,
+ to bottom,
+ to bottom left,
+ to left bottom,
+ to left,
+ to left top,
+ to top left
+ ),
+ $value
+ );
+ $is-angle: type-of($value) == "number" and
+ index("deg" "grad" "turn" "rad", unit($value));
@return $is-keyword or $is-angle;
}
@@ -20,18 +37,18 @@
@error "Cannot convert `#{$value}` to legacy syntax because it doesn't seem to be a direction.";
}
$conversion-map: (
- to top : bottom,
- to top right : bottom left,
- to right top : left bottom,
- to right : left,
- to bottom right : top left,
- to right bottom : left top,
- to bottom : top,
- to bottom left : top right,
- to left bottom : right top,
- to left : right,
- to left top : right bottom,
- to top left : bottom right
+ to top : bottom,
+ to top right : bottom left,
+ to right top : left bottom,
+ to right : left,
+ to bottom right : top left,
+ to right bottom : left top,
+ to bottom : top,
+ to bottom left : top right,
+ to left bottom : right top,
+ to left : right,
+ to left top : right bottom,
+ to top left : bottom right
);
@if map-has-key($conversion-map, $value) {
@return map-get($conversion-map, $value);
@@ -46,7 +63,10 @@
$direction: 180deg;
}
background: nth(nth($color-stops, 1), 1);
- background: -webkit-linear-gradient(legacy-direction($direction), $color-stops);
+ background: -webkit-linear-gradient(
+ legacy-direction($direction),
+ $color-stops
+ );
background: linear-gradient($direction, $color-stops);
}
@@ -58,7 +78,7 @@
position: relative;
&::before {
@include linear-gradient(135deg, #1d8ee8 0%, #1e427d 100%);
- content: '';
+ content: "";
height: 100%;
top: 0;
left: 0;
@@ -67,21 +87,22 @@
position: absolute;
}
&::after {
- content: '';
+ content: "";
position: absolute;
height: 100%;
width: 100%;
z-index: -1;
top: 0;
left: 0;
- background: url(https://images-hoshi.nationalmachine.co/ineffable/uploads/8e24bc29d4dcbda1aa6f2a1dcdd4c0e6/background-dots.png) repeat center center;
+ background: url(https://images-hoshi.nationalmachine.co/ineffable/uploads/8e24bc29d4dcbda1aa6f2a1dcdd4c0e6/background-dots.png)
+ repeat center center;
background-size: 14.5px;
}
}
@mixin colorBar($height, $color, $distance) {
&::before {
- content: '';
+ content: "";
height: $height;
transform: translateY(-$distance);
background: $color;
@@ -160,8 +181,8 @@ $mid-sized: 1200px;
@mixin global-wrapper {
@include center-content;
- padding-left:$gutter*2;
- padding-right:$gutter*2;
+ padding-left: $gutter*2;
+ padding-right: $gutter*2;
max-width: $global-width;
//@include tablet{
@@ -170,22 +191,22 @@ $mid-sized: 1200px;
//}
}
-@mixin bar-highlight{
+@mixin bar-highlight {
position: relative;
- &:hover{
+ &:hover {
cursor: pointer;
- &::after{
+ &::after {
transform: none;
}
}
- &.active{
- &::after{
+ &.active {
+ &::after {
transform: none;
}
}
&::after {
- content: '';
+ content: "";
position: absolute;
bottom: 0;
height: 3px;
@@ -198,11 +219,10 @@ $mid-sized: 1200px;
}
}
-@mixin active-state-transform{
+@mixin active-state-transform {
transform: translateY(2px);
}
-
@keyframes fadein {
from {
opacity: 0;
@@ -282,23 +302,28 @@ $timing-animation: $timing*2.5;
}
&-fade-and-slide-in-from-bottom {
opacity: 0;
- animation: fade-and-slide-in-from-bottom $timing-animation forwards $global-easing;
+ animation: fade-and-slide-in-from-bottom $timing-animation forwards
+ $global-easing;
}
&-fade-and-slide-in-from-bottom-sm {
opacity: 0;
- animation: fade-and-slide-in-from-bottom-sm $timing-animation forwards $global-easing;
+ animation: fade-and-slide-in-from-bottom-sm $timing-animation forwards
+ $global-easing;
}
&-fade-and-slide-in-from-bottom-sm-fast {
opacity: 0;
- animation: fade-and-slide-in-from-bottom-sm $timing-animation/2 forwards $global-easing;
+ animation: fade-and-slide-in-from-bottom-sm $timing-animation/2 forwards
+ $global-easing;
}
&-fade-and-slide-in-from-top {
opacity: 0;
- animation: fade-and-slide-in-from-top $timing-animation forwards $global-easing;
+ animation: fade-and-slide-in-from-top $timing-animation forwards
+ $global-easing;
}
&-fade-and-slide-in-from-top-sm {
opacity: 0;
- animation: fade-and-slide-in-from-top-sm $timing-animation forwards $global-easing;
+ animation: fade-and-slide-in-from-top-sm $timing-animation forwards
+ $global-easing;
}
&-delay {
&-xl {
@@ -367,7 +392,6 @@ $timing-animation: $timing*2.5;
@extend .animation-fade-and-slide-in-from-top-sm;
}
-
@mixin fullSizePosAbsolute {
position: absolute;
top: 0;
@@ -407,7 +431,7 @@ $timing-animation: $timing*2.5;
}
@mixin fullPseudoElement {
- content: '';
+ content: "";
position: absolute;
top: 0;
left: 0;
@@ -421,11 +445,11 @@ $timing-animation: $timing*2.5;
// The main reason we do this is because the app is animated in, and sometimes the whole app will be at ~0.97%
// opacity, and you could see the background behind the app.
// ----
-@mixin addPseudoToHTML{
+@mixin addPseudoToHTML {
position: relative;
&::before {
@include fullPseudoElement;
background: white;
@include animationFadein;
}
-}
\ No newline at end of file
+}
diff --git a/styles/partials/abstract/normalize.scss b/styles/partials/abstract/normalize.scss
index cb323d59..5effbb2d 100644
--- a/styles/partials/abstract/normalize.scss
+++ b/styles/partials/abstract/normalize.scss
@@ -1 +1,175 @@
-progress,sub,sup{vertical-align:baseline}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0} figcaption, menu,article,aside,details,figure,footer,header,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block}audio:not([controls]){display:none;height:0} [hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline-width:0}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}svg:not(:root){overflow:hidden}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}figure{margin:1em 40px}hr{box-sizing:content-box;height:0;overflow:visible}button,input,select,textarea{font:inherit;margin:0}optgroup{font-weight:700} select,button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{cursor:pointer}[disabled]{cursor:default}[type=submit], [type=reset],button,html [type=button]{-webkit-appearance:button}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}button:-moz-focusring,input:-moz-focusring{outline:ButtonText dotted 1px}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}/*# sourceMappingURL=normalize.min.css.map */
+progress,
+sub,
+sup {
+ vertical-align: baseline;
+}
+html {
+ font-family: sans-serif;
+ -ms-text-size-adjust: 100%;
+ -webkit-text-size-adjust: 100%;
+}
+body {
+ margin: 0;
+}
+figcaption,
+menu,
+article,
+aside,
+details,
+figure,
+footer,
+header,
+main,
+nav,
+section,
+summary {
+ display: block;
+}
+audio,
+canvas,
+progress,
+video {
+ display: inline-block;
+}
+audio:not([controls]) {
+ display: none;
+ height: 0;
+}
+[hidden],
+template {
+ display: none;
+}
+a {
+ background-color: transparent;
+}
+a:active,
+a:hover {
+ outline-width: 0;
+}
+abbr[title] {
+ border-bottom: none;
+ text-decoration: underline;
+ text-decoration: underline dotted;
+}
+b,
+strong {
+ font-weight: bolder;
+}
+dfn {
+ font-style: italic;
+}
+mark {
+ background-color: #ff0;
+ color: #000;
+}
+small {
+ font-size: 80%;
+}
+sub,
+sup {
+ font-size: 75%;
+ line-height: 0;
+ position: relative;
+}
+sub {
+ bottom: -0.25em;
+}
+sup {
+ top: -0.5em;
+}
+img {
+ border-style: none;
+}
+svg:not(:root) {
+ overflow: hidden;
+}
+code,
+kbd,
+pre,
+samp {
+ font-family: monospace, monospace;
+ font-size: 1em;
+}
+figure {
+ margin: 1em 40px;
+}
+hr {
+ box-sizing: content-box;
+ height: 0;
+ overflow: visible;
+}
+button,
+input,
+select,
+textarea {
+ font: inherit;
+ margin: 0;
+}
+optgroup {
+ font-weight: 700;
+}
+select,
+button,
+input {
+ overflow: visible;
+}
+button,
+select {
+ text-transform: none;
+}
+[type="button"],
+[type="reset"],
+[type="submit"],
+button {
+ cursor: pointer;
+}
+[disabled] {
+ cursor: default;
+}
+[type="submit"],
+[type="reset"],
+button,
+html [type="button"] {
+ -webkit-appearance: button;
+}
+button::-moz-focus-inner,
+input::-moz-focus-inner {
+ border: 0;
+ padding: 0;
+}
+button:-moz-focusring,
+input:-moz-focusring {
+ outline: ButtonText dotted 1px;
+}
+fieldset {
+ border: 1px solid silver;
+ margin: 0 2px;
+ padding: 0.35em 0.625em 0.75em;
+}
+legend {
+ box-sizing: border-box;
+ color: inherit;
+ display: table;
+ max-width: 100%;
+ padding: 0;
+ white-space: normal;
+}
+textarea {
+ overflow: auto;
+}
+[type="checkbox"],
+[type="radio"] {
+ box-sizing: border-box;
+ padding: 0;
+}
+[type="number"]::-webkit-inner-spin-button,
+[type="number"]::-webkit-outer-spin-button {
+ height: auto;
+}
+[type="search"] {
+ -webkit-appearance: textfield;
+}
+[type="search"]::-webkit-search-cancel-button,
+[type="search"]::-webkit-search-decoration {
+ -webkit-appearance: none;
+} /*# sourceMappingURL=normalize.min.css.map */
diff --git a/styles/partials/abstract/variables.scss b/styles/partials/abstract/variables.scss
index 697732aa..59f8c1a0 100644
--- a/styles/partials/abstract/variables.scss
+++ b/styles/partials/abstract/variables.scss
@@ -1,18 +1,15 @@
-
-
-
// Core variables
$unit: 12px;
$gutter: $unit*2;
$global-width: 1250px;
-$global-easing: cubic-bezier(.24, .8, 0, .97);
+$global-easing: cubic-bezier(0.24, 0.8, 0, 0.97);
$header-height: 72px;
-// --
+// --
// Animation / transitions
-// --
+// --
$timing: 0.38s;
$easing: $global-easing;
$transition: $timing all $easing;
@@ -26,15 +23,18 @@ $body-font-size: 1.4rem;
// Fonts
// Credit: https://www.smashingmagazine.com/2015/11/using-system-ui-fonts-practical-guide/
-$base-font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto;
+$base-font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI",
+ Roboto;
$fallback-font-family: "Helvetica Neue", sans-serif;
-$cjk-font-family: $base-font-family, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Hiragino Kaku Gothic Pro", Meiryo, "Malgun Gothic", $fallback-font-family;
+$cjk-font-family: $base-font-family, "PingFang SC", "Hiragino Sans GB",
+ "Microsoft YaHei", "Hiragino Kaku Gothic Pro", Meiryo, "Malgun Gothic",
+ $fallback-font-family;
$body-font-family: $base-font-family, $fallback-font-family;
// Sizes
$layout-gutter: 1rem;
$control-min-width: 18rem;
-$border-radius: .2rem;
+$border-radius: 0.2rem;
@import "colors";
@@ -46,8 +46,8 @@ $size-lg: 960px;
$size-xl: 1280px;
$size-2x: 1440px;
-
-@import url('https://fonts.googleapis.com/css?family=Fira+Sans:400,400i,600,600i,800,800i|Nunito:300,400,700,800,900');
+@import url("https://fonts.googleapis.com/css?family=Fira+Sans:400,400i,600,600i,800,800i|Nunito:300,400,700,800,900");
$title-color: $main-color !default;
-$title-font: 'Nunito', sans-serif !default;
-$body-font: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto !default;
\ No newline at end of file
+$title-font: "Nunito", sans-serif !default;
+$body-font: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI",
+ Roboto !default;
diff --git a/styles/partials/elements/buttons.scss b/styles/partials/elements/buttons.scss
index 35f1637c..c94f6895 100644
--- a/styles/partials/elements/buttons.scss
+++ b/styles/partials/elements/buttons.scss
@@ -15,7 +15,6 @@
&:hover {
color: rgba($main-color, 1);
-
}
}
}
@@ -26,9 +25,9 @@
display: flex;
align-items: center;
- // --
+ // --
// When there are multiple buttons in a row
- // --
+ // --
.button + .button {
margin-left: $unit;
}
@@ -39,7 +38,8 @@
border-radius: 4px;
transition: $transition;
user-select: none;
- box-shadow: 0 4px 8px 0 rgba(50, 72, 101, 0.1), 0 2px 2px 0 rgba(50, 72, 101, 0.1);
+ box-shadow: 0 4px 8px 0 rgba(50, 72, 101, 0.1),
+ 0 2px 2px 0 rgba(50, 72, 101, 0.1);
text-decoration: none;
@include handheld {
//margin-left: 0 !important;
@@ -60,8 +60,8 @@
width: $size;
height: $size;
margin-right: $unit/2;
- @include handheld{
- margin-right:0;
+ @include handheld {
+ margin-right: 0;
}
svg {
* {
@@ -71,7 +71,7 @@
}
// --
// Primary Button Styles
- // --
+ // --
&-primary {
//background: $color-button-default;
box-shadow: $drop-shadow;
@@ -88,7 +88,6 @@
}
&-simple {
-
}
// --
@@ -112,7 +111,6 @@
background: darken(rgba(163, 183, 213, 0.25), 10%);
box-shadow: $drop-shadow-pressed;
}
-
}
&-icon-only {
@@ -130,9 +128,9 @@
}
}
- // --
+ // --
// Default hover + active states
- // --
+ // --
&:hover {
cursor: pointer;
}
@@ -146,7 +144,7 @@
//----------------------------------------------------------------------------------------------------------------------
.buttons-hero {
.button {
- @include tablet-up{
+ @include tablet-up {
padding: 0 $gutter;
}
color: white;
@@ -158,8 +156,8 @@
width: $size;
height: $size;
margin-right: $unit/2;
- @include handheld{
- margin-right:0;
+ @include handheld {
+ margin-right: 0;
}
svg {
* {
@@ -172,7 +170,12 @@
// --
&-primary {
background-color: #f02563;
- background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0)), linear-gradient(#f02563, #f02563);
+ background-image: linear-gradient(
+ to bottom,
+ rgba(255, 255, 255, 0.1),
+ rgba(255, 255, 255, 0)
+ ),
+ linear-gradient(#f02563, #f02563);
&:hover {
//background: lighten($color-emerald, 5%);
@@ -189,18 +192,15 @@
color: white;
box-shadow: $drop-shadow;
text-shadow: $text-shadow-default;
- margin-right:0;
+ margin-right: 0;
- &.button-icon-only{
- opacity:0.75;
+ &.button-icon-only {
+ opacity: 0.75;
}
-
}
-
}
}
.icon-buttons {
padding-left: $unit;
-
-}
\ No newline at end of file
+}
diff --git a/styles/partials/typography.scss b/styles/partials/typography.scss
index d13039fd..af39e93f 100644
--- a/styles/partials/typography.scss
+++ b/styles/partials/typography.scss
@@ -64,7 +64,7 @@ a {
}
blockquote {
- border-left: .2rem solid $border-color;
+ border-left: 0.2rem solid $border-color;
margin-left: 0;
padding: 1rem 2rem;
@@ -113,7 +113,7 @@ dl {
font-weight: bold;
}
dd {
- margin: .5rem 0 1.5rem 0;
+ margin: 0.5rem 0 1.5rem 0;
}
}
@@ -127,7 +127,7 @@ kbd {
}
abbr[title] {
- border-bottom: .1rem dotted;
+ border-bottom: 0.1rem dotted;
cursor: help;
text-decoration: none;
}