Merge branch 'master' of github.com:jeena/seinheit.ch

This commit is contained in:
Logsol 2013-07-17 19:16:47 +02:00
commit 927f7dcca2
2 changed files with 48 additions and 2 deletions

View file

@ -1,8 +1,9 @@
<?php if($this->header_image): ?>
<img id="header_image" src="<?php echo $this->base ?>/img/header/<?php echo $this->header_image ?>" alt="">
<?php endif ?>
<h1><?php echo $this->title ?></h1>
<?php if($this->title): ?>
<h1><?php echo $this->title ?></h1>
<?php endif ?>
<?php if($this->subtitle): ?>
<h2><?php echo $this->subtitle ?></h2>
<?php endif ?>

View file

@ -146,6 +146,8 @@ footer #social {
-moz-box-sizing: border-box; /* Firefox, other Gecko */
box-sizing: border-box; /* Opera/IE 8+ */
vertical-align: middle;
padding-bottom: 0.1em;
margin-bottom: 0.1em;
}
.box h2 {
@ -153,11 +155,17 @@ footer #social {
color: white;
font-size: 1em;
padding: 0.5em;
margin: 0;
}
.box h2 a {
text-decoration: none;
color: white;
display: block;
}
.box img {
vertical-align: middle;
}
.box.cite {
@ -168,4 +176,41 @@ footer #social {
font-style: italic;
font-weight: bold;
font-size: 1.9em;
min-height: 281px;
vertical-align: middle;
}
.col2 {
border-top: 1em solid #993533;
}
.col2 .text {
width: 33%;
vertical-align: top;
float: left;
-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
-moz-box-sizing: border-box; /* Firefox, other Gecko */
box-sizing: border-box; /* Opera/IE 8+ */
}
.col2 .image {
width: 66%;
vertical-align: top;
float: right;
-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
-moz-box-sizing: border-box; /* Firefox, other Gecko */
box-sizing: border-box; /* Opera/IE 8+ */
}
.col2.right .text {
float: right;
}
.col2.right .image {
float: right;
}
.col2 .image p:first-child {
margin-top: 0;
padding-top: 0;
}