FIX zoom (temporary)
This commit is contained in:
parent
9edb68bb67
commit
7351c79953
@ -1,10 +1,16 @@
|
||||
@import "fonts.less";
|
||||
@import "githubPages.less";
|
||||
@import (less) "../node_modules/normalize.css/normalize.css";
|
||||
@header: #4B5B6E;
|
||||
@background: #CCCCCC;
|
||||
@darkgrey: #343444;
|
||||
@main: #E77171;
|
||||
|
||||
html {
|
||||
zoom: 0.75;
|
||||
-webkit-text-size-adjust: auto;
|
||||
}
|
||||
|
||||
body {
|
||||
background: @background;
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
@ -12,12 +18,12 @@ body {
|
||||
padding: 0;
|
||||
-webkit-print-color-adjust: exact;
|
||||
box-sizing: border-box;
|
||||
|
||||
/* https://github.com/ariya/phantomjs/issues/12685 */
|
||||
page {
|
||||
background: white;
|
||||
position: relative;
|
||||
width: 15.8cm;
|
||||
height: 22.25cm;
|
||||
width: 21cm;
|
||||
height: 29.7cm;
|
||||
display: block;
|
||||
page-break-after: auto;
|
||||
overflow: hidden;
|
||||
|
||||
101
package.json
101
package.json
@ -1,54 +1,51 @@
|
||||
{
|
||||
"name": "best-resume-ever",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "server.js",
|
||||
"scripts": {
|
||||
"server": "node --harmony-async-await src/server.js",
|
||||
"less": "node --harmony-async-await src/compileLess.js",
|
||||
"readme": "node --harmony-async-await src/renderReadMe.js",
|
||||
"start": "npm run less && npm run server",
|
||||
"less:dev": "onchange 'resumes/**/*.less' 'less/**/*.less' -- npm run less"
|
||||
},
|
||||
"pre-commit": [
|
||||
"less",
|
||||
"readme"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/SalamiMitPizza/beautifulCV.git"
|
||||
},
|
||||
"author": "salamimipizza",
|
||||
"homepage": "https://salamimitpizza.github.io/beautifulCV/",
|
||||
"dependencies": {
|
||||
"@typopro/web-montserrat": "^3.4.9",
|
||||
"buffer-to-string": "^0.1.0",
|
||||
"clean-css": "^4.0.4",
|
||||
"electron": "^1.4.15",
|
||||
"electroshot": "^1.2.0",
|
||||
"express": "^4.14.1",
|
||||
"font-awesome": "^4.7.0",
|
||||
"fs": "0.0.1-security",
|
||||
"hogan-express": "^0.5.2",
|
||||
"html-pdf": "2.1.0",
|
||||
"html-to-pdf": "^0.1.11",
|
||||
"jquery": "^3.1.1",
|
||||
"less": "^2.7.2",
|
||||
"less-plugin-clean-css": "^1.5.1",
|
||||
"local-web-server": "1.2.6",
|
||||
"markdown-to-html": "0.0.13",
|
||||
"material-design-icons": "^3.0.1",
|
||||
"mustache": "^2.3.0",
|
||||
"mustache-express": "^1.2.4",
|
||||
"npm-font-open-sans-condensed": "^1.0.3",
|
||||
"onchange": "^3.2.1",
|
||||
"open-sans-fontface": "^1.4.0",
|
||||
"path": "^0.12.7",
|
||||
"pdf-to-png": "^1.0.3",
|
||||
"pre-commit": "^1.2.2",
|
||||
"raleway-webfont": "^3.0.1",
|
||||
"roboto-fontface": "^0.7.0",
|
||||
"showdown": "^1.6.3",
|
||||
"write": "^0.3.2"
|
||||
}
|
||||
"name": "best-resume-ever",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "server.js",
|
||||
"scripts": {
|
||||
"server": "node --harmony-async-await src/server.js",
|
||||
"less": "node --harmony-async-await src/compileLess.js",
|
||||
"readme": "node --harmony-async-await src/renderReadMe.js",
|
||||
"start": "npm run less && npm run server",
|
||||
"pdf": "node --harmony-async-await src/htmlToPdf.js"
|
||||
},
|
||||
"pre-commit": [
|
||||
"less",
|
||||
"readme"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/SalamiMitPizza/beautifulCV.git"
|
||||
},
|
||||
"author": "salamimipizza",
|
||||
"homepage": "https://salamimitpizza.github.io/beautifulCV/",
|
||||
"dependencies": {
|
||||
"@typopro/web-montserrat": "^3.4.9",
|
||||
"buffer-to-string": "^0.1.0",
|
||||
"clean-css": "^4.0.4",
|
||||
"express": "^4.14.1",
|
||||
"font-awesome": "^4.7.0",
|
||||
"fs": "0.0.1-security",
|
||||
"hogan-express": "^0.5.2",
|
||||
"html-pdf": "2.1.0",
|
||||
"html-to-pdf": "^0.1.11",
|
||||
"jquery": "^3.1.1",
|
||||
"less": "^2.7.2",
|
||||
"less-plugin-clean-css": "^1.5.1",
|
||||
"local-web-server": "1.2.6",
|
||||
"markdown-to-html": "0.0.13",
|
||||
"material-design-icons": "^3.0.1",
|
||||
"mustache": "^2.3.0",
|
||||
"mustache-express": "^1.2.4",
|
||||
"normalize.css": "^5.0.0",
|
||||
"npm-font-open-sans-condensed": "^1.0.3",
|
||||
"open-sans-fontface": "^1.4.0",
|
||||
"path": "^0.12.7",
|
||||
"pre-commit": "^1.2.2",
|
||||
"raleway-webfont": "^3.0.1",
|
||||
"roboto-fontface": "^0.7.0",
|
||||
"showdown": "^1.6.3",
|
||||
"write": "^0.3.2"
|
||||
}
|
||||
}
|
||||
|
||||
BIN
pdf/resume-1.pdf
BIN
pdf/resume-1.pdf
Binary file not shown.
BIN
pdf/resume-2.pdf
BIN
pdf/resume-2.pdf
Binary file not shown.
BIN
pdf/resume-3.pdf
BIN
pdf/resume-3.pdf
Binary file not shown.
BIN
pdf/resume-4.pdf
BIN
pdf/resume-4.pdf
Binary file not shown.
BIN
pdf/resume-5.pdf
BIN
pdf/resume-5.pdf
Binary file not shown.
BIN
pdf/resume-6.pdf
BIN
pdf/resume-6.pdf
Binary file not shown.
2
public/style.min.css
vendored
2
public/style.min.css
vendored
File diff suppressed because one or more lines are too long
@ -1,7 +1,8 @@
|
||||
@fontSize: 1em;
|
||||
|
||||
#resume1 {
|
||||
body {
|
||||
font-family: 'Source Sans Pro', sans-serif;
|
||||
}
|
||||
font-family: 'Source Sans Pro', sans-serif;
|
||||
font-size: @fontSize;
|
||||
|
||||
h3 {
|
||||
margin-bottom: 0;
|
||||
@ -24,20 +25,20 @@
|
||||
|
||||
.half {
|
||||
width: 44%;
|
||||
}
|
||||
|
||||
.left {
|
||||
float: left;
|
||||
text-align: right;
|
||||
padding-left: 4%;
|
||||
padding-right: 2%;
|
||||
}
|
||||
&.left {
|
||||
float: left;
|
||||
text-align: right;
|
||||
padding-left: 4%;
|
||||
padding-right: 2%;
|
||||
}
|
||||
|
||||
.right {
|
||||
float: right;
|
||||
text-align: left;
|
||||
padding-right: 4%;
|
||||
padding-left: 2%;
|
||||
&.right {
|
||||
float: right;
|
||||
text-align: left;
|
||||
padding-right: 4%;
|
||||
padding-left: 2%;
|
||||
}
|
||||
}
|
||||
|
||||
.center {
|
||||
@ -53,8 +54,8 @@
|
||||
border: 1px solid black;
|
||||
text-transform: uppercase;
|
||||
padding: 10px 20px;
|
||||
margin-top: 70px;
|
||||
margin-bottom: 0;
|
||||
margin-top: 80px;
|
||||
margin-bottom: 5px;
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
font-size: 25px;
|
||||
font-weight: bold;
|
||||
@ -72,8 +73,8 @@
|
||||
.image {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
margin-top: 20px;
|
||||
margin-bottom: 20px;
|
||||
margin-top: 25px;
|
||||
margin-bottom: 25px;
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
@ -82,82 +83,90 @@
|
||||
}
|
||||
}
|
||||
|
||||
.contact,
|
||||
.experience,
|
||||
.experience-block {
|
||||
.contact {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.experience-block span {
|
||||
width: 100%;
|
||||
.experience {
|
||||
.experience-block span {
|
||||
width: 100%;
|
||||
color: #616161;
|
||||
|
||||
&.company {
|
||||
font-weight: bold;
|
||||
padding-bottom: 5px;
|
||||
padding-top: 10px;
|
||||
color: #424242;
|
||||
}
|
||||
|
||||
&.job-title {
|
||||
font-style: italic;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.education-block span {
|
||||
color: #616161;
|
||||
|
||||
&.company,
|
||||
&.degree {
|
||||
font-weight: bold;
|
||||
padding-bottom: 10px;
|
||||
padding-top: 20px;
|
||||
padding-bottom: 5px;
|
||||
padding-top: 10px;
|
||||
color: #424242;
|
||||
}
|
||||
}
|
||||
|
||||
.education-block span.degree-description,
|
||||
.experience-block span.job-description,
|
||||
.experience-block span.time-period,
|
||||
.skills-other {
|
||||
color: #616161;
|
||||
}
|
||||
|
||||
.experience-block span.job-title {
|
||||
font-style: italic;
|
||||
color: #616161;
|
||||
}
|
||||
|
||||
.skill-block {
|
||||
display: flex;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
.skill-block .skill {
|
||||
width: 100px;
|
||||
color: #616161;
|
||||
}
|
||||
|
||||
.skill-block .skill-bar {
|
||||
background: #E0E0E0;
|
||||
overflow: hidden;
|
||||
height: 8px;
|
||||
flex: 1;
|
||||
border-radius: 3px;
|
||||
margin-top: 6.5px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.skill-bar .level {
|
||||
background: #757575;
|
||||
height: 100%;
|
||||
margin-bottom: 10px;
|
||||
font-size: @fontSize;
|
||||
}
|
||||
|
||||
.skills {
|
||||
margin-top: 20px;
|
||||
margin-bottom: 20px;
|
||||
margin-bottom: 10px;
|
||||
font-size: @fontSize;
|
||||
|
||||
.skill-block {
|
||||
display: flex;
|
||||
padding-bottom: 10px;
|
||||
|
||||
.skill {
|
||||
width: 100px;
|
||||
color: #616161;
|
||||
}
|
||||
|
||||
.skill-bar {
|
||||
background: #E0E0E0;
|
||||
overflow: hidden;
|
||||
height: 8px;
|
||||
flex: 1;
|
||||
border-radius: 3px;
|
||||
margin-top: 6.5px;
|
||||
position: relative;
|
||||
|
||||
.level {
|
||||
background: #757575;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.contact table {
|
||||
font-size: @fontSize;
|
||||
text-align: right;
|
||||
float: right;
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.contact table i {
|
||||
padding: 5px;
|
||||
margin-top: 5px;
|
||||
color: #616161;
|
||||
}
|
||||
|
||||
.contact table tr td:nth-child(2) {
|
||||
vertical-align: top;
|
||||
}
|
||||
i {
|
||||
padding: 2px;
|
||||
color: #616161;
|
||||
}
|
||||
|
||||
.contact table {
|
||||
color: #616161;
|
||||
tr td:nth-child(2) {
|
||||
vertical-align: top;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -13,6 +13,10 @@
|
||||
|
||||
|
||||
{{>content}}
|
||||
<script>
|
||||
var userAgent = navigator.userAgent;
|
||||
if (userAgent.indexOf('PhantomJS') < 0) document.getElementsByTagName('html')[0].style['zoom'] = 1;
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user