Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Make it so page centers

  • Loading branch information...
commit bc74fc191e243ca8cca75d5ddbb3ff29a3aa60d5 1 parent c61f161
@ranguard ranguard authored
Showing with 18 additions and 1 deletion.
  1. +2 −0  lib/heading
  2. +6 −0 lib/layout
  3. +10 −1 src/includes/style.css
View
2  lib/heading
@@ -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 %]
View
6 lib/layout
@@ -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>
@@ -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">
View
11 src/includes/style.css
@@ -132,7 +132,7 @@ img.masthead{
clear:both;
}
.details li{
- width:233px;
+ width:300px;
/* height:500px;*/
float:left;
}
@@ -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;

0 comments on commit bc74fc1

Please sign in to comment.
Something went wrong with that request. Please try again.