Projet

Général

Profil

Révision 74f6bef0

Ajouté par Assos Assos il y a plus de 10 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/themes/adaptivetheme/at_subtheme/css/responsive.custom.css
5 5
 * By default all the other responsive stylesheets used in Adaptivetheme use a
6 6
 * "stacking method", however cascading media queries use a waterfall method so
7 7
 * you can leverage the cascade and inheritance for all browsers that support
8
 * media queries, regardless of screen size.
8
 * media queries.
9 9
 *
10 10
 * @SEE http://zomigi.com/blog/essential-considerations-for-crafting-quality-media-queries/#mq-overlap-stack
11 11
 *
12
 * NOTE: this file loads by default, to disable got to your theme settings and
12
 * NOTE: this file loads by default, to disable go to your theme settings and
13 13
 * look under the "CSS" settings tab.
14 14
 */
15

  
15 16
/*
16 17
 * Really small screens and up
17 18
 */
18 19
/* @media only screen and (min-width: 220px) {} */
20

  
19 21
/*
20
 * Smartphone sizes and up
22
 * Smalltouch sizes and up
21 23
 */
22 24
/* @media only screen and (min-width: 320px) {} */
25

  
23 26
/*
24
 * Smartphone sizes and down
27
 * Smalltouch sizes and down
25 28
 */
26 29
@media only screen and (max-width: 480px) {
27 30
  /* 
28
   * Float Region blocks example:
29
   * In smaller screen sizes we can remove the float and widths so all blocks
30
   * stack instead of displaying horizonally. The selector used here is an
31
   * Float Region Blocks - custom media query CSS example:
32
   * 
33
   * Float regions blocks is an Extension you can enable in the appearance
34
   * settings for your theme. This feature allows you to automatically float
35
   * blocks in regions, you can switch it on and off depending on your
36
   * requirements. For design purposes you many want to remove the floats for
37
   * devices where the entire theme is just one column - for example small
38
   * mobile phones. The following CSS is inside the custom media query:
39
   *
40
   *   @media only screen and (max-width: 480px){}
41
   *
42
   * This will target devices with a maximum width of 480px - most small phones.
43
   * In these smaller screen sizes we can remove the float and widths so all
44
   * blocks stack instead of displaying horizonally. The selector used is an
31 45
   * "attribute selector" which will match on any float block class. Use your
32 46
   * inspector or Firebug to get the classes from the page output if you need
33 47
   * more granular control over block alignment and stacking.
34
   * 
35
   * "Float Region blocks" is an extension for floating blocks in regions, see
36
   * your themes appearance settings, under the Extensions tab.
37 48
   */
38 49
  .region[class*="float-blocks"] .block {
39 50
    float: none;
40 51
    width: 100%;
41 52
  }
42 53
}
54

  
43 55
/*
44 56
 * Tablet sizes and up
45 57
 */
46 58
/* @media only screen and (min-width: 768px) {} */
59

  
47 60
/*
48 61
 * Desktops/laptops and up
49 62
 */

Formats disponibles : Unified diff