File tree 4 files changed +50
-26
lines changed
4 files changed +50
-26
lines changed Original file line number Diff line number Diff line change 1
- import '@fontsource/montserrat' ;
2
- import './src/styles/_reset.scss' ;
3
- import './src/styles/_colors.scss' ;
4
- import './src/styles/_global-style.scss' ;
5
- import './src/styles/_markdown-style.scss' ;
6
- import 'prismjs/themes/prism-tomorrow.css' ;
1
+ require ( 'typeface-montserrat' ) ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
import { useStaticQuery , graphql } from 'gatsby' ;
3
- import PageHeader from '../page-header' ;
4
- import PageFooter from '../page-footer' ;
3
+ import PageHeader from '../components/ page-header' ;
4
+ import PageFooter from '../components/ page-footer' ;
5
5
import './style.scss' ;
6
6
7
7
const Layout = ( { children } ) => {
Original file line number Diff line number Diff line change
1
+ @use ' ../styles/variables' as * ;
2
+ @use ' ../styles/mixins' as * ;
3
+ @use ' ../styles/reset' as * ;
4
+ @use ' ../styles/colors' as * ;
5
+
6
+ * {
7
+ box-sizing : border-box ;
8
+ appearance : none ;
9
+ }
10
+
11
+ html {
12
+ width : 100% ;
13
+ height : 100% ;
14
+ overflow-y : scroll ;
15
+ font-size : 14px ;
16
+ }
17
+
18
+ body {
19
+ background-color : var (--background-color ) !important ;
20
+ }
21
+
22
+
23
+ a {
24
+ color : var (--link-text-color );
25
+ }
26
+
27
+ .page-wrapper {
28
+ display : flex ;
29
+ flex-direction : column ;
30
+ justify-content : center ;
31
+ align-items : center ;
32
+ width : 100% ;
33
+ min-height : 100vh ;
34
+ word-break : keep-all ;
35
+ -webkit-font-smoothing : antialiased ;
36
+ -moz-osx-font-smoothing : grayscale ;
37
+ font-family : $font-family ;
38
+ color : var (--primary-text-color );
39
+ @include content-horizontal-padding ;
40
+
41
+ .page-content {
42
+ display : flex ;
43
+ flex-direction : column ;
44
+ align-items : center ;
45
+ @include content-max-width ;
46
+ }
47
+ }
You can’t perform that action at this time.
0 commit comments