mirror of
https://github.com/kremalicious/portfolio.git
synced 2024-12-23 01:29:41 +01:00
social tweaks
This commit is contained in:
parent
f88ab4b17e
commit
a093eb5f21
@ -1,19 +1,5 @@
|
|||||||
const path = require('path')
|
const path = require('path')
|
||||||
|
|
||||||
// https://github.com/saschajullmann/gatsby-starter-gatsbythemes/blob/master/gatsby-node.js
|
|
||||||
exports.modifyWebpackConfig = ({ config, stage }) => {
|
|
||||||
switch (stage) {
|
|
||||||
case 'develop':
|
|
||||||
config.preLoader('eslint-loader', {
|
|
||||||
test: /\.(js|jsx)$/,
|
|
||||||
exclude: /node_modules/,
|
|
||||||
})
|
|
||||||
|
|
||||||
break
|
|
||||||
}
|
|
||||||
return config
|
|
||||||
}
|
|
||||||
|
|
||||||
// https://github.com/gatsbyjs/gatsby/issues/2288#issuecomment-334467821
|
// https://github.com/gatsbyjs/gatsby/issues/2288#issuecomment-334467821
|
||||||
exports.modifyWebpackConfig = ({ config, stage }) => {
|
exports.modifyWebpackConfig = ({ config, stage }) => {
|
||||||
if (stage === 'build-html') {
|
if (stage === 'build-html') {
|
||||||
|
@ -2,14 +2,16 @@
|
|||||||
|
|
||||||
.networks {
|
.networks {
|
||||||
margin-top: $spacer * $line-height;
|
margin-top: $spacer * $line-height;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
max-width: 20rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.networks__title {
|
.networks__title {
|
||||||
display: block;
|
display: block;
|
||||||
width: 100%;
|
|
||||||
font-size: $font-size-mini;
|
font-size: $font-size-mini;
|
||||||
color: $brand-grey-light;
|
color: $brand-grey-light;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
@ -18,15 +20,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.networks__link {
|
.networks__link {
|
||||||
margin-left: $spacer / 4;
|
|
||||||
margin-right: $spacer / 4;
|
|
||||||
text-align: center;
|
|
||||||
display: block;
|
|
||||||
|
|
||||||
@media (min-width: 30rem) {
|
|
||||||
margin-left: $spacer / 2;
|
margin-left: $spacer / 2;
|
||||||
margin-right: $spacer / 2;
|
margin-right: $spacer / 2;
|
||||||
}
|
text-align: center;
|
||||||
|
display: block;
|
||||||
|
flex: 1 1 (100% / 5);
|
||||||
|
|
||||||
&,
|
&,
|
||||||
.icon {
|
.icon {
|
||||||
|
@ -47,6 +47,7 @@
|
|||||||
.header__name {
|
.header__name {
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
display: block;
|
display: block;
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header--minimal {
|
.header--minimal {
|
||||||
|
Loading…
Reference in New Issue
Block a user