From f177fe1718c757a84c3c4e0951d129c950e05037 Mon Sep 17 00:00:00 2001 From: Are0h Date: Wed, 13 May 2020 12:35:14 -0700 Subject: [PATCH] finazling overall index design, added pug assets folder to ignore, added menu and recent post array to local variables for testing and set up --- .gitignore | 3 +- package.json | 1 - pug.config.js | 35 +++++++++++- src/front/assets/css/base.css | 62 ++++++++++++++------- src/front/assets/css/base.css.map | 2 +- src/front/assets/scripts/start.min.js | 2 +- src/front/assets/scripts/start.min.js.map | 2 +- src/front/frame.pug | 2 +- src/front/index.pug | 23 ++++---- src/styles/_structure.styl | 67 ++++++++++++++--------- 10 files changed, 134 insertions(+), 65 deletions(-) diff --git a/.gitignore b/.gitignore index 86dfde2..01ec950 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ node_modules dist .cache -.DS_Store \ No newline at end of file +.DS_Store +assets \ No newline at end of file diff --git a/package.json b/package.json index a638f69..450c159 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,6 @@ "node": ">=10.16.0" }, "devDependencies": { - "cssnano": "^4.1.10", "pug": "^2.0.4", "stylus": "^0.54.7" } diff --git a/pug.config.js b/pug.config.js index c72a3b5..b4d077d 100644 --- a/pug.config.js +++ b/pug.config.js @@ -1,11 +1,12 @@ module.exports = { locals: { title: 'This is Fipamo', + welcome_message: 'Hey there', keywords: 'creative technoglogist, graphic design, web development, designer developer, social thought, political discussion, music producer, creative culture, black creative, black geek', description: 'The home site of Creative Technologist, music maker, and social philoshoper, Ro. Ha, I know. Me too.', - base_path: '', + base_path: '/src/front/', default_bg: '/assets/images/global/default-bg.jpg', default_avi: '/assets/images/global/default-avi.png', content_index: @@ -31,6 +32,38 @@ module.exports = { slug: 'page-three', uuid: 'b60d6843-e957-43ac-8425-65145142236d' } + ], + recent_posts: [ + { + title: 'Teyonah Parris', + slug: 'teyonah-parris', + feature: 'content/blog-images/2018/11/chi-raq.jpg', + created: '2018 Nov 11th' + }, + { + title: 'Aja Naomi-King', + slug: 'aja-naomi-king', + feature: 'content/blog-images/2018/11/chi-raq.jpg', + created: '2018 Nov 11th' + }, + { + title: 'Sonequa Martin-Green', + slug: 'sonequa-martin-green', + feature: 'content/blog-images/2018/11/chi-raq.jpg', + created: '2018 Nov 11th' + }, + { + title: 'Jameela Jamil', + slug: 'jameela-jamil', + feature: 'content/blog-images/2018/11/chi-raq.jpg', + created: '2018 Nov 11th' + }, + { + title: "I'm so behind", + slug: 'im-so-behind', + feature: 'content/blog-images/2018/11/chi-raq.jpg', + created: '2018 Nov 11th' + } ] } }; diff --git a/src/front/assets/css/base.css b/src/front/assets/css/base.css index 5298670..2c42444 100644 --- a/src/front/assets/css/base.css +++ b/src/front/assets/css/base.css @@ -227,7 +227,7 @@ html { width: 100%; height: 100%; overflow: hidden; - font: 400 1.1em/1.1em Helvetica, Arial, sans-serif; + font: 400 1.3em/1.1em Helvetica, Arial, sans-serif; } body { color: #fff; @@ -240,6 +240,18 @@ body { overflow-y: scroll; overflow-x: hidden; } +a { + color: #7ed07e; + text-decoration: none; + border-bottom: 1px solid #d5cfba; + -moz-transition: all 0.2s linear; + -webkit-transition: all 0.2s linear; + -o-transition: all 0.2s linear; + transition: all 0.2s linear; +} +a:hover { + border-bottom: 1px solid #fc6399; +} svg.icons { width: 25px; fill: #d5cfba; @@ -250,20 +262,21 @@ header { position: relative; transform-style: inherit; width: 100vw; - text-align: center; color: #d5cfba; - border-bottom: 1px #7ed07e solid; + border-bottom: 1px #d5cfba solid; border-top: 5px #7ed07e solid; } -header h1 { +header span { margin: 0; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); - background: #34495e; - border-radius: 40px; + font-weight: 100; padding: 15px 20px 10px 20px; + font-size: 14em; + line-height: 1; + color: #7ed07e; } header .menu { width: 100%; @@ -298,30 +311,37 @@ header::before { width: 100%; color: #32302f; } -.container article .right, -.container article .left { - width: 49.9%; - display: inline-flex; - vertical-align: top; - justify-content: center; - background: #32302f; -} -.container article .left { - border-right: 1px #7ed07e solid; -} -.container article .inner { +.container article { position: relative; width: 80%; height: 80%; - margin: 30px 0 30px 0; + max-width: 840px; + min-height: 500px; background: #32302f; vertical-align: top; color: #d5cfba; + margin: 0 auto; } -.container article .inner span { - font: 600 1.5em/2 Helvetica, Arial, sans-serif; +.container article span { + font: 600 2em/1.5 Helvetica, Arial, sans-serif; color: #fc6399; } +.container article .index { + margin: 30px; +} +.container article .index label { + background: #32302f; + color: #d5cfba; + font-size: 1.5em; + line-height: 1.3; +} +.container article .index a { + font-size: 1.5em; + line-height: 1.3; + margin-bottom: 10px; + margin-right: 10px; + font-weight: 400; +} .container section { color: #d5cfba; } diff --git a/src/front/assets/css/base.css.map b/src/front/assets/css/base.css.map index e282c07..bd50987 100644 --- a/src/front/assets/css/base.css.map +++ b/src/front/assets/css/base.css.map @@ -1 +1 @@ -{"version":3,"sources":["../../../styles/base.styl","../../../styles/_normalize.styl","../../../styles/_structure.styl","../../../styles/_mixins.styl","../../../styles/_index.styl","../../../styles/_forms.styl","../../../styles/_page.styl"],"names":[],"mappings":"AACA;;;;;AAQA;;;;;AAQA;;;;;AAQA;;;;;ACzBA;EACI,aAAY,KAAZ;EACA,sBAAqB,KAArB;EACA,0BAAyB,KAAzB;;AAEJ;EACI,QAAO,EAAP;;AAEJ;AACA;AACA;AACA;AACA;AACA;EACI,SAAQ,MAAR;;AAEJ;EACI,WAAU,IAAV;EACA,QAAO,SAAP;EACA,aAAY,IAAZ;;AAEJ;AACA;AACA;EACI,SAAQ,MAAR;;AAEJ;EACI,QAAO,SAAP;;AAEJ;EACI,YAAW,YAAX;EACA,QAAO,EAAP;EACA,UAAS,QAAT;;AAEJ;EACI,aAAqB,qBAArB;EACA,WAAU,IAAV;;AACJ;EACI,kBAAiB,YAAjB;EACA,8BAA6B,QAA7B;;AAEJ;AACA;EACI,eAAc,EAAd;;AAEJ;EACI,eAAc,KAAd;EACA,iBAAgB,UAAhB;EACA,iBAAgB,iBAAhB;;AAEJ;AACA;EACI,aAAY,QAAZ;EACA,aAAY,OAAZ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UAAS,SAAT;EACA,YAAY,OAAZ;EACA,gBAAgB,OAAhB;EACA,aAAa,MAAb;;AACA;EACI,YAAW,QAAX;EACA,SAAQ,IAAR;EACA,eAAc,IAAd;;AAGpB;EACI,OAAM,KAAN;EACA,QAAO,YAAP;;AACA;EACI,OAAM,KAAN;EACA,YAAW,MAAX;EACA,YAAW,QAAX;EACA,UAAS,SAAT;EACA,SAAQ,EAAR;EACA,QAAO,EAAP;;AACA;EACI,SAAQ,EAAR;EACA,QAAO,EAAP;EACA,UAAS,SAAT;EACA,SAAQ,MAAR;EACA,OAAM,KAAN;;AACJ;EACI,UAAS,SAAT;EACA,OAAM,IAAN;EACA,QAAO,OAAP;EACA,SAAQ,WAAR;;AAEA;EACI,MAAK,mBAAL;EACA,OAAM,KAAN;EACA,QAAO,MAAP;EACA,OAAM,QAAN;EACA,iBAAgB,KAAhB;EACA,SAAQ,MAAR;EACA,YAAY,UAAZ;EACA,QAAO,cAAP;;AACJ;EACI,MAAK,yBAAL;EACA,OAAM,QAAN;EACA,QAAO,cAAP;EACA,SAAQ,cAAR;EACA,SAAQ,MAAR;;AAGZ;EACI,OAAM,UAAN;EACA,OAAM,IAAN;EACA,QAAO,UAAP;EACA,MAAK,oBAAL;EACA,gBAAe,KAAf","file":"base.css"} \ No newline at end of file +{"version":3,"sources":["../../../styles/base.styl","../../../styles/_normalize.styl","../../../styles/_structure.styl","../../../styles/_mixins.styl","../../../styles/_index.styl","../../../styles/_forms.styl","../../../styles/_page.styl"],"names":[],"mappings":"AACA;;;;;AAQA;;;;;AAQA;;;;;AAQA;;;;;ACzBA;EACI,aAAY,KAAZ;EACA,sBAAqB,KAArB;EACA,0BAAyB,KAAzB;;AAEJ;EACI,QAAO,EAAP;;AAEJ;AACA;AACA;AACA;AACA;AACA;EACI,SAAQ,MAAR;;AAEJ;EACI,WAAU,IAAV;EACA,QAAO,SAAP;EACA,aAAY,IAAZ;;AAEJ;AACA;AACA;EACI,SAAQ,MAAR;;AAEJ;EACI,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AO,cAAP;EACA,SAAQ,cAAR;EACA,SAAQ,MAAR;;AAGZ;EACI,OAAM,UAAN;EACA,OAAM,IAAN;EACA,QAAO,UAAP;EACA,MAAK,oBAAL;EACA,gBAAe,KAAf","file":"base.css"} \ No newline at end of file diff --git a/src/front/assets/scripts/start.min.js b/src/front/assets/scripts/start.min.js index c654030..9bec8c5 100644 --- a/src/front/assets/scripts/start.min.js +++ b/src/front/assets/scripts/start.min.js @@ -198,7 +198,7 @@ var parent = module.bundle.parent; if ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') { var hostname = "" || location.hostname; var protocol = location.protocol === 'https:' ? 'wss' : 'ws'; - var ws = new WebSocket(protocol + '://' + hostname + ':' + "52397" + '/'); + var ws = new WebSocket(protocol + '://' + hostname + ':' + "64438" + '/'); ws.onmessage = function (event) { checkedAssets = {}; diff --git a/src/front/assets/scripts/start.min.js.map b/src/front/assets/scripts/start.min.js.map index a544737..2e6fb18 100644 --- a/src/front/assets/scripts/start.min.js.map +++ b/src/front/assets/scripts/start.min.js.map @@ -1 +1 @@ -{"version":3,"sources":["Base.mjs","Start.mjs"],"names":["Base","start","console","log","document","addEventListener","base"],"mappings":";;ACAA;;;;AAEAI,QAAQ,CAACC,gBAAT,CACC,kBADD,EAEC,YAAY;AACX,MAAIC,IAAI,GAAG,IAAIN,aAAJ,EAAX;AACA,CAJF,EAKC,KALD;;;;;IDFqBA;;;AACpB;AACA;AACA;AACA,kBAAc;AAAA;;AACb,SAAKC,KAAL;AACA;;;;4BACO;AACPC,MAAAA,OAAO,CAACC,GAAR,CAAY,qBAAZ;AACA,MACD;AACA;AACA;AAEA;AACA;AACA","file":"start.min.js","sourceRoot":"../../../com","sourcesContent":["export default class Base {\n\t//--------------------------\n\t// constructor\n\t//--------------------------\n\tconstructor() {\n\t\tthis.start();\n\t}\n\tstart() {\n\t\tconsole.log('Connected like F.E.');\n\t}\n\t//--------------------------\n\t// methods\n\t//--------------------------\n\n\t//--------------------------\n\t// event handlers\n\t//--------------------------\n}\n","import Base from './Base.mjs';\n\ndocument.addEventListener(\n\t'DOMContentLoaded',\n\tfunction () {\n\t\tvar base = new Base();\n\t},\n\tfalse\n);\n"]} \ No newline at end of file +{"version":3,"sources":["Base.mjs","Start.mjs","../../../../../.nvm/versions/node/v10.16.3/lib/node_modules/parcel/src/builtins/hmr-runtime.js"],"names":["Base","start","console","log","document","addEventListener","base","OVERLAY_ID","OldModule","module","bundle","Module","moduleName","call","hot","data","hotData","_acceptCallbacks","_disposeCallbacks","accept","fn","push","dispose","checkedAssets","assetsToAccept","parent","isParcelRequire","WebSocket","hostname","location","protocol","ws","onmessage","event","JSON","parse","type","handled","assets","forEach","asset","isNew","didAccept","hmrAcceptCheck","global","parcelRequire","id","every","generated","js","clear","hmrApply","v","hmrAcceptRun","window","reload","close","onclose","removeErrorOverlay","error","message","stack","overlay","createErrorOverlay","body","appendChild","getElementById","remove","createElement","stackTrace","innerText","innerHTML","getParents","modules","parents","k","d","dep","Array","isArray","length","concat","Function","deps","cached","cache","some","cb"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAqBA;;;AACpB;AACA;AACA;AACA,kBAAc;AAAA;;AACb,SAAKC,KAAL;AACA;;;;4BACO;AACPC,MAAAA,OAAO,CAACC,GAAR,CAAY,qBAAZ;AACA,MACD;AACA;AACA;AAEA;AACA;AACA;;;;;;;;;;;AChBD;;;;AAEAC,QAAQ,CAACC,gBAAT,CACC,kBADD,EAEC,YAAY;AACX,MAAIC,IAAI,GAAG,IAAIN,aAAJ,EAAX;AACA,CAJF,EAKC,KALD;;;ACFA,IAAIO,UAAU,GAAG,4BAAjB;AAEA,IAAIC,SAAS,GAAGC,MAAM,CAACC,MAAP,CAAcC,MAA9B;;AAEA,SAASA,MAAT,CAAgBC,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xC,EAAV,EAAc;AAC7D,WAAOH,cAAc,CAACC,MAAM,CAACC,aAAR,EAAuBC,EAAvB,CAArB;AACD,GAFM,CAAP;AAGD;;AAED,SAASO,YAAT,CAAsB3C,MAAtB,EAA8BoC,EAA9B,EAAkC;AAChC,MAAIsC,MAAM,GAAG1E,MAAM,CAAC2E,KAAP,CAAavC,EAAb,CAAb;AACApC,EAAAA,MAAM,CAACM,OAAP,GAAiB,EAAjB;;AACA,MAAIoE,MAAJ,EAAY;AACVA,IAAAA,MAAM,CAACtE,GAAP,CAAWC,IAAX,GAAkBL,MAAM,CAACM,OAAzB;AACD;;AAED,MAAIoE,MAAM,IAAIA,MAAM,CAACtE,GAAjB,IAAwBsE,MAAM,CAACtE,GAAP,CAAWI,iBAAX,CAA6B8D,MAAzD,EAAiE;AAC/DI,IAAAA,MAAM,CAACtE,GAAP,CAAWI,iBAAX,CAA6BqB,OAA7B,CAAqC,UAAUgD,EAAV,EAAc;AACjDA,MAAAA,EAAE,CAAC7E,MAAM,CAACM,OAAR,CAAF;AACD,KAFD;AAGD;;AAED,SAAON,MAAM,CAAC2E,KAAP,CAAavC,EAAb,CAAP;AACApC,EAAAA,MAAM,CAACoC,EAAD,CAAN;AAEAsC,EAAAA,MAAM,GAAG1E,MAAM,CAAC2E,KAAP,CAAavC,EAAb,CAAT;;AACA,MAAIsC,MAAM,IAAIA,MAAM,CAACtE,GAAjB,IAAwBsE,MAAM,CAACtE,GAAP,CAAWG,gBAAX,CAA4B+D,MAAxD,EAAgE;AAC9DI,IAAAA,MAAM,CAACtE,GAAP,CAAWG,gBAAX,CAA4BsB,OAA5B,CAAoC,UAAUgD,EAAV,EAAc;AAChDA,MAAAA,EAAE;AACH,KAFD;;AAGA,WAAO,IAAP;AACD;AACF","file":"start.min.js","sourceRoot":"../../../com","sourcesContent":["export default class Base {\n\t//--------------------------\n\t// constructor\n\t//--------------------------\n\tconstructor() {\n\t\tthis.start();\n\t}\n\tstart() {\n\t\tconsole.log('Connected like F.E.');\n\t}\n\t//--------------------------\n\t// methods\n\t//--------------------------\n\n\t//--------------------------\n\t// event handlers\n\t//--------------------------\n}\n","import Base from './Base.mjs';\n\ndocument.addEventListener(\n\t'DOMContentLoaded',\n\tfunction () {\n\t\tvar base = new Base();\n\t},\n\tfalse\n);\n","var OVERLAY_ID = '__parcel__error__overlay__';\n\nvar OldModule = module.bundle.Module;\n\nfunction Module(moduleName) {\n OldModule.call(this, moduleName);\n this.hot = {\n data: module.bundle.hotData,\n _acceptCallbacks: [],\n _disposeCallbacks: [],\n accept: function (fn) {\n this._acceptCallbacks.push(fn || function () {});\n },\n dispose: function (fn) {\n this._disposeCallbacks.push(fn);\n }\n };\n\n module.bundle.hotData = null;\n}\n\nmodule.bundle.Module = Module;\nvar checkedAssets, assetsToAccept;\n\nvar parent = module.bundle.parent;\nif ((!parent || !parent.isParcelRequire) && typeof WebSocket !== 'undefined') {\n var hostname = process.env.HMR_HOSTNAME || location.hostname;\n var protocol = location.protocol === 'https:' ? 'wss' : 'ws';\n var ws = new WebSocket(protocol + '://' + hostname + ':' + process.env.HMR_PORT + '/');\n ws.onmessage = function(event) {\n checkedAssets = {};\n assetsToAccept = [];\n\n var data = JSON.parse(event.data);\n\n if (data.type === 'update') {\n var handled = false;\n data.assets.forEach(function(asset) {\n if (!asset.isNew) {\n var didAccept = hmrAcceptCheck(global.parcelRequire, asset.id);\n if (didAccept) {\n handled = true;\n }\n }\n });\n\n // Enable HMR for CSS by default.\n handled = handled || data.assets.every(function(asset) {\n return asset.type === 'css' && asset.generated.js;\n });\n\n if (handled) {\n console.clear();\n\n data.assets.forEach(function (asset) {\n hmrApply(global.parcelRequire, asset);\n });\n\n assetsToAccept.forEach(function (v) {\n hmrAcceptRun(v[0], v[1]);\n });\n } else {\n window.location.reload();\n }\n }\n\n if (data.type === 'reload') {\n ws.close();\n ws.onclose = function () {\n location.reload();\n }\n }\n\n if (data.type === 'error-resolved') {\n console.log('[parcel] ✨ Error resolved');\n\n removeErrorOverlay();\n }\n\n if (data.type === 'error') {\n console.error('[parcel] 🚨 ' + data.error.message + '\\n' + data.error.stack);\n\n removeErrorOverlay();\n\n var overlay = createErrorOverlay(data);\n document.body.appendChild(overlay);\n }\n };\n}\n\nfunction removeErrorOverlay() {\n var overlay = document.getElementById(OVERLAY_ID);\n if (overlay) {\n overlay.remove();\n }\n}\n\nfunction createErrorOverlay(data) {\n var overlay = document.createElement('div');\n overlay.id = OVERLAY_ID;\n\n // html encode message and stack trace\n var message = document.createElement('div');\n var stackTrace = document.createElement('pre');\n message.innerText = data.error.message;\n stackTrace.innerText = data.error.stack;\n\n overlay.innerHTML = (\n '
' +\n 'ERROR' +\n '🚨' +\n '
' + message.innerHTML + '
' +\n '
' + stackTrace.innerHTML + '
' +\n '
'\n );\n\n return overlay;\n\n}\n\nfunction getParents(bundle, id) {\n var modules = bundle.modules;\n if (!modules) {\n return [];\n }\n\n var parents = [];\n var k, d, dep;\n\n for (k in modules) {\n for (d in modules[k][1]) {\n dep = modules[k][1][d];\n if (dep === id || (Array.isArray(dep) && dep[dep.length - 1] === id)) {\n parents.push(k);\n }\n }\n }\n\n if (bundle.parent) {\n parents = parents.concat(getParents(bundle.parent, id));\n }\n\n return parents;\n}\n\nfunction hmrApply(bundle, asset) {\n var modules = bundle.modules;\n if (!modules) {\n return;\n }\n\n if (modules[asset.id] || !bundle.parent) {\n var fn = new Function('require', 'module', 'exports', asset.generated.js);\n asset.isNew = !modules[asset.id];\n modules[asset.id] = [fn, asset.deps];\n } else if (bundle.parent) {\n hmrApply(bundle.parent, asset);\n }\n}\n\nfunction hmrAcceptCheck(bundle, id) {\n var modules = bundle.modules;\n if (!modules) {\n return;\n }\n\n if (!modules[id] && bundle.parent) {\n return hmrAcceptCheck(bundle.parent, id);\n }\n\n if (checkedAssets[id]) {\n return;\n }\n checkedAssets[id] = true;\n\n var cached = bundle.cache[id];\n\n assetsToAccept.push([bundle, id]);\n\n if (cached && cached.hot && cached.hot._acceptCallbacks.length) {\n return true;\n }\n\n return getParents(global.parcelRequire, id).some(function (id) {\n return hmrAcceptCheck(global.parcelRequire, id)\n });\n}\n\nfunction hmrAcceptRun(bundle, id) {\n var cached = bundle.cache[id];\n bundle.hotData = {};\n if (cached) {\n cached.hot.data = bundle.hotData;\n }\n\n if (cached && cached.hot && cached.hot._disposeCallbacks.length) {\n cached.hot._disposeCallbacks.forEach(function (cb) {\n cb(bundle.hotData);\n });\n }\n\n delete bundle.cache[id];\n bundle(id);\n\n cached = bundle.cache[id];\n if (cached && cached.hot && cached.hot._acceptCallbacks.length) {\n cached.hot._acceptCallbacks.forEach(function (cb) {\n cb();\n });\n return true;\n }\n}\n"]} \ No newline at end of file diff --git a/src/front/frame.pug b/src/front/frame.pug index 14b2ac6..8920a38 100644 --- a/src/front/frame.pug +++ b/src/front/frame.pug @@ -20,7 +20,7 @@ html(xmlns='http://www.w3.org/1999/xhtml', lang='en', xml:lang="en") | LINKZ br | LINKZ - h1 Hello There + span= welcome_message script(src='/assets/scripts/start.min.js' type="text/javascript") diff --git a/src/front/index.pug b/src/front/index.pug index 541d745..994275d 100644 --- a/src/front/index.pug +++ b/src/front/index.pug @@ -2,16 +2,19 @@ extends frame block main-content article - .left - .inner - span= title - div !{content_index} - .right - .inner - span Recent - //button - svg(viewBox="0 0 20 20" class="icons") - use(xlink:href='/assets/images/global/sprite.svg#entypo-plus' data-action='') + .index + span= title + p !{content_index} + span Recent + br + - var index = 0; + - for ( index; index < recent_posts.length; index++) + a(href="/"+recent_posts[index].slug)= recent_posts[index].title + label= recent_posts[index].created + br + br + a(href='/archives') Post Archive + label The whole dirty. footer | © 2020 Fipamo by PV diff --git a/src/styles/_structure.styl b/src/styles/_structure.styl index f2610f4..830135c 100644 --- a/src/styles/_structure.styl +++ b/src/styles/_structure.styl @@ -4,7 +4,7 @@ html width 100% height 100% overflow hidden - font 400 1.1em/1.1em $bodyTypeSans + font 400 1.3em/1.1em $bodyTypeSans body color white @@ -17,6 +17,14 @@ body overflow-y scroll overflow-x hidden +a + color $highlight + text-decoration none + border-bottom 1px solid $white + object-transitions(.2s) + &:hover + border-bottom 1px solid $secondary + svg.icons width 25px fill $white @@ -27,19 +35,21 @@ header position relative transform-style inherit width 100vw - text-align center + //text-align center color $white - border-bottom 1px $highlight solid + border-bottom 1px $white solid border-top 5px $highlight solid - h1 + span margin 0 position absolute top 50% left 50% transform translate(-50%, -50%) - background $primary - border-radius 40px + font-weight: 100 padding 15px 20px 10px 20px + font-size 14em + line-height 1 + color $highlight .menu width: 100% text-align: left @@ -55,7 +65,6 @@ header::before right 0 bottom 0 display block - //background url('/assets/images/global/default-bg.jpg') background-size cover transform-origin center center 0 transform translateZ(-1px) scale(2) @@ -73,27 +82,31 @@ header::before //padding 40px color $black article - .right, .left - //min-height 500px; - width 49.9% - display inline-flex - vertical-align: top - //align-items center - justify-content center - background $black - .left - border-right 1px $highlight solid - - .inner - position relative - width: 80% - height 80% - margin 30px 0 30px 0 - background $black - vertical-align top + position relative + width: 80% + height 80% + max-width 840px + min-height 500px + background $black + vertical-align top + color $white + margin 0 auto + span + custom-header(600, 2em, 1.5, $secondary) + .index + margin 30px + label + background $black color $white - span - custom-header(600, 1.5em, 2, $secondary) + font-size 1.5em + line-height 1.3 + a + font-size 1.5em + line-height 1.3 + margin-bottom 10px + margin-right 10px + font-weight 400 + section color $white