responsive implementation in drupal

7
Responsive Web Design @b_Amrit

Upload: mukesh-agarwal

Post on 13-Jul-2015

141 views

Category:

Technology


3 download

TRANSCRIPT

Page 1: Responsive Implementation in Drupal

Responsive Web Design@b_Amrit

Page 2: Responsive Implementation in Drupal

Media Queries & Breakpoints● CSS3 media queries

○ @media only screen and (max-device-width: 480px) {div#wrapper {

width: 460px;}

}

● Breakpoints○ Desktop: 1024px or more○ Tablet: 768px○ Smartphone: 480px

● http://responsivegridsystem.com

Page 3: Responsive Implementation in Drupal

What makes for an optimal mobile experience?

● One column● Smaller header● Easy navigation access● Sidebars go below content● More focus on the content

Page 4: Responsive Implementation in Drupal

Bootstrap (http://getbootstrap.com)● Sleek, intuitive, and powerful mobile first front-end

framework for faster and easier web development.● Standards based: HTML, CSS & Javascript● Transitions, popover, modal, alert, dropdown,

buttons, scrollspy, collapse, tab, carousel, tooltip, affix

● Browser Support:All modern browsersSome older browsers as well*

Page 5: Responsive Implementation in Drupal

Responsive Drupal Themes

● Adaptive theme● Square grid● Zen● Omega

Page 6: Responsive Implementation in Drupal

Problem with sub-themes

Page 7: Responsive Implementation in Drupal

Creating a Drupal themedrupal.org/node/171194

● mytheme.info● template files● template.php● screenshot, logo, etc.