Logo Dico Logo FMSH Logo CNAM Logo Inalco

« MediaWiki:Print.css » : différence entre les versions

De Wiktionnaire-SHS
Aller à :navigation, rechercher
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 1 : Ligne 1 :
/* Le CSS placé ici affectera les impressions */
/* Le CSS placé ici affectera les impressions */
#firstHeading .mw-editsection a {
/* make the background behind the content area and the tabs a light grey */
    color: white;
#content, #content table
}
#p-cactions ul li a { background: #f5f5f5; }
 
/* stop background image from scrolling with content area */
body { background-attachment: fixed; }
 
/* replace the book in the background with something else */
body { background: Purple; }
 
/* changes the background of pre areas  */
pre { background: White }
 
/* change the logo */
#p-logo a { background: url(http://en.wikipedia.org/upload/wiki.png) 35% 50% no-repeat; }
 
/* don't use any logo, move the boxes onto that area instead */
#p-logo { display: none }
#column-one { padding-top: 0; }
 
/* suppress the person icon by your username */
li#pt-userpage { background: none }
 
/* use browser prefs for text size and font */
html, body, #globalWrapper { font: inherit; }
 
/* always underline links */
:link { text-decoration: underline; }


body.page-Main_Page #t-cite,
/*Display body content in a narrower column for easier reading*/
body.page-Main_Page #lastmod,
/*adjust percentages as desired*/
body.page-Main_Page #siteSub {
div#bodyContent {
    display: none !important;
  width: 50%;
  line-height: 105%;
}
}


/* block quotations */
/* change background of unselected tabs */
#mw_content blockquote {
#p-cactions ul li a { background: #C7FDC7; }
    font-size: 93.75%;  /* equivalent of 15px in 16px default */
    margin: 1em 1.6em;  /* same indent as an unordered list */
}
#mw_content blockquote p {
    line-height:inherit;
}


/* Display "From Wikipedia, the free encyclopedia" */
/* change background of selected tabs */
#siteSub {
#p-cactions ul li.selected a { background: white; }
    display: block;
}


p.error {
/* change border background of selected tabs */
    font-weight: bold;
#p-cactions li.selected { border-color: #aaaaaa; }
}


/* some headroom for #coordinates to go in without #siteSub */
/* tab bottom not removed on hover */
#mw_contentholder {
#p-cactions li a:hover { z-index: 0; text-decoration: none; }
    padding-top: .4em;
#p-cactions li.selected a:hover { z-index: 3; }
}


/* position coordinates */
/* style the search box and the buttons below it */
#coordinates {
.searchButton {
     position: absolute;
     background-color: #efefef;
    z-index: 1;
     border: 1px outset;
     border: none;
    background: none;
    right: 1.17em;
    top: 6.1em;
    float: right;
    margin: 0em;
    padding: 0em;
    padding-right: 1.17em;
    line-height: 1.5em;
    text-align: right;
    text-indent: 0;
    font-size: 85%;
    text-transform: none;
    white-space: nowrap;
}
}
#searchInput { border: 1px inset; }


/* important to keep the text predictably positioned */
/* standard link colors */
#coordinates img {
a:link { color: #0645ad; }
    vertical-align: top;
a:visited { color: #0b0080; }
}
a.new:link { color: #cc2200; }
a.new:visited { color: #a55858; }
a.extiw:link { color: #3366bb; } /* links to other Wikipedias */
a.extiw:visited { color: #3366bb; }
a.external:link { color: #3366bb; } /* external links */
a.external:visited { color: #3366bb; }


/* allow disabling of "external" color on internal links in some situations */
/* put scrollbar on pre sections instead of ugly cutoff/overlap in Firefox */
#bodyContent .plainlinks2 a.external[href^="http://en.wikipedia.org/"] {
pre { overflow: auto; }
    color: #003366 !important;
}


/* table of contents */
/* strikeout Upload File link as a reminder to upload to Commons instead */
.toccolours {
li#t-upload { text-decoration: line-through; }
    background-color: #F0F0F0;
    border: 1px solid #BBBBBB;
    border-spacing: 0pt;
    margin: 0pt;
    padding: 0pt;
}


.mw-topboxes {
/* center/centre the title of each page */
    margin-top: -0.4em;
.firstHeading { text-align: center; }
}

Version du 18 janvier 2016 à 16:41

/* Le CSS placé ici affectera les impressions */
/* make the background behind the content area and the tabs a light grey */
#content, #content table
#p-cactions ul li a { background: #f5f5f5; }

/* stop background image from scrolling with content area */
body { background-attachment: fixed; }

/* replace the book in the background with something else */
body { background: Purple; }

/* changes the background of pre areas  */
pre { background: White }

/* change the logo */
#p-logo a { background: url(http://en.wikipedia.org/upload/wiki.png) 35% 50% no-repeat; }

/* don't use any logo, move the boxes onto that area instead */
#p-logo { display: none }
#column-one { padding-top: 0; }

/* suppress the person icon by your username */
li#pt-userpage { background: none }

/* use browser prefs for text size and font */
html, body, #globalWrapper { font: inherit; }

/* always underline links */
:link { text-decoration: underline; }

/*Display body content in a narrower column for easier reading*/
/*adjust percentages as desired*/
div#bodyContent {
  width: 50%;
  line-height: 105%;
}

/* change background of unselected tabs */
#p-cactions ul li a { background: #C7FDC7; }

/* change background of selected tabs */
#p-cactions ul li.selected a { background: white; }

/* change border background of selected tabs */
#p-cactions li.selected { border-color: #aaaaaa; }

/* tab bottom not removed on hover */
#p-cactions li a:hover { z-index: 0; text-decoration: none; }
#p-cactions li.selected a:hover { z-index: 3; }

/* style the search box and the buttons below it */
.searchButton {
    background-color: #efefef;
    border: 1px outset;
}
#searchInput { border: 1px inset; }

/* standard link colors */
a:link { color: #0645ad; }
a:visited { color: #0b0080; }
a.new:link { color: #cc2200; }
a.new:visited { color: #a55858; }
a.extiw:link { color: #3366bb; } /* links to other Wikipedias */
a.extiw:visited { color: #3366bb; }
a.external:link { color: #3366bb; } /* external links */
a.external:visited { color: #3366bb; }

/* put scrollbar on pre sections instead of ugly cutoff/overlap in Firefox */
pre { overflow: auto; }

/* strikeout Upload File link as a reminder to upload to Commons instead */
li#t-upload { text-decoration: line-through; }

/* center/centre the title of each page */
.firstHeading { text-align: center; }