Skip to content

Commit

Permalink
Make it so page centers
Browse files Browse the repository at this point in the history
  • Loading branch information
ranguard committed Jul 31, 2012
1 parent c61f161 commit bc74fc1
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lib/heading
Expand Up @@ -6,7 +6,9 @@
</figure>

<div id="masthead_overlay">
<div class="sub_holder">
<h1>Perl Mongers</h1>
<h3>[% allgroupsnum %] international Perl User Groups.</h3>
</div>
</div>
[% END %]
6 changes: 6 additions & 0 deletions lib/layout
Expand Up @@ -26,6 +26,7 @@
<div id="wrapper">

<header>
<div class="sub_holder">
<a href="/"><img src="/images/camel_30w.png" height="30px" id="onion_logo" alt="Perl Mongers"></a>
<div id="nav_holder">
<nav>
Expand All @@ -41,21 +42,26 @@
</div>
</nav>
</div>
</div>
</header>

[% INCLUDE heading %]

<div id="content_holder[% '_map' IF map_page %]">
<div class="sub_holder">

[% content %]

</div>
</div>

<div id="footer">
<div class="sub_holder">
<hr />
<div id="google_translate_element"></div>
<p>Copyright © 2012 <a href="http://www.perlfoundation.org/">The Perl Foundation</a> - <a href="https://github.com/perlorg/www.pm.org/">Site repository</a></p>
<p>The Perl camel image is a trademark of <a href="http://www.oreilly.com/">O'Reilly Media, Inc.</a> Used with permission.</p>
</div>
</div>

<script type="text/javascript">
Expand Down
11 changes: 10 additions & 1 deletion src/includes/style.css
Expand Up @@ -132,7 +132,7 @@ img.masthead{
clear:both;
}
.details li{
width:233px;
width:300px;
/* height:500px;*/
float:left;
}
Expand All @@ -142,6 +142,15 @@ img.masthead{
.details a{
color: #888888;
}
.sub_holder{
max-width:1000px;
margin:0 auto;
padding:0 12px;
}
#masthead_overlay .sub_holder{
position:relative;
height:inherit;pointer-events: all;
}

.sublist li {
width: auto;
Expand Down

0 comments on commit bc74fc1

Please sign in to comment.