Commit 1e4ca2ec authored by Erma Safira Nurmasyita's avatar Erma Safira Nurmasyita
Browse files
parents bcd93a29 5357afcf
.left{
flex-basis: 100px;
padding-left: 90px;
flex-basis: 10%;
padding-left:8%;
}
.left2{
flex-basis: 200px;
padding-left: 50px;
flex-basis: 28%;
padding-left: 20px;
}
.right{
flex-basis: 600px;
flex-basis: 90%;
align-content: left;
margin-right: 200px;
margin-top: 60px;
padding-left: 5%;
margin-top: 2.5%;
padding-right: 9%;
}
.right2{
flex-basis: 300px;
flex-basis: 72%;
align-content: left;
margin-right: 200px;
margin-top: 20px;
padding-right: 200px;
padding-top: 30px;
}
.pp{
width:300px;
height:300px;
width:250px;
height:250px;
border: black;
border-style: solid;
border-width: 3px;
}
.cols{
display: flex;
flex-wrap: wrap;
flex-direction: column;
margin-left: 100px;
}
.rows1{
display: flex;
flex-wrap: wrap;
flex-wrap: nowrap;
flex-direction: row;
justify-content: space-around;
margin-left: 10px;
height: 400px;
height: 300px;
}
.rows2{
display: flex;
flex-wrap: wrap;
flex-wrap: nowrap;
flex-direction: row;
margin-left: 100px;
justify-content: space-around;
height:80px;
}
.rows{
margin-left: 100px;
display: flex;
flex-wrap: wrap;
flex-wrap: nowrap;
flex-direction: row;
justify-content: space-around;
height:250px;
......@@ -67,10 +70,11 @@
}
.left_button{
flex-basis: 250px;
margin-left: 50px;
}
.right_button{
flex-basis: 350px;
margin-right: 150px;
margin-right: 120px;
}
.upload-btn-wrapper {
position: relative;
......@@ -97,19 +101,21 @@
#profpict_dummy{
height: 36px;
width: 450px;
width: 500px;
}
h1{
color: #F16303;
font-size: 80px;
padding-inline-start: 100px;
font-size: 90px;
padding-inline-start: 8%;
text-align: left;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
font-family: 'Arial Rounded MT';
}
p{
font-size: 28px;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
font-size: 32px;
font-family: 'Arial Narrow';
font-weight: 500;
letter-spacing: 1px;
}
input[type=file]{
......@@ -118,6 +124,9 @@ input[type=file]{
input[type=text]{
width: 500px;
font-family: 'Arial';
font-weight: 500;
letter-spacing: 1px;
font-size: 32px;
}
......
......@@ -2,7 +2,7 @@ h1{
color: #F16303;
font-size: 80px;
text-align: left;
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
font-family: 'Arial Rounded MT';
padding-left: 50px;
}
......@@ -12,8 +12,8 @@ h1{
.title-right{
flex-basis: 250px;
margin-top: 85px;
margin-left: 370px;
margin-top: 5%;
margin-left: 26%;
}
.title-container{
......@@ -41,33 +41,57 @@ h1{
}
.main-left{
flex-basis: 220px;
flex-basis: 170px;
align-self: flex-start;
}
.main-right{
flex-basis: 950px;
position: relative;
}
img{
height: 200px;
width: 200px;
height: 150px;
width: 150px;
}
h3{
color: #F16303;
font-size: 24px;
margin-top: 15px;
font-family: 'Arial Rounded MT';
font-size: 40px;
line-height: 1%;
}
h4{
font-family: 'Arial Rounded MT';
font-weight: bold;
font-size: 25px;
line-height: 0.1;
margin-bottom: 2%;
}
button{
float: right;
margin-right: 150px;
margin-right: 10%;
margin-bottom: 100px;
padding: 5px 30px;
font-size: 20px;
font-size: 25px;
background-color: dodgerblue;
color: white;
border-radius: 4px;
}
.tRight{
font-size: 30px;
font-family: 'Arial Narrow';
font-weight: normal;
letter-spacing: 1px;
}
u{
font-weight: bolder;
}
.desc{
font-family: 'Arial Narrow';
font-weight: normal;
font-size: 25px;
line-height: 1.3;
margin-top:0px;
}
\ No newline at end of file
......@@ -4,12 +4,12 @@
$password = $_POST["password"];
if (userExist($username, $password)){
login();
login($username);
} else{
header("Location: ../login");
}
function login() {
function login($username) {
$token = bin2hex(openssl_random_pseudo_bytes(16));
while (!(isTokenExist($token))){
$token = bin2hex(openssl_random_pseudo_bytes(16));
......
......@@ -60,7 +60,7 @@
<div class="main-right">
<h3>'.$judul.'</h3>
<h4>'.$pengarang.' - '.$rating_format.'/5.0 ('.$count_votes.' Votes)</h4>
<p>'.$desc.'</p>
<p class="desc">'.$desc.'</p>
</div>
</div>
<div class="button_row">
......
Markdown is supported
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