Skip to content

Commit

Permalink
Alignment fixed for mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
CodHeK committed May 31, 2017
1 parent 4fd32a0 commit 83e28ea
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
6 changes: 4 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,18 @@
</div><!-- /.container-fluid -->
</nav>

<div id="content" style="margin: 0 auto;text-align: center;">
<div id="content" style="margin: 0 auto;text-align: center;padding-top: 3%;">
<h1 style="text-align: center;color: rgb(103, 65, 114);">SIGN UP</h1>
<br>
<form method="POST" action="dosignup.php">
<div class="form-group col-md-6" style="margin-left: 25%;">
<div class="col-md-4"></div>
<div class="form-group col-md-4" style="margin-left: 25%;">
<input type="text" name="name" placeholder="Enter Username" class="form-control"><br>
<input type="email" name="email" placeholder="Enter Email" class="form-control"><br>
<input type="password" name="password" placeholder="Enter Password" class="form-control"><br>
<input type="submit" class="btn btn-defaut" name="signup" value="SIGN UP" style="background-color: rgb(103, 65, 114);color: #fff;font-weight: 700;">
</div>
<div class="col-md-4"></div>
</form>
</div>
</body>
Expand Down
6 changes: 4 additions & 2 deletions login.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,17 @@
</div><!-- /.container-fluid -->
</nav>

<div id="content" style="margin: 0 auto;text-align: center;">
<div id="content" style="margin:0 auto;text-align: center;padding-top: 3%;">
<h1 style="color: rgb(103, 65, 114)">LOG IN</h1>
<br>
<form method="POST" action="logincheck.php">
<div class="form-group col-md-6" style="margin-left: 25%;">
<div class="col-md-4"></div>
<div class="form-group col-md-4" style="margin:auto;">
<input type="text" name="name" placeholder="Enter Username" class="form-control"><br>
<input type="password" name="password" placeholder="Enter Password" class="form-control"><br>
<input type="submit" class="btn btn-defaut" name="login" value="LOG IN" style="background-color: rgb(103, 65, 114);color: #fff;font-weight: 700;">
</div>
<div class="col-md-4"></div>
</form>
</div>
</body>
Expand Down
3 changes: 2 additions & 1 deletion postedit.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
<meta http-equiv="refresh" content="60" >
<link href="https://fonts.googleapis.com/css?family=Changa:200|Source+Sans+Pro:200" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
<link href="https://fonts.googleapis.com/css?family=Barrio|Permanent+Marker" rel="stylesheet">
<style type="text/css">
body {
font-family: 'Source Sans Pro', sans-serif;
Expand All @@ -95,7 +96,7 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#" style="color: white;margin-left: 7%;font-weight: 700;">PDOphp</a>
<a class="navbar-brand" href="#" style="color: white;margin-left: 7%;font-weight: 700;font-family: Permanent Marker;font-size: 23px;">yapdaily</a>
</div>

<!-- Collect the nav links, forms, and other content for toggling -->
Expand Down

0 comments on commit 83e28ea

Please sign in to comment.