WordPress.org

Making WordPress.org

Changeset 43


Ignore:
Timestamp:
06/07/2013 03:48:02 AM (8 years ago)
Author:
nacin
Message:

Trac: Move to max-width, fixing some overflow issues. Don't have wp4's generic .error class apply to a Trac "error" page (#content.error). Style system notices 960px wide and make them look better. Remove another shadow.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/style/trac/wp-trac.css

    r42 r43  
    66
    77/* =WP.org global header & footer */
     8#main, #content {
     9    /* a second #content is sometimes printed outside of #main, like when doing blame */
     10    font-size: 14px;
     11}
    812#main {
    9     font-size: 14px;
    1013    clear: both;
    1114}
     
    6770    padding-left: 0;
    6871}
     72#content.error {
     73    background: none;
     74    border: 0;
     75}
    6976
    7077/* We like the WP button styles, but they need to be a bit smaller sometimes */
     
    123130/* Everything should be 960px width, except for reports (too much tabular data for 960px) */
    124131#banner, #mainnav, #ctxtnav, #pagepath, #content, #footer, #altlinks, #main > h1 {
    125     width: 960px;
     132    max-width: 960px;
    126133    margin: 0 auto;
    127134}
     
    511518    border-radius: 3px;
    512519}
     520.inlinebuttons input[type=button]:hover,
    513521.inlinebuttons input[type=submit]:hover {
    514522    box-shadow: none;
     523    text-shadow: none;
    515524}
    516525#mainnav {
     
    552561    box-shadow: none;
    553562}
     563#notice.system-message,
     564#notice.system-message,
    554565#warning.system-message,
    555566.warning.system-message {
    556     border-color: #333;
     567    max-width: 946px;
     568    padding-left: 7px;
     569    padding-right: 7px;
     570    margin-left: auto;
     571    margin-right: auto;
     572    background-color: #ffffe0;
     573    border-color: #e6db55;
    557574    color: #333;
    558575}
Note: See TracChangeset for help on using the changeset viewer.