Commit d78af5b5 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Make close home info button less obtrusive and change some margins


Signed-off-by: default avatarRichard Mansfield <richardm@catalyst.net.nz>
parent 1b770ce2
...@@ -1591,22 +1591,31 @@ form#search input.text { ...@@ -1591,22 +1591,31 @@ form#search input.text {
} }
/* Home page info boxes */ /* Home page info boxes */
.home-info-table {
margin: 2em 1em 2.5em;
}
.home-info-table.loggedin {
margin: .5em 0 1.5em;
}
#hideinfo {
margin: 0 0 0 2px;
padding: 1px 0 0 2px;
float: left;
}
.home-info-table td { .home-info-table td {
width: 1%; width: 1%;
padding: 0; padding: 0 8px 0 2px;
} }
.home-info { .home-info {
padding: 10px; padding: 10px;
margin: 1.7em 4px 0 4px; min-height: 250px;
height: 250px;
text-align: center; text-align: center;
} }
.home-info .desc { .home-info .desc {
text-align: left; text-align: left;
} }
.home-info .caption td { .home-info .caption td {
padding-bottom: 1em; padding-bottom: .5em;
} }
.home-info a, .home-info a,
.home-info a:hover, .home-info a:hover,
...@@ -1617,6 +1626,7 @@ form#search input.text { ...@@ -1617,6 +1626,7 @@ form#search input.text {
width: 100%; width: 100%;
} }
.home-info td { .home-info td {
padding: 0;
width: 1%; width: 1%;
vertical-align: top; vertical-align: top;
white-space: nowrap; white-space: nowrap;
......
<div id="home-info" class="rel"> <table class="home-info-table{if $USER->is_logged_in()} loggedin{/if}">
{if $USER->is_logged_in()}
<div class="rbuttons"><a id="hideinfo" class="btn-del">Don't show this</a></div>
{/if}
<table class="home-info-table">
<tr> <tr>
<td> <td>
{if $USER->is_logged_in()}
<a id="hideinfo" title="Hide"><img src="{theme_url filename='images/icon_close.gif'}" alt="[x]" /></a>
{/if}
<div class="home-info"> <div class="home-info">
<h3>Create and Collect</h3> <h3>Create and Collect</h3>
<p class="subtitle">Develop your portfolio</p> <p class="subtitle">Develop your portfolio</p>
...@@ -121,4 +120,3 @@ ...@@ -121,4 +120,3 @@
</td> </td>
</tr> </tr>
</table> </table>
</div>
Supports Markdown
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