મીડિયાવિકિ:Common.css

વિકિસ્રોતમાંથી

નોંધ: પાનું પ્રકાશિત કર્યા પછી, તમારે તમારા બ્રાઉઝરની કૅશ બાયપાસ કરવાની આવશ્યકતા પડી શકે છે.

  • ફાયરફોક્સ / સફારી: શીફ્ટ દબાવેલી રાખીને રિલોડ પર ક્લિક કરો, અથવા તો Ctrl-F5 કે Ctrl-R દબાવો (મેક પર ⌘-R)
  • ગુગલ ક્રોમ: Ctrl-Shift-R દબાવો (મેક પર ⌘-Shift-R)
  • ઈન્ટરનેટ એક્સપ્લોરર/એજ: Ctrl દબાવેલી રાખીને રિફ્રેશ પર ક્લિક કરો, અથવા Ctrl-F5 દબાવો
  • Opera: Ctrl-F5 દબાવો
/* CSS placed here will be applied to all skins */
@charset "utf-8";
/*	This stylesheet affects all skins	*/
@import url('/w/index.php?title=MediaWiki:Common.css/Tweaks.css&action=raw&ctype=text/css') screen;
@import url('/w/index.php?title=MediaWiki:Common.css/Boxes.css&action=raw&ctype=text/css') screen;
@import url('/w/index.php?title=MediaWiki:Common.css/Lists.css&action=raw&ctype=text/css') screen;
/* @import url('/w/index.php?title=MediaWiki:Common.css/Mainpage.css&action=raw&ctype=text/css') screen; */
/*	stylesheets being tested	*/
@import url('/w/index.php?title=MediaWiki:dynimg.css&action=raw&ctype=text/css') screen;

@charset "utf-8";
/* This stylesheet affects all skins. */
/* Always check with the [http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fcommons.wikimedia.org%2Fw%2Findex.php%3Ftitle%3DMediaWiki%3ACommon.css%26action%3Draw%26ctype%3Dtext%2Fcss&usermedium=all W3C CSS Validation Service] after any changes. */
/*(In [[w:Mozilla|Mozilla]] and [[w:Opera (web browser)|Opera]], you can test style changes dynamically with the [http://www.squarefree.com/bookmarklets/webdevel.html test styles] bookmarklet from squarefree.com. It pops up a window for adding style rules, and updates the page as you type.)*/

/* make user experience moar-kewl */
a:link,
a:visited
{
 -webkit-transition: color 0.4s ease;
    -moz-transition: color 0.4s ease;
      -o-transition: color 0.4s ease;
         transition: color 0.4s ease;
 }

/* *********
 * Main page
 */
body.page-Main_Page .firstHeading,
body.page-Main_Page #siteSub
{
 display: none;
}
div.main_page
{
 position: static;
}
/* some new stuff for styling the main page header */
table.tblMain_page_header
{
 margin: 0 0 1em 0;
 /* border and background-color properties set in shared rules; see further down */
 width: 100%;
}
table.tblMain_page_header h1,
table.tblMain_page_header h2
{
 margin: 0 !important; /* insist on overriding #bodyContent h1 selector in main.css */
 border: 0;
 padding: 0;
}
table.tblMain_page_header div.divMPheading_wrapper
{
 float: left;
 padding-right: 7em;
}
table.tblMain_page_header h1
{
 font-size: 150%;
 padding-bottom: 0.15em;
}
table.tblMain_page_header h2
{
 font-size: 90%;
}
table.tblMain_page_header ul
{
 margin: 0; /* override margin-top to better align with h1-element; margin-left isn't applicable in this context */
}
table.tblMain_page_header hr
{
 color: #569BBB;
 background-color: #569BBB;
}
/* may want to loosen specificity a bit... and rename. more likely, it'll become floats... */
div.main_page table.subheader
{
 width: 100%;
 margin: -0.8em 0 -0.7em 0;
 background: none;
 font-size: 0.95em;
}
div.main_page table.subheader td
{
 padding: 10px 0;
}
 
/* some new stuff for styling the layout and look of the main page columns and modules */
div#divMain_page-ColumnWrapper
{
 float: left;
 width: 100%;
}
div#divMain_page-PrimaryMaterial
{
 float: left;
 width: 51%;
}
div#divMain_page-SecondaryMaterial
{
 float: right;
 width: 49%;
}
div#divMain_page-TertiaryMaterial
{
 float: left;
 width: 100%;
}
div#divMain_page-PrimaryMaterial   table.tblMPmodule,
div#divMain_page-SecondaryMaterial table.tblMPmodule,
div#divMain_page-TertiaryMaterial  table.tblMPmodule
{
 width: 100%;
 background-color: transparent;
}
div#divMain_page-PrimaryMaterial   table.tblMPmodule td.tdMPmodule,
div#divMain_page-SecondaryMaterial table.tblMPmodule td.tdMPmodule,
div#divMain_page-TertiaryMaterial  table.tblMPmodule td.tdMPmodule
{
 border: 1px solid #cedff2;
 padding: 1em 1em 0.5em;
 font-size: 100%;
}
div#divMain_page-PrimaryMaterial   table.tblMPmodule td.tdMPmodule h2,
div#divMain_page-SecondaryMaterial table.tblMPmodule td.tdMPmodule h2,
div#divMain_page-TertiaryMaterial  table.tblMPmodule td.tdMPmodule h2
{
 font-size: 135%;
 background-color: #569BBB;
 color: White;
 margin: 0 0 3px 0;
 padding: 1px 0 0 0;
 text-align: center;
 line-height: 1.3em;
}
 
/* common rule for main page header and for prettytables embedded in main page moldules  */
table.tblMain_page_header,
div#divMain_page-ColumnWrapper table.tblMPmodule table.prettytable,
div#divMain_page-ColumnWrapper table.tblMPmodule table.prettytable th,
div#divMain_page-ColumnWrapper table.tblMPmodule table.prettytable td
{
 border: 1px solid #569BBB;
}
 
table.tblMain_page_header,
div#divMain_page-ColumnWrapper table.tblMPmodule table.prettytable th
{
 background-color: #f1f5fc;
}

/* messagebox */
.messagebox
{
 width: 80%;
 margin: 0 auto 1em;
 padding: 0.2em;
 border: 1px solid #aaa;
 background-color: #f9f9f9;
 text-align: justify;
}
.messagebox.standard-talk
{
 border: 1px solid #C0C090;
 background-color: #F8EABA;
}


/* Paragraph markers (no IE6 support) */
body.ns-104 div.pagetext>p
{
 background: url(//upload.wikimedia.org/wikipedia/commons/thumb/b/b6/Paragraph-mark.svg/6px-Paragraph-mark.svg.png) 0 .3em no-repeat;
 margin-left: -10px;
 padding-left: 10px;
}

/* poem tag : avoid extra margins between transcluded pages */
.poem
{
 margin-bottom: 0em;
 margin-top: 0em;
 line-height: 1.6em;
 text-indent: 0em;
}
.poem p
{
 margin-top: 0em ! important;
 margin-bottom: 0em ! important;
 text-indent: 0em !important;
}

/*********
** Page namespace
*********/
/* transcluded pages */
.lefttext p
{
 text-indent: 2em;
}
.lefttext .poem p
{
 text-indent: 0;
}
.lefttext .tiInherit p
{
 text-indent: inherit;
}
.lefttext
{
 width: 33em;
 text-align: justify;
 margin-left: 5em;
}

.leftoutdent
{
 padding-left: 2em;
 text-indent: -2em;
 max-width: 33em;
 margin-left: 5em;
}

/* similar to tiInherit, above; wrap something with a div of this class and set line-height; poem-tags, too */
.lhInherit p
{
 line-height: inherit;
}
.quote
{
 color: #2F4F4F; /* darkslategray (not a valid color name) */
 margin-left: 2em;
 margin-right: 2em;
}

/* Justify */
body.ns-104
{
 text-align: justify;
}

/* Paragraph markers (no IE6 support) */
body.ns-104 div.pagetext>p
{
 background: url(//upload.wikimedia.org/wikipedia/commons/thumb/b/b6/Paragraph-mark.svg/6px-Paragraph-mark.svg.png) 0 .3em no-repeat;
 margin-left: -10px;
 padding-left: 10px;
}

/*
 * Dynamic Layouts
 *
 * sidenotes
 */
body.ns-104 .sidenote-left {
	position: absolute;
	left: 0;
	width: 6em;
	padding-right: 1em;
	text-indent: 0em;
	text-align: left;
}
body.ns-104 .sidenote-right {
	position: absolute;
	right: 0;
	width: 6em;
	padding-left: 1em;
	text-indent: 0em;
	text-align: left;
}

/* importazione css per FreedImg e azzero il text-indent per adattarlo a it.source  */
/*@import url('//en.wikisource.org/w/index.php?title=User:George_Orwell_III/common.css/dynimg.css&action=raw&ctype=text/css') screen; */
p.freedImg, div.freedImg2 > p.freedImg2, #mySpan1, #mySpan2, .mySpan1, .mySpan2  {
	text-indent:0;
}

#mySpan2 a, .myspan2 a {
	width:inherit;
}
 
.freedImg, .newFreedImg {
	width:inherit;
	height:auto;
}

.tr_mark {display:none;}
.tr_bengali {display:inline;}

/**
 * Icons on the top right of the article.
 * See also JS
 *
 * @source: http://www.mediawiki.org/wiki/Snippets/Top_icons
 * @rev: 2
 */
/* Hide without javascript */
.Top_icon_raw {
        display: none;
}
/* With JavaScript */
.Top_icon_dynamic {
        float: right;
        padding-left: 10px;
        font-size: 50%;
        width: auto !important;
}
.Top_icon_raw p, .Top_icon_dynamic p {
        padding: 0; margin: 0;
}
 
/* All header templates */
 
    .processheadertemplate,
    .portalheadertemplate,
    .authortemplate,
    .headertemplate,
    .footertemplate
    {
     width: 100%;
     margin-bottom: 5px;
    }
 
    /* Forward and backward link */
        .gen_header_backlink,
        .gen_header_forelink
        {
         width: 20%;
         font-size: 0.9em;
         line-height: normal;
        }
 
        .gen_header_backlink
        {
         text-align: left;
        }
 
        .gen_header_forelink
        {
         text-align: right;
        }
 
    /* Title field */
        .gen_header_title
        {
         width: 60%;
         text-align:center;
        }
 
    /* Notes field */
        .process_notes,
        .author_notes,
        .portal_notes,
        .header_notes
        {
         width: 100%;
         font-size: 0.9em;
         line-height: 1.4em;
         margin-bottom: 0.5em; /* a bit of space before body-text; 1em might be better... */
        }
 

/* Specific header templates  (copied from enWS)*/
    /* For Header template, see above with ProofreadPage code */
 
    /* Template:Header (footer) */
        .footertemplate
        {
         font-size: 0.9em;
         text-align: center;
        }
 
        .header_notes
        {
         border-bottom: 1px solid #A88;
         background-color: #FAFAFF;
        }
 
 
    /* Template:Author */
        .authortemplate
        {
         border: 1px solid #BEA2A2;
         background-color: #E4D8D8;
        }
 
        .author_notes
        {
         border-bottom: 1px solid #A88;
         background-color: #FFFBFC;
        }
 
        .author_seealso /* Remove this if we change to Plain_sister usage */
        {
         float: right;
         padding: 2px;
         margin: 0 0 0.5em 1em;
         border: 1px solid #CCC;
        }
 
 
    /* Process_header template */
        .processheadertemplate
        {
         border: 1px solid #966;
         background-color: #DCA;
        }
 
        .process_notes
        {
         border-bottom: 1px solid #A88;
         background-color: #FFFBFC;
        }
 
    /* Portal_header template */
        .portalheadertemplate
        {
         border: 1px solid #36A;
         background-color: #DDE;
        }
 
        .portal_notes
        {
         border-bottom: 1px solid #88A;
         background-color: #FCFBFF;
        }

/* ProofreadPage */
/* quality markers */
.quality4 { background-color: #90ff90; }
.quality3 { background-color: #ffe867; }
.quality2 { background-color: #b0b0ff; }
.quality1 { background-color: #ffa0a0; }
.quality0 { background-color: #ddd; }
.ns-104 .editsection { visibility:hidden; }
/* not in remarks */ 
div#remarks a.quality4 { background:#ffffff; }
div#remarks a.quality3 { background:#ffffff; }
div#remarks a.quality2 { background:#ffffff; }
div#remarks a.quality1 { background:#ffffff; }
div#remarks a.quality0 { background:#ffffff; }