1
0
mirror of https://github.com/kremalicious/portfolio.git synced 2024-06-17 18:03:22 +02:00

social tweaks

This commit is contained in:
Matthias Kretschmann 2018-05-09 22:10:37 +02:00
parent f88ab4b17e
commit a093eb5f21
Signed by: m
GPG Key ID: 606EEEF3C479A91F
3 changed files with 7 additions and 22 deletions

View File

@ -1,19 +1,5 @@
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
exports.modifyWebpackConfig = ({ config, stage }) => {
if (stage === 'build-html') {

View File

@ -2,14 +2,16 @@
.networks {
margin-top: $spacer * $line-height;
margin-left: auto;
margin-right: auto;
width: 100%;
display: flex;
justify-content: center;
max-width: 20rem;
}
.networks__title {
display: block;
width: 100%;
font-size: $font-size-mini;
color: $brand-grey-light;
opacity: 0;
@ -18,15 +20,11 @@
}
.networks__link {
margin-left: $spacer / 4;
margin-right: $spacer / 4;
margin-left: $spacer / 2;
margin-right: $spacer / 2;
text-align: center;
display: block;
@media (min-width: 30rem) {
margin-left: $spacer / 2;
margin-right: $spacer / 2;
}
flex: 1 1 (100% / 5);
&,
.icon {

View File

@ -47,6 +47,7 @@
.header__name {
pointer-events: none;
display: block;
width: 100%;
}
.header--minimal {