|
@@ -3,7 +3,8 @@ import css from 'styled-jsx/css'
|
|
|
|
|
|
const GlobalStyle = css.global`
|
|
const GlobalStyle = css.global`
|
|
/* normalize.css is imported in meta.js */
|
|
/* normalize.css is imported in meta.js */
|
|
- @import url('https://fonts.googleapis.com/css?family=Roboto+Mono:300|Roboto:300,900&display=swap');
|
|
|
|
|
|
+ /*@import url('https://fonts.googleapis.com/css?family=Roboto+Mono:300|Roboto:300,900&display=swap');*/
|
|
|
|
+ @import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@700&family=Open+Sans&family=Source+Code+Pro&display=swap');
|
|
|
|
|
|
/* Use border-box sizing instead of context-box.
|
|
/* Use border-box sizing instead of context-box.
|
|
This includes border and padding in the calculation.
|
|
This includes border and padding in the calculation.
|
|
@@ -11,9 +12,9 @@ const GlobalStyle = css.global`
|
|
Also define a default font. */
|
|
Also define a default font. */
|
|
html {
|
|
html {
|
|
box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
- font-family: 'Roboto', sans-serif;
|
|
|
|
- font-weight: 300;
|
|
|
|
- /*font-size: 12px;*/
|
|
|
|
|
|
+ font-family: 'Open Sans', sans-serif;
|
|
|
|
+ font-size: 16px;
|
|
|
|
+ font-weight: 400;
|
|
}
|
|
}
|
|
|
|
|
|
*,
|
|
*,
|
|
@@ -32,22 +33,11 @@ const GlobalStyle = css.global`
|
|
|
|
|
|
min-height: 100vh;
|
|
min-height: 100vh;
|
|
|
|
|
|
- background: ${theme.colors.offWhite};
|
|
|
|
- color: ${theme.colors.black};
|
|
|
|
|
|
+ background: ${theme.colors.background};
|
|
|
|
+ color: ${theme.colors.color};
|
|
box-shadow: ${theme.bs};
|
|
box-shadow: ${theme.bs};
|
|
}
|
|
}
|
|
|
|
|
|
- #__next.admin {
|
|
|
|
- grid-template-areas:
|
|
|
|
- 'header header'
|
|
|
|
- 'sidebar main'
|
|
|
|
- 'footer footer';
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- #__next.admin :global(nav.admin-sidebar) {
|
|
|
|
- grid-area: sidebar;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
header {
|
|
header {
|
|
grid-area: header;
|
|
grid-area: header;
|
|
}
|
|
}
|
|
@@ -65,18 +55,16 @@ const GlobalStyle = css.global`
|
|
h3,
|
|
h3,
|
|
h4,
|
|
h4,
|
|
h5,
|
|
h5,
|
|
- h6 {
|
|
|
|
- font-weight: 900;
|
|
|
|
|
|
+ h6,
|
|
|
|
+ th {
|
|
|
|
+ font-family: 'Exo 2', sans-serif;
|
|
|
|
+ font-weight: 700;
|
|
color: ${theme.colors.darkerblue};
|
|
color: ${theme.colors.darkerblue};
|
|
}
|
|
}
|
|
|
|
|
|
/* Use monospace font for pre */
|
|
/* Use monospace font for pre */
|
|
pre {
|
|
pre {
|
|
- font-family: 'Roboto Mono', monospace;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- form label {
|
|
|
|
- display: none;
|
|
|
|
|
|
+ font-family: 'Source Code Pro', monospace;
|
|
}
|
|
}
|
|
|
|
|
|
form input,
|
|
form input,
|
|
@@ -86,18 +74,18 @@ const GlobalStyle = css.global`
|
|
width: 100%;
|
|
width: 100%;
|
|
margin: 0.8em auto;
|
|
margin: 0.8em auto;
|
|
padding: 0.3em;
|
|
padding: 0.3em;
|
|
- border: 2px solid ${theme.colors.darkerblue}00;
|
|
|
|
- color: ${theme.colors.darkerblue};
|
|
|
|
- background-color: ${theme.colors.darkerblue}27;
|
|
|
|
|
|
+ border: 2px solid ${theme.colors.formBackground}00;
|
|
|
|
+ color: ${theme.colors.formColor};
|
|
|
|
+ background-color: ${theme.colors.formBackground};
|
|
transition: all 250ms ease-in-out;
|
|
transition: all 250ms ease-in-out;
|
|
}
|
|
}
|
|
|
|
|
|
form input:focus,
|
|
form input:focus,
|
|
form select:focus,
|
|
form select:focus,
|
|
form textbox:focus {
|
|
form textbox:focus {
|
|
- color: ${theme.colors.blue};
|
|
|
|
- background-color: ${theme.colors.blue}15;
|
|
|
|
- border-bottom: 2px solid ${theme.colors.blue}44;
|
|
|
|
|
|
+ color: ${theme.colors.formHighlight};
|
|
|
|
+ background-color: ${theme.colors.formHighlightBackground}55;
|
|
|
|
+ border-bottom: 2px solid ${theme.colors.formHighlightBackground}ff;
|
|
}
|
|
}
|
|
|
|
|
|
button {
|
|
button {
|