|
|
(12 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| /* CSS placed here will affect users of the Vdemopaediaii skin */ | | /* CSS placed here will affect users of the Vdemopaediaii skin */ |
− | /*
| |
− | * Should be placed in Mediawiki:Vdemopaediaii.css if can't be else.
| |
− | * Any rules which should not be flipped automatically in right-to-left situations should be
| |
− | * prepended with @noflip in a comment block. Images that should be embedded as base64 data-URLs
| |
− | * should be prepended with @embed in a comment block.
| |
− | *
| |
− | * This style-sheet employs a few CSS trick to accomplish compatibility with a wide range of web
| |
− | * browsers. The most common trick is to use some styles in IE6 only. This is accomplished by using
| |
− | * a rule that makes things work in IE6, and then following it with a rule that begins with
| |
− | * "html > body" or use a child selector ">", which is ignored by IE6 because it does not support
| |
− | * the child selector. You can spot this by looking for the "OVERRIDDEN BY COMPLIANT BROWSERS" and
| |
− | * "IGNORED BY IE6" comments.
| |
− | */
| |
− |
| |
− | /* Framework */
| |
− | html,
| |
− | body {
| |
− | height: 100%;
| |
− | margin: 0;
| |
− | padding: 0;
| |
− | font-family: sans-serif;
| |
− | font-size: 1em;
| |
− | background-color: #beefd4; /*#00bf6a; /*#00844a; /*#ecfeeb; /* line added NB green II #f8f7bb; yellow I */
| |
− | /*background-color: #ecfeeb;*//*#00844a/*#ecfeeb; /* line changed NB green II #f8f7bb; yellow I */
| |
− | /*background-color: #f3f3f3; */
| |
− | background-image: url(/Demopaedia_files/page-base-demopaediaii.png); /*background-image: url(images/page-base.png);*/
| |
− | }
| |
− | /* Content */
| |
− | #content {
| |
− | margin-left: 10em;
| |
− | padding: 1em;
| |
− | /* @embed */
| |
− | background-image: url(images/border.png);
| |
− | background-position: top left;
| |
− | background-repeat: repeat-y;
| |
− | background-color: white;
| |
− | color: black;
| |
− | direction: ltr;
| |
− | }
| |
− | /* Head */
| |
− | #p-logobannerleft {
| |
− | position: absolute;
| |
− | top: 0;
| |
− | width: 108px;
| |
− | background: left;
| |
− | }
| |
− | #p-logobannertextleft {
| |
− | position: absolute;
| |
− | top: 0;
| |
− | height: 86px;
| |
− | width: 100%;
| |
− | background-color: #b5d5e4; /*#b5e5e4; marine blue */
| |
− | /*font-family:"Times New Roman", Times, serif;*/
| |
− | font-family:"Arial", Sans-serif;
| |
− | font-size: 0.875em;
| |
− | border-bottom-color: #6799cc;
| |
− | border-bottom-width: 3px;
| |
− | border-bottom-style: solid;
| |
− | }
| |
− | #p-logobannertextleft p {
| |
− | position: absolute;
| |
− | left: 100px;
| |
− | line-height: 100%;
| |
− | }
| |
− | #p-logobannertextright {
| |
− | position: absolute;
| |
− | top: 0;
| |
− | right: 75px; /*-350px;*/
| |
− | width: 150px;
| |
− | height: 85px;
| |
− | /*background-color: #b5e5e4; *//*fdfeab; /* line added NB green II #f8f7bb; yellow I */
| |
− | /*font-family:"Times New Roman", Times, serif;*/
| |
− | font-family:"Arial", Sans-serif;
| |
− | font-size: 0.875em;
| |
− | }
| |
− | #p-logobannertextright p {
| |
− | position: absolute;
| |
− | text-align: right;
| |
− | line-height: 100%;
| |
− | }
| |
− |
| |
− | #p-logobannerright {
| |
− | position: absolute;
| |
− | top: 0;
| |
− | right: 0;
| |
− | /*width: 100px;*/ /* For background only */
| |
− | background: right;
| |
− | /*background-color: #b5e5e4 ;*//*fdfeab; /* line added NB green II #f8f7bb; yellow I */
| |
− | }
| |
− | #mw-page-base {
| |
− | height: 5em ; /*5em;*/
| |
− | background-color: white;
| |
− | /* @embed */
| |
− | background-image: url(images/page-fade.png);
| |
− | background-position: bottom left;
| |
− | background-repeat: repeat-x;
| |
− | }
| |
− | #mw-head-base {
| |
− | margin-top: 0em; /*0em; /*NB was -5em ; */
| |
− | margin-left: 10em;
| |
− | height: 6em; /*5em;*/
| |
− | /* @embed */
| |
− | /*background-image: url(images/border.png); */
| |
− | background-position: bottom left;
| |
− | background-repeat: repeat-x;
| |
− | }
| |
− | #mw-head {
| |
− | position: absolute;/* can't be relative or no top banner*/
| |
− | margin-top: 0em; /*0em; /*NB was -5em ; */
| |
− | top: 0; /*0;*/
| |
− | right: 0;
| |
− | width: 100%;
| |
− | background-color: none;/*#ecfeeb; /* line added NB green II #f8f7bb; yellow I */
| |
− | }
| |