-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 6c7d064
Showing
64 changed files
with
6,878 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
_site/ | ||
send.php | ||
.DS_Store | ||
node_modules | ||
.sass-cache | ||
css/src/main-unprefixed.css |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "js/fittext"] | ||
path = js/fittext | ||
url = https://github.com/jpederson/FitText.js.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
|
||
module.exports = function(grunt) { | ||
|
||
// load all grunt tasks | ||
require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks); | ||
|
||
grunt.initConfig({ | ||
|
||
// store some paths | ||
cssDir: 'css', | ||
scssDir: 'css/src', | ||
jsDir: 'js', | ||
jsLibDir: 'js/lib', | ||
jsSrcDir: 'js/src', | ||
|
||
|
||
// watch for changes and trigger compass, jshint, uglify and livereload | ||
watch: { | ||
js: { | ||
files: ['<%= jsLibDir %>/*.js', '<%= jsSrcDir %>/*.js'], | ||
tasks: ['uglify'], | ||
options: { | ||
livereload: true, | ||
}, | ||
}, | ||
css: { | ||
files: '<%= scssDir %>/*.scss', | ||
tasks: ['sass', 'autoprefixer'], | ||
options: { | ||
livereload: true, | ||
}, | ||
} | ||
}, | ||
|
||
|
||
// we use the Sass | ||
sass: { | ||
dist: { | ||
options: { | ||
// nested, compact, compressed, expanded | ||
style: 'compressed' | ||
}, | ||
files: { | ||
'<%= scssDir %>/main-unprefixed.css': '<%= scssDir %>/main.scss' | ||
} | ||
} | ||
}, | ||
|
||
|
||
// uglify to concat & minify | ||
uglify: { | ||
js: { | ||
files: { | ||
'<%= jsDir %>/main.js': [ | ||
'<%= jsLibDir %>/*.js', | ||
'js/fittext/jquery.fittext.js', | ||
'<%= jsSrcDir %>/*.js', | ||
], | ||
} | ||
} | ||
}, | ||
|
||
|
||
// auto-prefix our css3 properties. | ||
autoprefixer: { | ||
files: { | ||
dest: '<%= cssDir %>/main.css', | ||
src: '<%= scssDir %>/main-unprefixed.css' | ||
} | ||
}, | ||
|
||
|
||
}); | ||
|
||
|
||
// register task | ||
grunt.registerTask('default', ['watch']); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Promedica Moments | ||
|
||
A one-page calculator site for Promedica Federal Credit Union. | ||
|
||
The art, logo, and names used belong to their respective owners and shouldn't be used without permission. That said, help yourself to the code or suggest improvements! |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
|
||
body { | ||
@include font; | ||
font-size: 85%; | ||
line-height: 1.5em; | ||
color: #333; | ||
|
||
@include respond-to( 1024px ) { | ||
font-size: 100%; | ||
} | ||
} | ||
|
||
a { | ||
color: darken( $link-color, 10% ); | ||
text-decoration: none; | ||
|
||
&:hover { | ||
color: $link-color; | ||
} | ||
|
||
&.no-dots { | ||
border-bottom: 0; | ||
} | ||
} | ||
|
||
h1, h2, h3, h4, h5, h6, p { | ||
margin: 0; | ||
padding: 10px 0; | ||
} | ||
|
||
h1, h2, h3 { | ||
@include font-bold; | ||
} | ||
|
||
h1 { | ||
font-size: 2.4em; | ||
} | ||
|
||
h2 { | ||
font-size: 2em; | ||
line-height: 1.1em; | ||
} | ||
|
||
h3 { | ||
font-size: 1.8em; | ||
line-height: 1.2em; | ||
|
||
&.caps { | ||
text-transform: uppercase; | ||
padding-top: 50px; | ||
} | ||
} | ||
|
||
h4 { | ||
font-size: 1.6em; | ||
line-height: 1.3em; | ||
} | ||
|
||
strong { | ||
@include font-bold; | ||
} | ||
|
||
input[type=text], select, textarea { | ||
display: block; | ||
width: 100%; | ||
padding: 14px 20px; | ||
border: 0; | ||
font-size: 18px; | ||
line-height: 20px; | ||
-webkit-border-radius: 15px; | ||
-moz-border-radius: 15px; | ||
border-radius: 15px; | ||
-webkit-appearance: none; | ||
background: white; | ||
|
||
&.amount { | ||
background: white url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAeBAMAAACcf1DPAAAAIVBMVEUAAACkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKT7b4aZAAAACnRSTlMAm4ApQMYQ3W1QNQOf6wAAAIRJREFUKM9joA3gVMMlw7qEZJmkqlXLG7BJsFWtWrVKAJsM46pKl4kTsMlwrXLAYQ3XchCJXY8BkMRuz6IE7DLMq1YtxKErESiFQ5fRqlUBOKxiWrUYl/ukFuGS6cIpE4VVhiOBgQO7PVarQnGEddcqoH+w2sGiGLXQgHrpgIHZjYGWAADGBCLRA4y1vAAAAABJRU5ErkJggg==') left center no-repeat; | ||
padding: 14px 0 14px 30px; | ||
} | ||
|
||
&.percent { | ||
background: white url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAeBAMAAACcf1DPAAAAJ1BMVEUAAACkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKSkpKRvW9ciAAAADHRSTlMAOZbGgBBY7NlwILNagw7UAAAAyUlEQVQoz9XPrw6CUBgF8KOIzj9BOoHNzUSwslmMTgIm5mYwGgg+gFEbwQcw+AAEHoAgfwRk56GUKN98AE64N/x273c+tCBHXupLfzehSzIEVF6bEpTaMgfGnDbFrjBJAS8TY8wnlBIjLoREXymg8CHEfmGQws4hoifOPesw3M3mDVFY8OQWW580fkU1mTpmrNA6ix81p09DTzAoILIv4cXoUkoUw47Rk82HvP15E6R1ebhyjl8BY1oU3Xo8AGq9j5B1ffY3K7QgHxSbQJgYtVbrAAAAAElFTkSuQmCC') right center no-repeat; | ||
} | ||
} | ||
|
||
select { | ||
background: white url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAFMN540AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6OTRGMjU5OUNGQzkxMTFFMkIxMDE4QUM0MEI1QTMzRDQiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6OTRGMjU5OURGQzkxMTFFMkIxMDE4QUM0MEI1QTMzRDQiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo5NEYyNTk5QUZDOTExMUUyQjEwMThBQzQwQjVBMzNENCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo5NEYyNTk5QkZDOTExMUUyQjEwMThBQzQwQjVBMzNENCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PqV+IWIAAAE7SURBVHjaYvz//z8DMmBiQANggZaWFhDeBmIzomsBCCBGos3YBjIHqxaAAMIQQAcsMAbUiCNQrk1NTQ2qApgEugkErQAIILwKmPDpZCLW5TBXMwBdbYOu0wbd5ejG9lPHtQABRDAgyPYqIYAeR6Ag0QJSPljUbgEG0TW8moEApOA3EM9HEksE4tvEOhuk0A7KtsOmcWADDCCABs7mIaqZBS11gagyHGq7YEUHvhQGyrFdaGJlxDr7GBD/Q+L/g4oR7WcfHGyCzgaBT0jp+ROpmmE5aTR5ogGAAKPIz6MWD32LYW0YcgB6iUNKboQBViBeDMQyRKh9AsSx0DqS4iwBMiQCiE8SUHcaqu43tfNiMRCvxyEHEi+kZSHQC8WExGhS+oB8lwNl5+MJBYoTFzZwAVtrerQAGbUYGQAAJBR569gu2ocAAAAASUVORK5CYII=) right center no-repeat; | ||
padding: 16px 20px; | ||
width: 100%; | ||
} | ||
|
||
textarea { | ||
height: 235px; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
|
||
|
||
@font-face { | ||
font-family: 'Nunito Sans Bold'; | ||
src: url('fonts/nunito-sans-bold.woff2') format('woff2'), | ||
url('fonts/nunito-sans-bold.woff') format('woff'); | ||
font-weight: normal; | ||
font-style: normal; | ||
|
||
} | ||
|
||
@font-face { | ||
font-family: 'Nunito Sans'; | ||
src: url('fonts/nunito-sans.woff2') format('woff2'), | ||
url('fonts/nunito-sans.woff') format('woff'); | ||
font-weight: normal; | ||
font-style: normal; | ||
|
||
} | ||
|
||
@mixin font-title { | ||
font-family: "Nunito Sans Bold", sans-serif; | ||
font-weight: normal; | ||
} | ||
|
||
@mixin font { | ||
font-family: "Nunito Sans", sans-serif; | ||
font-weight: normal; | ||
} | ||
|
||
@mixin font-bold { | ||
font-family: "Nunito Sans Bold", sans-serif; | ||
font-weight: normal; | ||
} | ||
|
Oops, something went wrong.