mirror of
https://ghproxy.net/https://github.com/AlxMedia/clearwork.git
synced 2025-08-26 06:10:42 +08:00
178 lines
6.1 KiB
CSS
178 lines
6.1 KiB
CSS
#wrapper { min-width: 320px; }
|
|
|
|
@media only screen and (min-width: 1024px) and (max-width: 1080px) {
|
|
.s1 { min-width: 240px; max-width: 240px; }
|
|
.s2 { min-width: 70px; max-width: 70px; }
|
|
.s2 .social-links .social-tooltip { margin: 0 10px; }
|
|
.toggle-search { width: 70px; }
|
|
.search-expand { right: 70px; }
|
|
.col-2cr .search-expand { left: 70px; }
|
|
|
|
}
|
|
@media only screen and (max-width: 1023px) {
|
|
#wrapper { margin: 10px; }
|
|
.main-inner { display: block; }
|
|
.s2 { border-bottom: 1px solid #eee; width: 100%; min-width: auto; max-width: none; }
|
|
.s2 .social-links { float: right; padding: 7px 30px; box-sizing: border-box; width: auto; margin: 0; }
|
|
.s2 .social-links li { float: left; width: auto; }
|
|
.s2 .social-links .social-tooltip { margin: 0; }
|
|
.s2 .social-links .social-tooltip:hover { z-index: 999; }
|
|
.toggle-search { float: left; border: 0; border-right: 1px solid #eee; }
|
|
.search-expand { left: 89px; right: auto; padding: 20px 21px 20px 0; }
|
|
.col-2cl .s2 { border-left: 0; }
|
|
.col-2cr .s2 { border-right: 0; }
|
|
.s1 { min-width: 400px; max-width: 400px; margin: 0 auto; border: 0!important; }
|
|
.post-wrapper { margin-top: 0; }
|
|
}
|
|
|
|
|
|
/* ------------------------------------------------------------------------- *
|
|
* Mobile (Mid Res) : 719px > 0px (480px & 320px)
|
|
/* ------------------------------------------------------------------------- */
|
|
@media only screen and (max-width: 719px) {
|
|
|
|
/* layout */
|
|
#wrapper { overflow: hidden; }
|
|
.main-inner { display: block; }
|
|
.sidebar .widget { margin-top: 0; border-width: 1px 0 0 0; }
|
|
|
|
.container { padding: 0; }
|
|
.grid { width: 100%; margin: 0 0 10px; }
|
|
.sidebar .widget { padding-left: 20px; padding-right: 20px; }
|
|
.pagination { margin-left: 20px; margin-right: 20px; }
|
|
|
|
/* hide */
|
|
.site-description,
|
|
.image-caption { display: none; }
|
|
|
|
/* base */
|
|
.pad { padding: 20px 20px 10px; }
|
|
.notebox { margin-bottom: 20px; }
|
|
.entry { font-size: 15px; }
|
|
.page-title { padding-left: 20px; padding-right: 20px; }
|
|
|
|
/* text */
|
|
.entry h1 { font-size: 30px; letter-spacing: -0.7px; }
|
|
.entry h2 { font-size: 26px; letter-spacing: -0.5px; }
|
|
.entry h3 { font-size: 24px; letter-spacing: -0.3px; }
|
|
.entry h4 { font-size: 22px; letter-spacing: -0.3px; }
|
|
.entry h5 { font-size: 18px; }
|
|
.entry h6 { font-size: 16px; text-transform: uppercase; }
|
|
|
|
/* header */
|
|
#header,
|
|
#header .pad { padding: 0; }
|
|
.site-title { padding: 10px 0; margin: 0; width: 100%; float: none; line-height: 50px; border-bottom: 1px solid #eee; }
|
|
.site-title a { text-align: center; }
|
|
|
|
/* footer */
|
|
#nav-footer.nav-container { padding: 0; }
|
|
#footer-bottom .pad { padding-top: 50px; padding-bottom: 40px; }
|
|
#footer-bottom .one-half.last { margin-bottom: 0; }
|
|
#footer-bottom { text-align: center; }
|
|
#footer-bottom #footer-logo { margin-left: auto; margin-right: auto; }
|
|
#footer-bottom .social-links { float: none; }
|
|
#footer-bottom .social-links li { margin-left: 4px; margin-right: 4px; }
|
|
|
|
/* comments */
|
|
.comment-tabs { font-size: 14px; }
|
|
.commentlist li { font-size: 13px; }
|
|
.commentlist li ul li { padding-left: 10px; }
|
|
|
|
/* page */
|
|
.page-title { font-size: 18px; margin-bottom: 0; }
|
|
.notebox { font-size: 15px; }
|
|
|
|
/* blog */
|
|
.post-wrapper { margin-top: 0; }
|
|
.entry .more-link { font-size: 15px; }
|
|
|
|
.featured-post { bottom: 0; }
|
|
.featured-post-title { font-size: 14px; }
|
|
.slick-posts { margin-top: 0; }
|
|
.entry-header { margin-bottom: 20px; }
|
|
.entry-header .entry-title { font-size: 28px; margin-bottom: 10px; }
|
|
.entry-header .entry-meta { font-size: 15px; }
|
|
.entry-media { margin-bottom: 30px; }
|
|
|
|
.front-widget-col { width: 100%; }
|
|
.front-widget-inner { margin: 0; }
|
|
|
|
.format-gallery .post-format .flexslider .slides img { max-height: 340px; }
|
|
|
|
/* single */
|
|
.post-nav li a strong,
|
|
.sharrre .count:after { display: none; }
|
|
.sharrre .box { padding-top: 16px; padding-bottom: 6px; }
|
|
.sharrre .box { padding-left: 0; padding-right: 0; }
|
|
.sharrre .count { width: 70%; margin: 0 15%; }
|
|
.sharrre .share { width: 100%; margin-left: 0; margin-top: 0; }
|
|
|
|
.post-nav li { width: 100%; -webkit-box-shadow: none!important; box-shadow: none!important; }
|
|
.post-nav li a { min-height: 0; }
|
|
.post-nav li.previous { border-top: 1px solid #eee; }
|
|
|
|
.related-posts li { width: 50%; }
|
|
.related-posts li:nth-child(2) article { border-right-color: transparent; }
|
|
.related-posts li:nth-child(3) { display: none; }
|
|
|
|
.author-bio .bio-desc { font-size: 16px; }
|
|
|
|
}
|
|
|
|
/* ------------------------------------------------------------------------- *
|
|
* Mobile (Low Res) : 479px > 0 (320px)
|
|
/* ------------------------------------------------------------------------- */
|
|
@media only screen and (max-width: 479px) {
|
|
|
|
/* layout */
|
|
#wrapper { margin: 10px; }
|
|
.content,
|
|
.sidebar.s1 { width: 100%; float: none; margin-right: 0!important; margin-left: 0!important; }
|
|
.sidebar.s1 { width: 100%; display: block; float: left; margin-top: 20px; }
|
|
.main,
|
|
.main-inner { padding: 0!important; }
|
|
.sidebar .widget { margin-top: 0; border-radius: 0!important; border-top: 1px solid #e5e5e5; }
|
|
|
|
/* hide */
|
|
.mobile-sidebar-hide-s1 .s1,
|
|
.mobile-sidebar-hide .sidebar,
|
|
.gallery-caption { display: none; }
|
|
|
|
/* base */
|
|
.page-title h1,
|
|
.page-title h2,
|
|
.page-title h3,
|
|
.page-title h4 { font-size: 15px; }
|
|
.page-title .notebox { font-size: 15px; }
|
|
|
|
/* header */
|
|
.site-title { font-size: 32px; }
|
|
|
|
/* blog */
|
|
.s2 .social-links { text-align: center; padding: 0 15px; width: 100%; }
|
|
.s2 .social-links li { padding: 0; float: none; margin: 2px 0; }
|
|
.s2 .social-links .social-tooltip { padding-top: 12px; padding-bottom: 12px; }
|
|
.s2 .social-links .social-tooltip:hover:before,
|
|
.s2 .social-links .social-tooltip:hover:after { display: none; }
|
|
.toggle-search { display: none; }
|
|
.s1 { min-width: auto; max-width: none; }
|
|
|
|
#profile-image,
|
|
#profile-name,
|
|
#profile-description { padding-left: 20px; padding-right: 20px; }
|
|
|
|
.type-portfolio { width: 100%; padding-left: 20px; padding-right: 20px; box-sizing: border-box; }
|
|
.front-widgets { margin-left: 20px; margin-right: 20px; }
|
|
|
|
.content { padding: 0; }
|
|
.entry .more-link { font-size: 14px; }
|
|
|
|
.entry > .alignfull { margin-left: -20px; margin-right: -20px; }
|
|
|
|
.entry-header,
|
|
.entry-content,
|
|
.entry-footer { padding-right: 20px; padding-left: 20px; }
|
|
|
|
}
|
|
|