Dotclear


Ignore:
Timestamp:
08/08/13 21:12:30 (12 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
default
Message:

Responsive enhancement + je sais plus quoi.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/style/default.css

    r1310 r1311  
    296296     float: left; 
    297297     margin:0; 
    298      padding-top: 4em; 
     298     padding-top: .5em; 
    299299     padding-bottom: 1em; 
    300300     background: #f7f7f7; 
     
    332332#main-menu .active { 
    333333     font-weight: bolder; 
     334} 
     335#search-menu { 
     336     padding: .3rem .4rem 0; 
     337} 
     338#search-menu p { 
     339     display: inline-block; 
     340} 
     341#search-menu #q { 
     342     width: 12rem; 
     343     border-bottom-left-radius: .6em; 
     344     border-top-left-radius: .6em; 
     345     border-color: #999; 
     346     background: transparent url(search.png) no-repeat 4px center; 
     347     text-indent: 18px; 
     348     height: 2rem; 
     349     padding: 0 2px;  
     350} 
     351#search-menu input[type="submit"] { 
     352     padding: .1rem .3rem; 
     353     background: #dfdfdf; 
     354     border-color: #999; 
     355     color: #666; 
     356     border-bottom-right-radius: .6em; 
     357     border-top-right-radius: .6em; 
     358     text-shadow: none; 
     359     height: 2.2rem; 
     360     font-size: 1rem; 
     361     margin-left: -.5em; 
     362} 
     363#search-menu input[type="submit"]:hover, 
     364#search-menu input[type="submit"]:focus { 
     365     background: #575859; 
     366     color: #fff; 
    334367} 
    335368#favorites-menu, #blog-menu, #system-menu, #plugins-menu { 
     
    354387     padding: 0 1em; 
    355388     text-align: center; 
    356      font-size: 1.1em; 
     389     font-size: 1em; 
    357390} 
    358391#footer a { 
    359392} 
    360393#footer p span.credit { 
    361      font-size: .85em; 
     394     font-size: 1rem; 
    362395     font-weight: normal; 
    363396} 
     
    852885/* ------------------------------------------------------------------ popups */ 
    853886body.popup #wrapper, body.popup #top { 
    854      margin-top: -1.5em; 
     887     width: 100%; 
     888     padding: 0; 
     889} 
     890body.popup #wrapper { 
    855891     float: none; 
    856 } 
    857 body.popup #top h1 { 
    858      background: transparent; 
     892     margin:0; 
     893     display: block; 
     894} 
     895body.popup h1, body.popup #top { 
     896     margin: 0; 
     897     border-bottom: 1px solid; 
     898     font-weight: normal; 
     899     color: #fff; 
     900     background: #575859; 
     901     font-size: 1.5em; 
     902     text-indent: .6rem; 
     903     line-height: 1.3em; 
    859904} 
    860905body.popup #main { 
    861      margin-left: -35px; 
    862      margin-bottom: 1em; 
     906     margin-bottom: 1em 0; 
    863907} 
    864908body.popup #content { 
    865      margin-left: 35px; 
    866      margin-left: 2em;  /* 3.2 */ 
    867 } 
    868 body.popup #footer { 
    869      display: none; /* 3.2 */ 
     909     margin: 0; 
     910     padding: .6rem 0 !important; 
     911} 
     912body.popup #content h2 { 
     913     margin: 0 0 1em; 
    870914} 
    871915body.popup #footer p { 
    872      margin-left: 35px; 
    873916     border: none; 
    874917} 
     
    14391482     } 
    14401483     #info-box1 select {width: 14rem;} 
    1441      #help-button {position: absolute; top: 8rem; right:0;} 
    14421484     #main-menu, #main, #content, #content h2, #entry-wrapper, #entry-sidebar, #entry-content, .two-cols .col, .two-cols .col:first-child { 
    14431485     display:block; 
     
    14561498@media screen and (max-width: 720px) { 
    14571499     .smallscreen {display: none;} 
     1500     #help-button {width:20px; overflow: hidden;} 
    14581501} 
    14591502@media screen and (max-width: 492px) { 
    14601503     #header {min-height:3.6rem;} 
    1461      .page-title, #info-boxes {display: inline-block;} 
    1462      #help-button {top: 9rem;} 
     1504     #wrapper {font-size: 1.6rem;} 
     1505     .page-title, #info-boxes, .media-item {display: inline-block;} 
     1506     div.media-list .media-item {width: 90%; float: none} 
    14631507     #top h1 a, #top {height: auto;} 
    14641508     #info-box1 p.nomobile, label.nomobile {display: none;} 
    1465 } 
     1509     #help-button {height:26px; width:26px; background-color: #A2CBE9; padding: 0; margin:0;font-size: 1rem;line-height: 68px} 
     1510} 
Note: See TracChangeset for help on using the changeset viewer.

Sites map