/* ========================================= RESPONSIVE DESIGN Desktop, Tablet and Mobile ========================================= */ /* Make all images responsive */ img { max-width: 100%; height: auto; } /* Prevent horizontal scrolling */ html, body { max-width: 100%; overflow-x: hidden; } /* Responsive videos and iframes */ iframe, video { max-width: 100%; } /* Responsive tables */ .entry-content table { width: 100%; max-width: 100%; overflow-x: auto; display: block; } /* Desktop */ @media screen and (min-width: 1024px) { .wrapnbt, .site-innernbt { max-width: 1140px; margin: auto; } .contentnbt { width: 740px; } .sidebar-primarynbt { width: 360px; } } /* Tablet */ @media screen and (max-width: 1023px) { .wrapnbt, .site-innernbt { width: 94%; max-width: 100%; margin: auto; } .contentnbt, .sidebar-primarynbt, .title-areanbt, .site-headernbt .widget-areanbt { width: 100%; float: none; } .site-headernbt .widget-areanbt { text-align: center; } .thefunk-nav-menunbt { text-align: center; } .thefunk-nav-menunbt li { display: inline-block; } .entry-title { font-size: 30px; } } /* Mobile */ @media screen and (max-width: 767px) { body { font-size: 16px; } .wrapnbt, .site-innernbt { width: 94%; padding-left: 3%; padding-right: 3%; } .site-titlenbt { font-size: 26px; line-height: 1.2; } .site-descriptionnbt { font-size: 15px; line-height: 1.4; } .entry-title { font-size: 26px; line-height: 1.3; } .hentry { padding: 20px 15px; margin-bottom: 20px; } .entry-content { font-size: 16px; line-height: 1.7; } .entry-content img { width: 100%; height: auto; } .thefunk-nav-menunbt li { display: block; width: 100%; text-align: center; } .thefunk-nav-menunbt a { padding: 14px 10px; } .thefunk-nav-menunbt .sub-menu { position: static; display: none; width: 100%; } .thefunk-nav-menunbt li:hover > .sub-menu { display: block; } .thefunk-nav-menunbt .sub-menu a { width: 100%; } .sidebar-primarynbt { margin-top: 20px; } .postwrap .item { width: 100% !important; margin: 10px 0; } .postwrap .item h2 { font-size: 22px; } .footer-widgetsnbt-1, .footer-widgetsnbt-2, .footer-widgetsnbt-3 { width: 100%; float: none; margin: 0 0 25px; } } /* Small Mobile */ @media screen and (max-width: 480px) { .site-titlenbt { font-size: 22px; } .entry-title { font-size: 23px; } .entry-content { font-size: 15px; } .hentry { padding: 15px 10px; } .thefunk-nav-menunbt a { font-size: 14px; padding: 12px 8px; } }
0 Comments:
Post a Comment