<link href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<div class="container">
<div class="row">
<div class="[ col-xs-6 col-sm-4 col-md-offset-1 col-md-2 ]">
<div class="page-header">
<h2 class="text-center">Poniedziałek <h5 class="text-right"><small>8.11.2014</small></h5></h2>
</div>
<ul class="event-list">
<li>
<time datetime="2014-07-20">
<span class="hour">12:</span>
<span class="minute">30</span>
<span class="hour">-</span>
<span class="hour">13:</span>
<span class="minute">20</span>
</time>
<div class="info">
<h2 class="title">Arek</h2>
</div>
</li>
</ul>
</div>
<div class="[ col-xs-6 col-sm-4 col-md-2 ]">
<div class="page-header">
<h2 class="text-center">Wtorek <h5 class="text-right"><small>9.11.2014</small></h5></h2>
</div>
<ul class="event-list">
<li>
<time datetime="2014-07-20">
<span class="hour">12:</span>
<span class="minute">30</span>
<span class="hour">-</span>
<span class="hour">13:</span>
<span class="minute">20</span>
</time>
<div class="info">
<h2 class="title">Arek</h2>
</div>
</li>
</ul>
</div>
<div class="clearfix visible-xs-block"></div>
<div class="[ col-xs-6 col-sm-4 col-md-2 ]">
<div class="page-header">
<h2 class="text-center">Środa <h5 class="text-right"><small>10.11.2014</small></h5></h2>
</div>
<ul class="event-list">
<li>
<time datetime="2014-07-20">
<span class="hour">12:</span>
<span class="minute">30</span>
<span class="hour">-</span>
<span class="hour">13:</span>
<span class="minute">20</span>
</time>
<div class="info">
<h2 class="title">Arek</h2>
</div>
</li>
</ul>
</div>
<div class="clearfix visible-sm-block"></div>
<div class="[ col-xs-6 col-sm-offset-2 col-sm-4 col-md-offset-0 col-md-2 ]">
<div class="page-header">
<h2 class="text-center">Czwartek <h5 class="text-right"><small>11.11.2014</small></h5></h2>
</div>
<ul class="event-list">
<li>
<time datetime="2014-07-20">
<span class="hour">12:</span>
<span class="minute">30</span>
<span class="hour">-</span>
<span class="hour">13:</span>
<span class="minute">20</span>
</time>
<div class="info">
<h2 class="title">Arek</h2>
</div>
</li>
</ul>
</div>
<div class="clearfix visible-xs-block"></div>
<div class="[ col-xs-offset-3 col-xs-6 col-sm-offset-0 col-sm-4 col-md-2 ]">
<div class="page-header">
<h2 class="text-center">Piątek <h5 class="text-right"><small>12.11.2014</small></h5></h2>
</div>
<ul class="event-list">
<li>
<time datetime="2014-07-20">
<span class="hour">12:</span>
<span class="minute">30</span>
<span class="hour">-</span>
<span class="hour">13:</span>
<span class="minute">20</span>
</time>
<div class="info">
<h2 class="title">Arek</h2>
</div>
</li>
</ul>
</div>
</div>
</div>
@import url("http://fonts.googleapis.com/css?family=Lato:100,300,400,700,900,400italic");
@import url("//netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.css");
body {
padding: 10px 0px;
background-color: rgb(255, 255, 255);
}
.event-list {
list-style: none;
font-family: 'Lato', sans-serif;
margin: 0px;
padding: 0px;
}
.event-list > li {
background-color: rgb(255, 255, 255);
box-shadow: 0px 0px 5px rgb(51, 51, 51);
box-shadow: 0px 0px 5px rgba(51, 51, 51, 0.7);
padding: 0px 0px 10px 0px;
margin: 0px 0px 20px;
}
.event-list > li > time {
display: inline-block;
width: 100%;
color: rgb(255, 255, 255);
background-color: rgb(197, 44, 102);
padding: 5px;
text-align: center;
text-transform: uppercase;
}
.event-list > li:nth-child(even) > time {
background-color: rgb(165, 82, 167);
}
.event-list > li > time > span {
display: none;
}
.event-list > li > time > .hour {
display: inline-flex;
font-size: 9pt;
font-weight: 400;
line-height: 2.6;
}
.event-list > li time > .minute {
display: inline-flex;
font-size: 7pt;
font-weight: 400;
line-height: 2.6;
}
.event-list > li > img {
width: 100%;
}
.event-list > li > .info {
padding-top: 5px;
text-align: center;
}
.event-list > li > .info > .title {
font-size: 12pt;
font-weight: 400;
margin: 0px;
}
.event-list > li > .info > .desc {
font-size: 13pt;
font-weight: 300;
margin: 0px;
}
@media (min-width: 768px) {
.event-list > li {
position: relative;
display: block;
width: 100%;
height: 30px;
padding: 0px;
}
.event-list > li > time,
.event-list > li > img {
display: inline-block;
float: left;
width: 78px;
height: 30px;
padding: 0px;
margin: 0px;
}
.event-list > li > .info {
background-color: rgb(245, 245, 245);
overflow: hidden;
position: relative;
height: 30px;
text-align: left;
padding-right: 40px;
}
.event-list > li > .info > .title,
.event-list > li > .info > .desc {
padding: 0px 10px;
}
}