ol.gallery {
    display: block;
    margin: 0;
    max-width: 480px;
    padding: 0;
}

ol.gallery li {
    display: block;
    padding: 5px;
    width: 150px;
    height: 150px;
    float: left;
}

ol.gallery li:last-child {
    float: none;
    clear: left;
}

ol.gallery li:hover {
    background: #f0f0f0;
}

ol.gallery li a {
    background: none;
}
