Skip to content

Commit 73d635a

Browse files
committed
CodeIgniter-Blog v2.4.8 Optimized website UI.
1 parent 4b5bb80 commit 73d635a

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

application/views/article.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<link rel="icon" href="<?php echo base_url();?>static/images/favicon/favicon.ico">
1717
</head>
1818

19-
<body>
19+
<body style="margin: 20px;">
2020
<!--nav-->
2121
<?php $this->load->view('nav');?>
2222
<!--nav end-->

application/views/search.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<link rel="icon" href="<?php echo base_url();?>static/images/favicon/favicon.ico">
1717
</head>
1818

19-
<body>
19+
<body style="margin: 20px;">
2020
<!--nav-->
2121
<?php $this->load->view('nav');?>
2222
<!--nav end-->

static/css/background.css

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#home {
2-
margin: 40px;
2+
margin: 20px;
33
background-color: #E3D8BC;
44
background-image: url(../images/bg.png);
55
background-position: bottom right, top;
@@ -9,7 +9,7 @@
99
}
1010

1111
#about {
12-
margin: 40px;
12+
margin: 20px;
1313
background-color: #FFF0D3;
1414
background-image: url(../images/shine.jpg);
1515
background-position: bottom right, top;
@@ -19,7 +19,7 @@
1919
}
2020

2121
#tweets {
22-
margin: 40px;
22+
margin: 20px;
2323
background-color: #5A7BA6;
2424
background-image: url(../images/stich.jpg);
2525
background-position: bottom right, top;
@@ -29,7 +29,7 @@
2929
}
3030

3131
#diaries {
32-
margin: 40px;
32+
margin: 20px;
3333
background-color: white;
3434
background-image: url(../images/meow.jpg);
3535
background-position: bottom left, top;
@@ -39,7 +39,7 @@
3939
}
4040

4141
#learnjourney {
42-
margin: 40px;
42+
margin: 20px;
4343
background-color: #E4E0D5;
4444
background-image: url(../images/InkCat.jpg);
4545
background-size: contain;
@@ -50,7 +50,7 @@
5050
}
5151

5252
#guestbook-color {
53-
margin: 40px;
53+
margin: 20px;
5454
background-image: url(../images/Alice.jpg);
5555
background-size: 100% 100%;
5656
background-repeat: no-repeat;

0 commit comments

Comments
 (0)