From 72786d6d2a136e49a3a9ad8eeb9c5159b1ab8689 Mon Sep 17 00:00:00 2001 From: ayamberkakienam <zackhardyz@gmail.com> Date: Thu, 5 Oct 2017 13:24:57 +0700 Subject: [PATCH] Modifikasi tampilan default --- css/default_style.css | 22 ++++++++++++++++++++-- css/header.css | 1 - profile_page/profile.php | 2 +- template/menu.php | 6 +++--- 4 files changed, 24 insertions(+), 7 deletions(-) diff --git a/css/default_style.css b/css/default_style.css index ebd27e67..2d02ef54 100755 --- a/css/default_style.css +++ b/css/default_style.css @@ -1,6 +1,11 @@ .frame { - width: 600px; + width: 360px; + height: 450px; margin: 50px auto; + padding-right: 20px; + padding-left: 20px; + border-top: 0.5px solid black; + border-bottom: 0.5px solid black; border-left: 0.5px solid black; border-right: 0.5px solid black; } @@ -48,6 +53,19 @@ a:hover { .menu { border: 0.5px solid black; - width: 199px; + width: 119px; float: left; + text-align: center; +} + +.menu > h3 { + margin-top: 5%; + margin-bottom: 5% +} + +.menu_container { + background-color: red; + width: 360px; + margin-left: auto; + margin-right: auto; } \ No newline at end of file diff --git a/css/header.css b/css/header.css index 1dda58a6..623e5db6 100644 --- a/css/header.css +++ b/css/header.css @@ -1,5 +1,4 @@ .header { - border-bottom-style: solid; height: 55px; } .logo { diff --git a/profile_page/profile.php b/profile_page/profile.php index fe0ee710..6e1a1b5d 100755 --- a/profile_page/profile.php +++ b/profile_page/profile.php @@ -26,7 +26,7 @@ mysqli_close($con); ?> </div> - <div style="background-color: white; max-width: 600px; margin-left: auto; margin-right: auto"> + <div class="menu_container"> <?php include'../template/menu.php';?> </div> <div class="profile_container"> diff --git a/template/menu.php b/template/menu.php index 35d90f75..77287cef 100644 --- a/template/menu.php +++ b/template/menu.php @@ -2,17 +2,17 @@ echo ' <a href="order/order.php" name="order_link"> <div class="menu" id="order_link"> - <h2>Order</h2> + <h3>Order</h3> </div> </a> <a href="history/history.php" name="history_link"> <div class="menu" id="history_link"> - <h2>History</h2> + <h3>History</h3> </div> </a> <a href="profile/profile.php" name="profile_link"> <div class="menu" id="profile_link"> - <h2>My Profile</h2> + <h3>My Profile</h3> </div> </a> '; -- GitLab