From 72f61f4a1e191e543863ffaa21b9ec101e2bc70a Mon Sep 17 00:00:00 2001 From: Albert Sahala <albertsahala@students.itb.ac.id> Date: Thu, 25 Oct 2018 20:34:11 +0700 Subject: [PATCH] Change font for all files --- views/book_detail.php | 1 + views/css/application.css | 37 ++++++++++++++++++------------------ views/css/login-register.css | 8 ++++---- views/edit_profile.php | 1 + views/history.php | 1 + views/login.php | 1 + views/my_profile.php | 1 + views/register.php | 1 + views/review.php | 1 + views/search_book.php | 3 ++- views/search_result.php | 1 + 11 files changed, 33 insertions(+), 23 deletions(-) diff --git a/views/book_detail.php b/views/book_detail.php index e093576..3666cf5 100644 --- a/views/book_detail.php +++ b/views/book_detail.php @@ -12,6 +12,7 @@ <head> <title>Review Page</title> <link rel="stylesheet" href="css/application.css"> + <link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet"> </head> <body> diff --git a/views/css/application.css b/views/css/application.css index f61e39f..550af65 100644 --- a/views/css/application.css +++ b/views/css/application.css @@ -103,7 +103,7 @@ h1{ .author { margin: 0; - font-family: Sans-serif, monospace; + font-family: 'Nunito', sans-serif; font-size: 16px; font-weight: normal; color: #4d4d4d; @@ -142,7 +142,7 @@ h1{ } .arial { - font-family: "Arial", Times, serif; + font-family: 'Nunito', sans-serif; } .centre { @@ -189,7 +189,7 @@ textarea { text-decoration: none; display: inline-block; font-size: 16px; - font-family: Arial, serif; + font-family: 'Nunito', sans-serif; margin: 4px 2px; -webkit-transition-duration: 0.4s; transition-duration: 0.4s; @@ -239,7 +239,7 @@ textarea { /*HISTORY*/ .history-title-desc { - font-family: Arial, serif; + font-family: 'Nunito', sans-serif; color: #f26600; font-size: x-large; margin-bottom: 4px; @@ -249,7 +249,7 @@ textarea { /*REVIEW*/ .title-desc { - font-family: Arial, serif; + font-family: 'Nunito', sans-serif; color: #f26600; font-size: x-large; margin-bottom: 4px; @@ -257,7 +257,7 @@ textarea { } .ordered-review { - font-family: Arial, serif; + font-family: 'Nunito', sans-serif; color: darkgrey; font-size: medium; margin-top: 5px; @@ -266,7 +266,7 @@ textarea { } .date-order-details { - font-family: Arial, serif; + font-family: 'Nunito', sans-serif; color: black; font-size: medium; margin-top: 0; @@ -288,11 +288,11 @@ textarea { .picture-frame { width: 16px; height: 16px; - margin-left: 25px; + margin-left: 125px; } .profile-desc { - font-family: Arial, serif; + font-family: 'Nunito', sans-serif; font-size: medium; margin-left: 10px; margin-top: 0; @@ -300,27 +300,27 @@ textarea { } .detail-username-desc { - font-family: Arial, serif; + font-family: 'Nunito', sans-serif; margin-left: 120px; margin-bottom: 0; } .detail-mail-desc { - font-family: Arial, serif; + font-family: 'Nunito', sans-serif; margin-left: 155px; margin-top: 0; margin-bottom: 0; } .detail-address-desc { - font-family: Arial, serif; + font-family: 'Nunito', sans-serif; margin-left: 135px; margin-top: 0; margin-bottom: 0; } .detail-phone-desc { - font-family: Arial, serif; + font-family: 'Nunito', sans-serif; margin-left: 87px; margin-top: 0; margin-bottom: 0; @@ -328,7 +328,7 @@ textarea { .solid-box { background-color: #065473; - width: 550px; + width: 700px; height: 220px; } @@ -341,7 +341,7 @@ textarea { } .profile-name { - font-family: Arial, serif; + font-family: 'Nunito', sans-serif; color: #FFFFFF; font-size: xx-large; alignment: bottom; @@ -349,10 +349,11 @@ textarea { } .header-profile { - font-family: Sans-serif, serif; + font-family: 'Nunito', sans-serif; font-size: xx-large; color: #f26600; margin-bottom: 0; + margin-left: 100px; } .img-circle { @@ -373,7 +374,7 @@ textarea { /*EDIT PROFILE*/ .update-pp { - font-family: Arial, serif; + font-family: 'Nunito', sans-serif; color: black; font-size: medium; margin-top: 10px; @@ -431,7 +432,7 @@ input { } .edit-p { - font-family: Sans-serif, serif; + font-family: 'Nunito', sans-serif; margin-right: 0; padding-right: auto; } diff --git a/views/css/login-register.css b/views/css/login-register.css index de79c42..13163d3 100644 --- a/views/css/login-register.css +++ b/views/css/login-register.css @@ -79,14 +79,14 @@ h3 { color: orange; } .arial { - font-family: "Arial", Times, serif; + font-family: 'Nunito', sans-serif; } .calibri { - font-family: "Times New Roman", Times, serif; + font-family: 'Nunito', sans-serif; } .sans-serif { - font-family: Sans-serif; + font-family: 'Nunito', sans-serif; } .inline { @@ -110,7 +110,7 @@ h3 { background-color: #FFFFFF; font-weight: bolder; font-size: large; - font-family: SansSerif, sans-serif; + font-family: 'Nunito', sans-serif; } .btn:hover { diff --git a/views/edit_profile.php b/views/edit_profile.php index af81f68..3421fdd 100644 --- a/views/edit_profile.php +++ b/views/edit_profile.php @@ -10,6 +10,7 @@ <html> <head> <link rel="stylesheet" href="css/application.css"> + <link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet"> <title>Edit Profile | Pro-Book</title> </head> <body> diff --git a/views/history.php b/views/history.php index 8287812..10ecad1 100644 --- a/views/history.php +++ b/views/history.php @@ -11,6 +11,7 @@ <html> <head> <link rel="stylesheet" href="css/application.css"> + <link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet"> <title>History | Pro-Book</title> </head> <body> diff --git a/views/login.php b/views/login.php index 2364894..c606ed0 100644 --- a/views/login.php +++ b/views/login.php @@ -11,6 +11,7 @@ <html> <head> <link rel="stylesheet" href="css/login-register.css"> + <link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet"> <title>Login | Pro-book</title> </head> <body> diff --git a/views/my_profile.php b/views/my_profile.php index 4f6daf8..4289636 100644 --- a/views/my_profile.php +++ b/views/my_profile.php @@ -9,6 +9,7 @@ <html> <head> <link rel="stylesheet" href="css/application.css"> + <link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet"> <title>My Profile | Pro-Book</title> </head> <body> diff --git a/views/register.php b/views/register.php index 60ad247..cccb427 100644 --- a/views/register.php +++ b/views/register.php @@ -11,6 +11,7 @@ <html> <head> <link rel="stylesheet" href="css/login-register.css"> + <link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet"> <title>Register | Pro-book</title> </head> <body> diff --git a/views/review.php b/views/review.php index 8dea329..bba9d62 100644 --- a/views/review.php +++ b/views/review.php @@ -11,6 +11,7 @@ <html> <head> <link rel="stylesheet" href="css/application.css"> + <link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet"> <title>Review | Pro-book</title> </head> <body> diff --git a/views/search_book.php b/views/search_book.php index 8f5ea01..ffbb812 100644 --- a/views/search_book.php +++ b/views/search_book.php @@ -12,11 +12,12 @@ <html> <head> <link rel="stylesheet" href="css/application.css"> + <link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet"> <title>Search | Pro-book</title> </head> <body> <div class="container"> - <h1>Search Book</h1> + <h1 class="arial">Search Book</h1> <form class="form-container" method="post" action="search_result.php"> <input class ="search-book" type="text" name="searchbook" placeholder="Input search term..."> diff --git a/views/search_result.php b/views/search_result.php index e402ab1..e9e84e7 100644 --- a/views/search_result.php +++ b/views/search_result.php @@ -36,6 +36,7 @@ if (isset($_COOKIE['access_token'])) { <html> <head> <link rel="stylesheet" href="css/application.css"> + <link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet"> <title>Search | Pro-book</title> </head> <body> -- GitLab