2017-07-04 12:25:26 +02:00
|
|
|
.gallery-top {
|
|
|
|
height:10px;
|
|
|
|
}
|
|
|
|
.gallery-bottom {
|
|
|
|
height:50px;
|
|
|
|
}
|
|
|
|
.gallery-main {
|
|
|
|
background-color:#000000;
|
|
|
|
padding:20px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#gallery {
|
|
|
|
margin: 0 50px 0 50px;
|
|
|
|
}
|
|
|
|
|
2017-06-22 01:07:39 +02:00
|
|
|
ul.rig {
|
|
|
|
list-style: none;
|
|
|
|
font-size: 0px;
|
|
|
|
margin-left: -2.5%; /* should match li left margin */
|
|
|
|
}
|
|
|
|
ul.rig li {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 10px;
|
|
|
|
margin: 0 0 2.5% 2.5%;
|
|
|
|
background: #fff;
|
|
|
|
border: 1px solid #ddd;
|
|
|
|
font-size: 16px;
|
|
|
|
font-size: 1rem;
|
|
|
|
vertical-align: top;
|
|
|
|
box-shadow: 0 0 5px #ddd;
|
|
|
|
box-sizing: border-box;
|
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
}
|
|
|
|
ul.rig li img {
|
|
|
|
max-width: 100%;
|
|
|
|
height: auto;
|
|
|
|
margin: 0 0 10px;
|
|
|
|
}
|
|
|
|
ul.rig li h3 {
|
|
|
|
margin: 0 0 5px;
|
|
|
|
}
|
|
|
|
ul.rig li p {
|
|
|
|
font-size: .9em;
|
|
|
|
line-height: 1.5em;
|
|
|
|
color: #999;
|
|
|
|
}
|
|
|
|
/* class for 2 columns */
|
|
|
|
ul.rig.columns-2 li {
|
|
|
|
width: 47.5%; /* this value + 2.5 should = 50% */
|
|
|
|
}
|
|
|
|
/* class for 3 columns */
|
|
|
|
ul.rig.columns-3 li {
|
|
|
|
width: 30.83%; /* this value + 2.5 should = 33% */
|
|
|
|
}
|
|
|
|
/* class for 4 columns */
|
|
|
|
ul.rig.columns-4 li {
|
|
|
|
width: 22.5%; /* this value + 2.5 should = 25% */
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 480px) {
|
|
|
|
ul.grid-nav li {
|
|
|
|
display: block;
|
|
|
|
margin: 0 0 5px;
|
|
|
|
}
|
|
|
|
ul.grid-nav li a {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
ul.rig {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
ul.rig li {
|
|
|
|
width: 100% !important; /* over-ride all li styles */
|
|
|
|
margin: 0 0 20px;
|
|
|
|
}
|
|
|
|
}
|