dashwall/responsive.css
2025-03-27 15:52:53 +01:00

153 lines
5.8 KiB
CSS

.page-wrapper { min-width: 320px; box-sizing: border-box; }
@media only screen and (max-width: 1520px) {
.featured-large-title { font-size: 32px; }
.page-col { width: 40%; }
.page-col-sidebar { width: 30%; }
}
@media only screen and (max-width: 1340px) {
body.home .page-row { display: block; }
.page-col-featured { width: 40%; float: left; box-sizing: border-box; }
.page-col { width: 60%; float: left; padding-right: 0; }
.page-col-sidebar { width: 100%; float: left; }
.page-col-sidebar .sidebar-content { max-width: 420px; margin: 0 auto; }
.page-grid { grid-template-columns: repeat(auto-fill,minmax(220px,1fr)); }
/* blog home */
.blog-card-title { font-size: 18px; }
.blog-card-excerpt { font-size: 14px; }
/* single */
body.single .page-row { margin-top: 0; }
.header-single { display: block; aspect-ratio: 0; }
.header-single-content { background: none; box-shadow: none; padding-bottom: 20px; backdrop-filter: none; -webkit-backdrop-filter: none; }
.header-single-thumb { position: static; width: 100%; height: 300px; border-radius: 30px; }
.header-single-title { font-size: 32px; }
}
@media only screen and (max-width: 1340px) and (min-width: 1024px) {
/* featured block */
.featured-card { aspect-ratio: 2/3; }
.featured-large-title { font-size: 24px; }
/* highlights block */
.highlights-card-inner { padding-left: 0; }
.highlights-card-left { float: none; margin-left: 0; }
.highlights-card-thumb { width: 100%; }
.highlights-card-title { width: 100%; margin-top: 15px; }
}
@media only screen and (max-width: 1200px) {
.page-col-center { width: 65%; }
.page-col-sidebar-center { width: 35%; }
}
@media only screen and (max-width: 1023px) {
.page-col-featured { width: 100%; padding-right: 0; }
.page-col { width: 100%; padding-right: 0; }
.page-col-sidebar { width: 100%; }
/* featured block */
.featured-card { aspect-ratio: 3/2; }
body.home .page-row,
body.archive .page-row,
body.single .page-row,
body.search .page-row,
body.page .page-row,
body.error404 .page-row { display: block; }
.page-col-center { width: 100%; padding-right: 0; }
.page-col-sidebar-center { width: 100%; }
.page-col-sidebar-center .sidebar-content { max-width: 420px; margin: 0 auto; }
body.home.paged .page-col-featured { display: none; }
}
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 719px) {
.grid { width: 100%; margin: 0 0 10px; }
.entry { font-size: 15px; }
.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; }
.entry-header .entry-title { font-size: 28px; }
.site-title { padding: 10px 0; margin-left: 20px; }
.site-description { display: none; }
.page-wrapper { padding: 0; }
.page-inner { padding: 15px; }
.page-sidebar { min-height: 53px; border-bottom: 1px solid rgba(0,0,0,0.06); border-radius: 0; box-shadow: none; position: relative; padding: 0; top: auto!important; left: auto; bottom: auto; right: auto; width: 100%; }
#theme-toggle { padding: 6px 10px; right: 20px; border-radius: 20px; }
#theme-toggle i { top: 11px; right: 15px; }
.page-header { padding: 0; display: block; position: relative; top: auto!important; left: auto; bottom: auto; right: auto; height: auto; box-shadow: none; }
.canvas-bottom { display: none; }
.canvas-wrapper { padding: 0; top: 0!important; }
.canvas-inner { border-radius: 0; border: 0; }
.canvas-inner:after { display: none; }
.page-sidebar .social-links { margin: 10px 20px 0; width: auto; }
.page-sidebar .social-links li { float: left; width: auto; margin-right: 6px; }
.page-sidebar .social-links .social-tooltip { margin: 0; font-size: 16px; padding: 8px; }
.page-sidebar .social-links .social-tooltip:hover:after,
.page-sidebar .social-links .social-tooltip:hover:before { display: none; }
.sharrre-header { margin: 10px 20px 0; width: auto; }
.sharrre-header .sharrre { float: left; width: auto; margin-right: 6px; }
.sharrre-header .sharrre .box { margin: 0; font-size: 16px; padding: 8px; }
.sharrre-header .sharrre .box .share { height: 16px; }
.sharrre-header .sharrre .box .share i:before { position: relative; top: -2px; }
.sharrre-footer .sharrre .share span { display: none; }
.featured-card { aspect-ratio: 5/4; }
.featured-large-title { font-size: 22px; }
.featured-card-avatar,
.featured-card-author,
.featured-card-divider { display: none; }
.comments-card-author { font-size: 15px; }
.comments-card-excerpt { font-size: 12px; }
.header-single-thumb { height: 200px; }
.header-single-title { font-size: 22px; }
.comment-tabs { font-size: 14px; }
.commentlist li { font-size: 13px; }
.commentlist li ul li { padding-left: 10px; }
#footer { margin: 0; }
#footer .pad { padding: 0; }
#back-to-top { margin-left: -20px; width: 40px; height: 20px; }
#back-to-top i { font-size: 26px; }
}
@media only screen and (max-width: 479px) {
/* featured block */
.featured-card { aspect-ratio: 4/5; }
/* highlights block */
.highlights-card-inner { padding-left: 0; }
.highlights-card-left { float: none; margin-left: 0; }
.highlights-card-thumb { width: 100%; }
.highlights-card-title { width: 100%; margin-top: 15px; }
.page-card-latest .themeform.searchform { position: static; padding: 0 30px 20px; }
.header-single-content { padding-left: 20px; padding-right: 20px; }
.header-single-meta { font-size: 10px; }
.entry,
.entry-header,
.entry-footer { padding-left: 20px; padding-right: 20px; }
.entry-header { padding-top: 20px; }
.entry-header .entry-title { font-size: 22px; }
.sharrre-footer .sharrre .count { display: none; }
.comments-nav .next,
.comments-nav .prev { width: 100%; }
#footer-bottom { font-size: 13px; }
}