diff --git a/README.md b/README.md index cb97673..a3699d0 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,29 @@ # NodeJSBlog -Recreating my Wordpress blog in node JS. +This is a project I did to recreate my word press blog using plane node js. If I were to +do this again, I would use PHP. NodeJS is great, however, it was a pain to deal +with all the asynchronous calls when trying to create a web page in a linear fashion. + +If you want to run this project, it requires Mysql, npm, and node to be installed. For +deployment I use a [Nginx](https://www.digitalocean.com/community/tutorials/how-to-set-up-a-node-js-application-for-production-on-ubuntu-16-04) +proxy. + + +## Color scheme + +[Adobe Color Wheel](https://color.adobe.com/create/color-wheel/?copy=true&base=2&rule=Custom&selected=3&name=Copy%20of%20Site&mode=rgb&rgbvalues=0.231,0.325499999999957,0.42,0,0.7450980392156863,0.6980392156862745,0.10196078431372549,0.36470588235294116,0.38823529411764707,0.8235294117647058,0.7529411764705882,1,0.3165071770335184,0.24148325358851674,0.49&swatchOrder=0,1,2,3,4) + +Blue: +- Primary: #3B536B +- Secondary: #00BEB2 + +Purple: +- Primary: #513E7D +- Secondary: #D2C0FF ## MYSQL Information +![](blogSql.svg) + ```SQL create database jrtechs_blog; @@ -33,6 +54,8 @@ url varchar(100) not null, primary key(post_id) ); +// not used yet + create table downloads( download_id mediumint unsigned not null AUTO_INCREMENT, url varchar(20) not null, diff --git a/css/bootstrap.css b/css/bootstrap.css index 031b813..335327c 100644 --- a/css/bootstrap.css +++ b/css/bootstrap.css @@ -9637,10 +9637,13 @@ a:hover background-color: #3B536B !important; } -#mainNav { +#mainNav +{ font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: 700; text-transform: uppercase; + padding-top: 15px; + padding-bottom: 15px; } @@ -9668,7 +9671,8 @@ a:hover } -.navbar-toggler { +.navbar-toggler +{ padding: 0.25rem 0.75rem; font-size: 1.09375rem; line-height: 1; diff --git a/includes/header.html b/includes/header.html index 5db5579..7737ae5 100644 --- a/includes/header.html +++ b/includes/header.html @@ -47,9 +47,9 @@ - + + +