Compare commits

...
Sign in to create a new pull request.

2 commits
master ... dev

Author SHA1 Message Date
karen
ceeebfc833 Update layout.css and banner5.png 2022-03-20 19:40:24 -05:00
5638c5912c Fixed id fields 2022-03-20 19:37:30 -05:00
6 changed files with 11 additions and 10 deletions

View file

@ -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');

View file

@ -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');

View file

@ -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');

View file

@ -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
View file

@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB