forked from acearo/base-laravel
Compare commits
2 commits
Author | SHA1 | Date | |
---|---|---|---|
|
ceeebfc833 | ||
5638c5912c |
6 changed files with 11 additions and 10 deletions
|
@ -14,7 +14,7 @@ class CreateRecipesTable extends Migration
|
|||
public function up()
|
||||
{
|
||||
Schema::create('recipes', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->increments('id');
|
||||
$table->string('name');
|
||||
$table->unsignedInteger('user_id');
|
||||
$table->string('author');
|
||||
|
|
|
@ -14,12 +14,12 @@ class CreateRecipeCommentsTable extends Migration
|
|||
public function up()
|
||||
{
|
||||
Schema::create('recipe_comments', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->timestamps();
|
||||
$table->increments('id');
|
||||
$table->unsignedInteger('recipe_id');
|
||||
$table->unsignedInteger('user_id');
|
||||
$table->datetime('date_posted');
|
||||
$table->longtext('comment');
|
||||
$table->timestamps();
|
||||
|
||||
$table->foreign('recipe_id')->references('id')->on('recipes');
|
||||
$table->foreign('user_id')->references('id')->on('users');
|
||||
|
|
|
@ -14,7 +14,7 @@ class CreateRecipeIngredientsTable extends Migration
|
|||
public function up()
|
||||
{
|
||||
Schema::create('recipe_ingredients', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->increments('id');
|
||||
$table->unsignedInteger('recipe_id');
|
||||
$table->unsignedInteger('order');
|
||||
$table->boolean('alternative');
|
||||
|
|
|
@ -14,7 +14,7 @@ class CreateRecipeCategoryTable extends Migration
|
|||
public function up()
|
||||
{
|
||||
Schema::create('recipe_categories', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->increments('id');
|
||||
$table->unsignedInteger('recipe_id');
|
||||
$table->string('name');
|
||||
$table->timestamps();
|
||||
|
|
11
public/css/layout.css
vendored
11
public/css/layout.css
vendored
|
@ -1,13 +1,13 @@
|
|||
/***color definitions***/
|
||||
:root{
|
||||
/***light/dark determined from here: https://www.hexcolortool.com/ - convert css to sass files at later date and use built in tools***/
|
||||
--transparent: #0000;
|
||||
--transparent: rgb(253, 252, 252);
|
||||
--primary-bg: #241224aa;/*light blue*/
|
||||
--primary-bg-offset: #120612aa;/*20% darker*/
|
||||
--primary-bg-dark: #120612aa;/*10% darker*/
|
||||
--secondary-bg: #122412aa;/*10% lighter*/
|
||||
--secondary-bg-opaque: #122412;/*10% lighter*/
|
||||
--primary-font: #aaf;/*white*/
|
||||
--primary-font: #fcf9f9;/*white*/
|
||||
--primary-highlight: #0000df;/*red*/
|
||||
--primary-highlight-dark: #000064;/*20% darker*/
|
||||
--secondary-highlight: #f80049;/*orange*/
|
||||
|
@ -66,9 +66,10 @@ header {
|
|||
top: 10px;
|
||||
}
|
||||
|
||||
#banner_text{
|
||||
font-size:10vw;
|
||||
color: var(--primary-highlight-dark);
|
||||
#banner_text{("/images/banner5.png");
|
||||
height:20%;
|
||||
***font-size:10vw;
|
||||
color: var(--primary-highlight-dark);***
|
||||
}
|
||||
|
||||
/***this is placement/style for the right menu***/
|
||||
|
|
BIN
public/images/banner5.png
Normal file
BIN
public/images/banner5.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 19 KiB |
Loading…
Add table
Reference in a new issue