Skip to content
Snippets Groups Projects
Commit 325f4432 authored by Muhammad Umar Fariz Tumbuan's avatar Muhammad Umar Fariz Tumbuan
Browse files

Merapikan layout secara umum

parent 47904544
1 merge request!45OneHundred - 13515005 - Husnulzaki Wibisono Haryadi
...@@ -7,6 +7,7 @@ body { ...@@ -7,6 +7,7 @@ body {
width: 360px; width: 360px;
height: 550px; height: 550px;
margin: 50px auto; margin: 50px auto;
padding: 5px 20px;
padding-right: 20px; padding-right: 20px;
padding-left: 20px; padding-left: 20px;
border-top: 0.5px solid black; border-top: 0.5px solid black;
...@@ -80,14 +81,13 @@ a:hover { ...@@ -80,14 +81,13 @@ a:hover {
} }
.menu_container { .menu_container {
background-color: red;
width: 360px; width: 360px;
margin-left: auto; margin: 15px auto 5px auto;
margin-right: auto;
} }
.subheader { .subheader {
height: 15%; height: 15%;
margin-bottom: 10px;
} }
.title { .title {
float: left; float: left;
...@@ -112,3 +112,19 @@ a:hover { ...@@ -112,3 +112,19 @@ a:hover {
height: 100%; height: 100%;
width: 100%; width: 100%;
} }
ul.nav_bar {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
display: table;
width: inherit;
}
ul.nav_bar > li {
display: table-cell;
}
#main_nav_bar.nav_bar > li {
}
\ No newline at end of file
...@@ -23,3 +23,8 @@ ...@@ -23,3 +23,8 @@
margin: 0 ; margin: 0 ;
margin-top: 10px; margin-top: 10px;
} }
div.greeting a, div.greeting a:link, div.greeting a:visited {
color: blue;
text-decoration: underline;
}
.profile_container { .profile_container {
margin-top: 10%;
height: 50%; height: 50%;
} }
......
<?php <?php
echo '<div class="logo"> echo '<div class="logo">
<h1>OneHundred</h1> <h1><span style="color: red;">One</span><span style="color: green;">Hundred</span></h1>
<p>"An ojek for anything you need"</p></br> <p>"An ojek for anything you need"</p></br>
</div> </div>
<div class="greeting"> <div class="greeting">
......
<?php <?php
echo ' echo '
<a href="../order/select_location.php?id='. $user_id .'" name="order_link"> <ul id="main_nav_bar" class="nav_bar">
<div class="menu" id="order_link"> <li>
<h3>ORDER</h3> <a class="menu" id="order_link" href="../order/select_location.php?id='. $user_id .'" name="order_link">
</div> <h3>ORDER</h3>
</a> </a>
<a href="../history/transaction_history.php?id='. $user_id .'" name="history_link"> </li>
<div class="menu" id="history_link"> <li>
<h3>HISTORY</h3> <a class="menu" id="history_link" href="../history/transaction_history.php?id='. $user_id .'" name="history_link">
</div> <h3>HISTORY</h3>
</a> </a>
<a href="../profile/profile.php?id='. $user_id .'" name="profile_link"> </li>
<div class="menu" id="profile_link"> <li>
<h3>MY PROFILE</h3> <a class="menu" id = "profile_link" href="../profile/profile.php?id='. $user_id .'" name="profile_link">
</div> <h3>MY PROFILE</h3>
</a> </a>
'; </li>
?> </ul>';
?>
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment