diff --git a/database/migrations/2015_09_02_033955_create_exercises_table.php b/database/migrations/2015_09_02_033955_create_exercises_table.php index cde3c04..53f59f2 100644 --- a/database/migrations/2015_09_02_033955_create_exercises_table.php +++ b/database/migrations/2015_09_02_033955_create_exercises_table.php @@ -14,6 +14,9 @@ class CreateExercisesTable extends Migration { Schema::create('exercises', function (Blueprint $table) { $table->increments('id'); + $table->string('exercise_name'); + $table->string('muscle_group'); + $table->string('exercise_type'); $table->timestamps(); }); } diff --git a/public/assets/css/styles.css b/public/assets/css/styles.css index e95d549..fbf87b0 100644 --- a/public/assets/css/styles.css +++ b/public/assets/css/styles.css @@ -27,6 +27,43 @@ body { display:inline-block; } +.banner { + position:relative; + width:100%; + display:block; +} + +.banner img { + width:100%; + height:auto; +} + +.banner h1 { + background-color:rgba(0, 0, 0, 0.5) !important; + border-bottom:none !important; + color:#fff; + position:absolute; + width:100%; + max-width:100% !important; + margin:0 !important; + padding:5px 0 !important; + top:45%; + text-align:center; + display:block; + text-shadow:0px 0px 5px #000; +} + +.banner button { + font-size: 20px; + color: #fff; + background-color:#87161a; + text-shadow:0px 0px 5px #000; + border:solid 1px #87161a; + border-radius:5px; + margin:10px; + cursor:pointer; +} + #nav { float:right; margin-right:5px; @@ -94,7 +131,7 @@ fieldset { #nav { float:none; display:block; - width:290px + width:290px; margin:auto; } diff --git a/public/assets/images/banner.jpg b/public/assets/images/banner.jpg new file mode 100644 index 0000000..47df303 Binary files /dev/null and b/public/assets/images/banner.jpg differ diff --git a/resources/views/home.blade.php b/resources/views/home.blade.php index 4edcaf8..c19e4a8 100644 --- a/resources/views/home.blade.php +++ b/resources/views/home.blade.php @@ -6,10 +6,10 @@ @section('content')