WordPress.org

Make WordPress Core

Changeset 16869


Ignore:
Timestamp:
12/11/2010 04:05:32 AM (7 years ago)
Author:
nacin
Message:

Utilize gallery-columns-# classes in Twenty Ten. props ianstewart, lancewillett. fixes #15103.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyten/style.css

    r16216 r16869  
    829829    width: 33%;
    830830}
     831.gallery-columns-2 .gallery-item {
     832    width: 50%;
     833}
     834.gallery-columns-4 .gallery-item {
     835    width: 25%;
     836}
    831837.gallery img {
    832838    border: 2px solid #cfcfcf;
     839}
     840.gallery-columns-2 .attachment-medium {
     841    max-width: 92%;
     842    height: auto;
     843}
     844.gallery-columns-4 .attachment-thumbnail {
     845    max-width: 84%;
     846    height: auto;
    833847}
    834848.gallery .gallery-caption {
Note: See TracChangeset for help on using the changeset viewer.