Ignore:
Timestamp:
Dec 23, 2010, 11:03:35 PM (13 years ago)
Author:
rvelices
Message:
  • more efficient css rules (according to pagespeed)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/themes/Sylvia/theme.css

    r8161 r8269  
    1 .content div.thumbnailCategory div.illustration {
     1.content .thumbnailCategory div.illustration {
    22        width:165px !important; /* Usable range 162px-360px , optimal : Thumbnail width + 40px */
    33}
    4 #comments div.thumbnailCategory div.illustration {
     4#comments .thumbnailCategory div.illustration {
    55        width:220px !important; /* Usable range 219px-360px , optimal : Thumbnail width + 95px */
    66}
     
    197197        padding:0;
    198198}
    199 .content div.thumbnailCategory {
     199.content .thumbnailCategory {
    200200        background:transparent url(images/cat_bottom-left.gif) no-repeat scroll left bottom;
    201201        padding: 0 0 2px;
     
    212212        padding:20px 0 0 8px;
    213213}
    214 .content .thumbnailCategory div.description {
     214.content .thumbnailCategory .description {
    215215        background:transparent url(images/cat_top-right.gif) no-repeat scroll right top;
    216216        margin: 0;
     
    218218        overflow-x: hidden !important;
    219219}
    220 .content .thumbnailCategory div.description .text {
     220.content .thumbnailCategory .description .text {
    221221        display:block;
    222222        margin:10px 2px 0 0;
     
    225225        padding:0 0 5px;
    226226}
    227 .content div.thumbnailCategory div.description p.dates {
     227.content .thumbnailCategory .description p.dates {
    228228        margin: 0 15px 0 15px;
    229229        text-align: right;
    230230}
    231 .content .thumbnailCategory div.description H3 {
     231.content .thumbnailCategory .description H3 {
    232232        display: block;
    233233}
     
    304304#comments ul.actions li, #comments ul.actions li:hover {
    305305        background:transparent none;
    306         padding: 0 22px;
     306        margin-right: 22px;
    307307        clear:both;
    308308        list-style-type:none;
     
    403403}
    404404#theCommentsPage .content ul.thumbnailCategories li,
    405 #theCommentsPage .content div.thumbnailCategory ,
    406 #theCommentsPage .content div.thumbnailCategory div.description,
     405#theCommentsPage .content .thumbnailCategory ,
     406#theCommentsPage .content .thumbnailCategory .description,
    407407#theCommentsPage .content .thumbnailCategory div.illustration {
    408408        background-image: none;
    409409}
    410 #theCommentsPage .content div.thumbnailCategory {
     410#theCommentsPage .content .thumbnailCategory {
    411411        padding: 15px 2px 6px 12px;
    412412        border: 1px solid #666;
     
    422422        background-color: transparent;
    423423}
    424 #theCommentsPage div#comments {
     424#theCommentsPage #comments {
    425425        padding: 0 0 5px 10px;
    426426}
     
    429429}
    430430
    431 #the_page .content div.thumbnailCategory div.description {
     431#the_page .content .thumbnailCategory .description {
    432432  height:158px;
    433433}
Note: See TracChangeset for help on using the changeset viewer.