/*
Theme Name: Classic
Theme URI: http://wordpress.org/
Description: The original WordPress theme that graced versions 1.2.x and prior.
Version: 1.6
Author: Dave Shea
Tags: green, white, two-columns, right-sidebar, flexible-width, sticky-post, rtl-language-support, translation-ready

Default WordPress by Dave Shea || http://mezzoblue.com
Modifications by Matthew Mullenweg || http://photomatt.net
This is just a basic layout, with only the bare minimum defined.
Please tweak this and make it your own. :)
*/

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignleft {
	float: left;
}

.alignright {
	float: right;
}

/** 等于或大于550px正常模式 **/
@media screen and (min-width: 550px) {
    .pagination {
        float: rightright;
    }
    .pagination a, .pagination a:visited {
        float: left;
        background: #fff;
        margin: 0 5px 10px 0;
        padding: 8px 11px;
        line-height: 100%;
        border: 1px solid #ebebeb;
        border-radius: 2px;
    }
    .pagination .current, .pagination .dots {
        background: #fff;
        float: left;
        margin: 0 5px 0 0;
        padding: 8px 11px;
        line-height: 100%;
        border: 1px solid #ebebeb;
        border-radius: 2px;
    }
    .pagination span.pages {}
    .pagination span.current, .pagination a:hover {
        background: #ea7724;
        color: #fff;
        border: 1px solid #ea7724;
    }
    .screen-reader-text, .pages  {
        display: none;
    }
}
/** 等于或小于550px用于移动设备 **/
@media screen and (max-width: 550px) {
    .pagination {
        background: #fff;
        border: 1px solid #ebebeb;
        border-radius: 2px;
    }
    .pagination .nav-links {
        min-height: 30px;
        position: relative;
        text-align: center;
    }
    .pagination .current .screen-reader-text {
        position: static !important;
    }
    .screen-reader-text {
        height: 1px;
        overflow: hidden;
        position: absolute !important;
    }
    .page-numbers {
        display: none;
        line-height: 25px;
        padding: 5px;
    }
    .pagination .page-numbers.current {
        text-transform: uppercase;
    }
    .pagination .current {
        display: inline-block;
    }
    .pagination .prev,
    .pagination .next {
        background: #ea7724;
        color: #fff;
        display: inline-block;
        height: 29px;
        line-height: 29px;
        overflow: hidden;
        padding: 2px 8px;
        position: absolute;
        border: 1px solid #ea7724;
    }
    .pagination .next {
        border-radius: 0 2px 2px 0
    }
    .pagination .prev {
        border-radius: 2px 0 0 2px;
    }
    .pagination .prev a,
    .pagination .next a{
        color: #fff;
        line-height: 20px;
        padding: 0;
        display: inline-block;
    }
    .pagination .prev {
        left: 0;
    }
    .pagination .prev:before {
        left: -1px;
    }
    .pagination .next {
        right: 0;
    }
    .pagination .next:before {
        right: -1px;
    }
}