Dotclear


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

Le retour de la revanche des mediaqueries (work in progress)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/style/default.css

    r2030 r2034  
    885885          top: 0; 
    886886          left: 0; 
    887           width: 174px; /* ie < 9 sucks */ 
    888           width: 17.4rem; 
     887          width: 15em; 
    889888          height: 36px; /* ie < 9 sucks */ 
    890889          height: 3.6rem; 
     
    23372336/* ------------------------------------------------------------------------------------ 
    23382337                                                                           UN POIL DE MEDIA QUERIES 
    2339 ------------------------------------------------------------------------------------ 
    2340 @media screen and (max-width: 920px) { 
    2341      #top, #top h1 a { 
    2342           width: 42px !important;  
    2343           height:100%;  
    2344           overflow: hidden; 
    2345           } 
    2346           #top h1 a:link { 
    2347                background: transparent url(dc_logos/b-dotclear120.png) no-repeat -180px 6px; 
    2348                border-right: 1px solid #ccc; 
    2349                } 
    2350           #top h1 a:hover, #top h1 a:focus { 
    2351                background: url(dc_logos/b-dotclear120.png) no-repeat -180px -94px; 
    2352                border-right: 1px solid #A2CBE9; 
    2353                } 
    2354      } 
    2355 @media screen and (max-width: 800px) { 
    2356      #top, #info-boxes, #info-box1, #info-box2 { 
    2357           display:inline-block; 
    2358           vertical-align:middle; 
    2359           margin:0; 
    2360           padding:0; 
    2361           line-height: 32px; line-height: 3.2rem; 
    2362           } 
    2363           #info-box1 { margin-left: .75em; } 
    2364           #info-box1 select { width: 140px; width: 14rem; } 
    2365      #main-menu, #main, #content, #content h2, #entry-wrapper, #entry-sidebar, #entry-content,  
    2366      .two-cols .col, .three-cols .col, .two-cols .col30, .two-cols .col70, .two-boxes, .three-boxes { 
    2367           display:block !important; 
    2368           width: 98% !important; 
    2369           margin:0 auto !important; 
    2370           padding:0; 
    2371           float:none; 
    2372           text-align: left; 
    2373           clear: both; 
    2374           } 
    2375      #content { 
    2376           width: 100%; 
    2377           padding-top: .5em; 
    2378           } 
    2379      } 
    2380  
    2381 @media screen and (max-width: 700px) { 
     2338------------------------------------------------------------------------------------ */ 
     2339@media screen and (max-width: 1000px) { 
    23822340     #header { 
    23832341          display: block; 
    23842342          width: 100%; 
    23852343          text-align: right; 
     2344          background: #333; 
    23862345          }  
    2387      h1, h1 a { 
    2388           width: 42px !important;  
    2389           } 
    2390           h1 a:link { 
    2391                background: transparent url(dc_logos/b-dotclear120.png) no-repeat -180px 6px; 
    2392                border-right: 1px solid #ccc; 
    2393                border-bottom: 1px solid #ccc; 
    2394                } 
    2395           h1 a:hover, h1 a:focus { 
    2396                background: url(dc_logos/b-dotclear120.png) no-repeat -180px -94px; 
    2397                border-right: 1px solid #A2CBE9; 
    2398                } 
    2399      h1, #top-info-blog, #top-info-user { 
     2346     #header h1, #header h1 a { 
     2347          width: 120px; 
     2348          padding: 0; 
     2349          margin: 0; 
     2350          } 
     2351     h1, #top-info-blog { 
    24002352          display: inline-block; 
    24012353          vertical-align: top; 
    24022354          margin-right: 1em; 
     2355          } 
     2356     #top-info-user { 
     2357          display: block; 
     2358          width: 100%; 
     2359          background: #676e78; 
     2360          } 
     2361     #top-info-user li:last-child { 
     2362          padding-right: 1em; 
    24032363          } 
    24042364     #top-info-user a.active { 
     
    24112371          } 
    24122372     } 
    2413 */ 
     2373@media screen and (max-width: 600px) { 
     2374     #header h1, #header h1 a { 
     2375          width: 42px !important;  
     2376          height: 42px; 
     2377          } 
     2378     h1 a:link { 
     2379          background: transparent url(dc_logos/b-dotclear120.png) no-repeat -180px 6px; 
     2380          border-right: 1px solid #ccc; 
     2381          } 
     2382     h1 a:hover, h1 a:focus { 
     2383          background: url(dc_logos/b-dotclear120.png) no-repeat -180px -94px; 
     2384          border-right: 1px solid #A2CBE9; 
     2385          } 
     2386     #wrapper, #main, #main-menu { 
     2387          display: block; 
     2388          float: none; 
     2389          width: 100%; 
     2390          margin: 0; 
     2391          } 
     2392     #content { 
     2393          margin: 0; 
     2394          padding: 0 1em; 
     2395          } 
     2396     #collapser { 
     2397          display: none; 
     2398          } 
     2399      #help-button { 
     2400          height:26px; 
     2401          width:26px; 
     2402          background-color: #A2CBE9; 
     2403          padding: 0; 
     2404          margin: 0; 
     2405          font-size: 10px; font-size: 1rem; 
     2406          line-height: 68px; 
     2407          overflow: hidden; 
     2408          } 
     2409     } 
     2410@media screen and (max-width: 500px) { 
     2411     h1, h1 a { 
     2412          padding: 0; 
     2413          border-right: #333 !important; 
     2414          } 
     2415     #top-info-blog label, .nomobile { 
     2416          display: none; 
     2417          } 
     2418     #top-info-blog select { 
     2419          margin-bottom: .5em; 
     2420          margin-right: 0 !important; 
     2421          } 
     2422     #top-info-blog p { 
     2423          display: block; 
     2424          } 
     2425     } 
Note: See TracChangeset for help on using the changeset viewer.

Sites map