Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- //TODO: Check compatibility with IE9 preview (Make sure all alpha filters aren't present for IE9, while not breaking the other filters).
- define('IMAGES', '../images/');
- require_once('../../backend/framework.php');
- header('Content-Type: '.CSS.'; charset='.CHARSET);
- $server = new server_checks(false);
- $UA = new userAgentChecker($server);
- ?>@charset "<?php echo(CHARSET); ?>";
- html {
- font-family: Arial, Helvetica, sans-serif;
- font-size: 16px;
- color: rgb(0, 0, 0);
- -webkit-text-size-adjust: none;
- direction: ltr;
- <?php
- if ($UA->browser() != 'MSIE' && $UA->browser() != 'Tasman') { //IE 6 fails at fixed BGs when applied to html & body, also MSIE doesn't do xhtml, so skip this.
- ?> background-color: rgb(255, 255, 255); /*Some lesser-known browsers don't default to a white background*/
- background-image: url("<?php echo(IMAGES); ?>bg1.jpg"); /*Force on both the html element and body element, as IE 5 fails to skin when on html, and old-Gecko fails to skin the full window on body*/
- background-attachment: fixed;
- background-repeat: no-repeat;
- background-position: top left;
- overflow: <?php echo(($UA->browser() == 'Gecko' && $UA->int_version() <= 1.7) ? 'scroll' : 'auto'); ?>;
- <?php
- }
- if ($UA->browser() == 'iPhone') {
- ?> -webkit-background-size: 100%; /*Workaround for iphone background imaging*/
- <?php
- }
- ?>}
- html, body {
- margin: 0px;
- padding: 0px;
- height: auto;
- width: auto;
- }
- body {
- <?php
- if ($UA->browser() != 'iPhone') {
- ?> background-color: rgb(255, 255, 255); /*Some lesser-known browsers don't default to a white background*/
- background-image: url("<?php echo(IMAGES); ?>bg1.jpg"); /*Force on both the html element and body element, as IE 5 fails to skin when on html, and old-Gecko fails to skin the full window on body*/
- background-attachment: fixed;
- background-repeat: no-repeat;
- <?php
- }
- if ($UA->browser() == 'MSIE' && $UA->int_version() < 6) {
- ?> overflow: auto; /*IE5 fix*/
- <?php
- }
- else {
- ?> overflow: visible;
- <?php
- }
- if (!($UA->browser() == 'MSIE' && $UA->int_version() >= 8) && !($UA->browser() == 'Gecko' && $UA->int_version() >= 1.9) && $UA->browser() != 'Webkit' && $UA->browser() != 'iPhone') {
- ?> min-width: 975px; /*IE7 inline-block minimum intrinsic width workaround*/
- <?php
- }
- ?>}
- div#body_wrapper {
- position: relative;
- margin: 0px;
- padding: 0px;
- height: <?php echo((($UA->browser() == 'MSIE' && $UA->int_version() <= 7) ? '100%' : 'auto')); ?>;
- min-width: 100%;
- width: auto;
- display: inline-block; /*To use the minimum instrinsic width as a minimum width limit*/
- z-index: 2;
- <?php
- if ($UA->browser() == 'MSIE' && $UA->int_version() <= 6) {
- ?> width: expression((document.body.clientWidth <= 975) ? "975px" : "auto"); /*IE 6 crashes if 'less than' target width, so trigger on 'equal to' as well*/
- <?php
- }
- if ($UA->browser() == 'MSIE' && $UA->int_version() <= 5.5) {
- ?> text-align: left; /*Reset text alignment due to centering hack*/
- <?php
- }
- ?>}
- body img#bg_skin {
- z-index: 1;
- position: fixed;
- top: 0px;
- left: 0px;
- width: 1920px;
- height: 1440px
- }
- div#header {
- border: none;
- position: static;
- display: block;
- width: auto;
- margin: 0px;
- padding: 0px;
- height: 50px;
- overflow: visible;
- }
- div#header span#hover_description {
- position: absolute;
- left: 20px;
- top: 5px;
- border-radius: 3px;
- -moz-border-radius: 3px;
- -webkit-border-radius: 3px;
- line-height: 1;
- font-size: 10px;
- padding: 2px 3px;
- background-color: rgb(200, 200, 100);
- opacity: 0.6;
- -moz-opacity: 0.6;
- -khtml-opacity: 0.6;
- <?php
- if ($UA->browser() == 'MSIE'/* && $UA->int_version() < 9*/) {
- if ($UA->int_version() < 8) {
- ?> filter: progid:DXImageTransform.Microsoft.Alpha(opacity=60);
- <?php
- }
- else {
- ?> -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=60)";
- <?php
- }
- }
- ?>}
- div#header span.hover_description_hidden {
- visibility: hidden;
- }
- div#header span.hover_description_active {
- visibility: visible;
- }
- div#header span#text1 {
- text-shadow: 2px 2px 2px rgb(100, 100, 100);
- position: absolute;
- top: 13px;
- right: 100px;
- word-spacing: 3px;
- font-size: 10px;
- font-weight: bold;
- color: rgb(50, 50, 0);
- line-height: 16px;
- opacity: 0.3;
- -moz-opacity: 0.3;
- -khtml-opacity: 0.3;
- <?php
- if (($UA->browser() == 'MSIE' && $UA->int_version() < 5.5) || $UA->browser() == 'Tasman') {
- ?> z-index: 4;
- <?php
- }
- if ($UA->browser() == 'MSIE') {
- if ($UA->int_version() < 8 && $UA->int_version() >= 5.5) {
- ?> filter: progid:DXImageTransform.Microsoft.Shadow(Color='#AAAAAA', strength='2', direction='135'), progid:DXImageTransform.Microsoft.Alpha(opacity=30);
- <?php
- }
- elseif (true/*$UA->int_version() < 9*/) {
- ?> -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Color='#AAAAAA', strength='2', direction='135'), progid:DXImageTransform.Microsoft.Alpha(opacity=30)";
- <?php
- }
- else {
- ?> -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Color='#AAAAAA', strength='2', direction='135')";
- <?php
- }
- }
- ?>}
- div#header span#text2 {
- position: absolute;
- top: 10px;
- right: 20px;
- word-spacing: 0px;
- font-size: 30px;
- font-weight: bold;
- color: rgb(200, 30, 0);
- line-height: 1;
- z-index: 3;
- opacity: 0.1;
- -moz-opacity: 0.1;
- -khtml-opacity: 0.1;
- <?php
- if ($UA->browser() == 'MSIE'/* && $UA->int_version() < 9*/ || $UA->browser() == 'Tasman') {
- if ($UA->int_version() < 8) {
- ?> filter: progid:DXImageTransform.Microsoft.Alpha(opacity=10);
- <?php
- if ($UA->int_version() < 5.5 || $UA->browser() == 'Tasman') {
- ?> color: rgb(160, 140, 140); /*Different color for IE5, due to no opacity support*/
- <?php
- }
- }
- else {
- ?> -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=10)";
- <?php
- }
- }
- ?>}
- div#header span#text2:hover {
- opacity: 0.3;
- -moz-opacity: 0.3;
- -khtml-opacity: 0.3;
- <?php
- if ($UA->browser() == 'MSIE'/* && $UA->int_version() < 9*/) {
- if ($UA->int_version() < 8) {
- ?> filter: progid:DXImageTransform.Microsoft.Alpha(opacity=30);
- <?php
- }
- else {
- ?> -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=30)";
- <?php
- }
- }
- ?>}
- div#main_wrapper {
- display: block;
- position: relative;
- overflow: auto;
- padding: 0px 0px 40px 0px;
- margin: 20px 20px 0px 20px;
- height: auto;
- width: auto;
- <?php
- if ($UA->browser() == 'MSIE') {
- if ($UA->int_version() >= 8) {
- ?> -ms-filter: "progid:DXImageTransform.Microsoft.Iris(duration='5.000', irisStyle='circle', motion='inside')";
- <?php
- }
- elseif ($UA->int_version() >= 6) {
- ?> filter: progid:DXImageTransform.Microsoft.Iris(duration='5.000', irisStyle='circle', motion='inside');
- zoom: 1; /*IE 5.5-7 Filter Quirk*/
- <?php
- }
- }
- ?>}
- div#navigation {
- display: block;
- border: none;
- overflow: hidden;
- position: static;
- width: auto;
- margin: 0px;
- padding: 5px 35px;
- background-color: rgb(200, 200, 200);
- text-align: center;
- border-top-right-radius: 10px;
- -moz-border-radius-topright: 10px;
- -webkit-border-top-right-radius: 10px;
- border-top-left-radius: 10px;
- -moz-border-radius-topleft: 10px;
- -webkit-border-top-left-radius: 10px;
- white-space: pre;
- opacity: 0;
- -moz-opacity: 0;
- -khtml-opacity: 0;
- /*Applying linear opacity gradient for IE only, as an alternate effect to border radius*/
- <?php
- if ($UA->browser() == 'MSIE') {
- if ($UA->int_version() >= 8 && $UA->int_version() < 9) {
- ?> -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=0), progid:DXImageTransform.Microsoft.Alpha(opacity='0', finishOpacity='100', style='1', startX='0', finishX='0', startY='0', finishY='40')";
- <?php
- }
- else {
- ?> filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0), progid:DXImageTransform.Microsoft.Alpha(opacity="0", finishOpacity="100", style="1", startX="0", finishX="0", startY="0", finishY="40");
- <?php
- if ($UA->int_version() <= 6 && $UA->int_version() >= 5.5) {
- ?> zoom: 1; /*IE 5.5-7 Filter Quirk*/
- <?php
- }
- elseif ($UA->int_version() < 5.5) {
- ?> width: 100%; /*IE 5 div width calculation bug*/
- <?php
- }
- }
- }
- ?>}
- div#navigation a.nav_reg:link, div#navigation a.nav_reg:visited {
- color: rgb(200, 100, 200);
- word-spacing: 1px;
- font-size: 20px;
- text-decoration: none;
- line-height: 30px;
- vertical-align: baseline;
- margin: 0px;
- padding: 0px;
- }
- div#navigation a.nav_reg:hover, div#navigation a.nav_reg:active {
- color: rgb(206, 106, 222);
- text-decoration: none;
- }
- div#navigation span.spacer {
- margin: 0px 26px;
- padding: 0px;
- word-spacing: 5px;
- line-height: 30px;
- vertical-align: baseline;
- white-space: pre;
- font-size: 30px;
- color: rgb(0, 0, 0);
- <?php
- if ($UA->browser() == 'MSIE' && $UA->int_version() < 5.5) {
- ?>
- letter-spacing: 20px; /*IE 5 No Inline Margins Bug*/
- <?php
- }
- ?>}
- div#content {
- display: block;
- border: none;
- overflow: auto;
- <?php
- if ($UA->browser() == 'Presto') {
- ?> overflow-x: hidden;
- <?php
- }
- ?>
- position: static;
- width: auto;
- margin: 5px 0px 0px 0px;
- padding: 5px <?php echo(($UA->browser() == 'MSIE' && $UA->int_version() < 5.5) ? '0' : '15'); ?>px 15px 15px;<?php echo((($UA->browser() == 'MSIE' && $UA->int_version() < 5.5) ? '/*IE 5 padding calculation bug*/' : '')."\r\n"); ?>
- background-color: rgb(100, 100, 100);
- color: rgb(0, 0, 0);
- border-bottom-right-radius: 10px;
- -moz-border-radius-bottomright: 10px;
- -webkit-border-bottom-right-radius: 10px;
- border-bottom-left-radius: 10px;
- -moz-border-radius-bottomleft: 10px;
- -webkit-border-bottom-left-radius: 10px;
- opacity: 0;
- -moz-opacity: 0;
- -khtml-opacity: 0;
- <?php
- if ($UA->browser() == 'MSIE'/* && $UA->int_version() < 9*/) {
- if ($UA->int_version() >= 8) {
- ?> -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=0)";
- <?php
- }
- elseif ($UA->int_version() < 8) {
- ?> filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0);
- <?php
- if ($UA->int_version() <= 6 && $UA->int_version() >= 5.5) {
- ?> zoom: 1; /*IE 5.5-7 Filter Quirk*/
- <?php
- }
- elseif ($UA->int_version() < 5.5) {
- ?> width: 100%; /*IE 5 div width calculation bug*/
- text-align: left;
- <?php
- }
- }
- }
- ?>}
- div#content div#header_topic_wrapper_master {
- margin: <?php echo((($UA->browser() == 'MSIE' && $UA->int_version() <= 7) ? '10' : '5')); ?>px 0px <?php echo((($UA->browser() == 'MSIE' && $UA->int_version() <= 7) ? (($UA->int_version() > 6) ? '10' : '5') : '15')); ?>px 0px;<?php echo((($UA->browser() == 'MSIE' && $UA->int_version() <= 7) ? '/*IE margin bug*/' : '')."\r\n"); ?>
- padding: 0px <?php echo((($UA->browser() == 'MSIE' && $UA->int_version() <= 5.5) ? '0' : '2')); ?>px 0px 0px;<?php echo((($UA->browser() == 'MSIE' && $UA->int_version() <= 5.5) ? '/*IE 5.5 Padded Div w/ Non-fixed Inside Table Width Calculation Bug*/' : '')."\r\n"); ?>
- background-color: transparent;
- overflow: visible;
- <?php
- if ($UA->browser() == 'MSIE' && $UA->int_version() < 5.5) {
- ?> background-color: rgb(100, 100, 100);
- <?php
- }
- ?>}
- div#content div#header_topic_wrapper_master table#topic_heading tr td div, div#content div#actual_content_wrapper {
- opacity: 0;
- -moz-opacity: 0;
- -khtml-opacity: 0;
- <?php
- if ($UA->browser() == 'MSIE'/* && $UA->int_version() < 9*/) {
- if ($UA->int_version() < 8) {
- ?> filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0);
- <?php
- if ($UA->int_version() < 6 && $UA->int_version() >= 5.5) {
- ?> zoom: 1; /*IE 5.5-7 Filter Quirk*/
- <?php
- }
- }
- else {
- ?> -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=0)";
- <?php
- }
- }
- ?>}
- div#content div#header_topic_wrapper_master table#topic_heading {
- border: none;
- margin: 0px;
- padding: 0px;
- width: 100%;
- overflow: visible;
- border-collapse: collapse;
- background-color: transparent;
- border-spacing: 0px;
- }
- div#content div#header_topic_wrapper_master table#topic_heading tr td {
- overflow: visible;
- margin: 0px 0px <?php echo((($UA->browser() == 'MSIE' && $UA->int_version() >= 5.5 && $UA->int_version() <= 7) ? '-5' : '0')); ?>px 0px !important;
- padding: 0px;
- background-color: transparent;
- border: none;
- }
- div#content div#header_topic_wrapper_master table#topic_heading tr td div {
- height: 100%;
- margin: 0px;
- padding: 0px;
- <?php
- if ($UA->browser() == 'MSIE' && $UA->int_version() <= 6) {
- ?> margin-bottom: 5px;
- <?php
- if ($UA->int_version() <= 5.5) {
- ?> height: 52px;
- <?php
- if ($UA->int_version() == 5.5) {
- ?> margin-right: 5px;
- <?php
- }
- }
- }
- if ($UA->browser() == 'Gecko' && $UA->int_version() <= 1.7) {
- ?> display: block; /*Fixes resizing issues for some reason.*/
- <?php
- }
- ?>}
- div#content div#header_topic_wrapper_master table#topic_heading tr td.spacing div.browser_fixup, div#content div#header_topic_wrapper_master table#topic_heading tr td.spacing {
- width: 1<?php echo((($UA->browser() == 'MSIE' && $UA->int_version() <= 7 && $UA->int_version() >= 6) ? '1' : (($UA->browser() == 'MSIE' && $UA->int_version() >= 5.5 && $UA->int_version() < 6) ? '0' : '5'))); ?>px; /*Force widths to be respected in some browsers, by giving a child with the same width as the table cell's width*/
- }
- div#content div#header_topic_wrapper_master table#topic_heading tr td.spacing div.browser_fixup {
- margin: 0px;
- padding: 0px;
- border: none;
- }
- div#content div#header_topic_wrapper_master table#topic_heading tr td.boxy div, div#content div#header_topic_wrapper_master table#topic_heading tr td.super_heading div#topic_heading_text {
- <?php
- //if ($UA->browser() != 'Presto') {
- ?> box-shadow: 4px 5px 3px rgb(32, 32, 32);
- <?php
- //}
- ?>
- -webkit-box-shadow: 4px 5px 3px rgb(32, 32, 32);
- -moz-box-shadow: 4px 5px 3px rgb(32, 32, 32);
- <?php
- if ($UA->browser() == 'MSIE') {
- if ($UA->int_version() < 8) {
- ?> filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0), progid:DXImageTransform.Microsoft.dropshadow(OffX='4', OffY='5', Color='#303030', Positive='true');
- <?php
- }
- elseif (true/*$UA->int_version() < 9*/) {
- ?> -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=0), progid:DXImageTransform.Microsoft.dropshadow(OffX='4', OffY='5', Color='#303030', Positive='true')";
- <?php
- }
- else {
- ?> -ms-filter: "progid:DXImageTransform.Microsoft.dropshadow(OffX='4', OffY='5', Color='#303030', Positive='true')";
- <?php
- }
- }
- ?>}
- div#content div#header_topic_wrapper_master table#topic_heading tr td.boxy {
- height: 50px;
- }
- div#content div#header_topic_wrapper_master table#topic_heading tr td.super_heading div#topic_heading_text {
- padding: 10px 20px;
- font-size: 30px;
- color: rgb(200, 30, 0);
- border-top-left-radius: 10px;
- -moz-border-radius-topleft: 10px;
- -webkit-border-top-left-radius: 10px;
- border-bottom-left-radius: 10px;
- -moz-border-radius-bottomleft: 10px;
- -webkit-border-bottom-left-radius: 10px;
- display: block;
- width: auto;
- overflow: hidden;
- white-space: pre;
- <?php
- if ($UA->browser() == 'MSIE' && $UA->int_version() < 6) {
- ?> height: 52px; /*MSIE 5.5 and below height fixing*/
- <?php
- }
- else {
- ?> height: 30px; /*For the Gecko 1.8.0 (around Firefox 1.5) and below layout bug*/
- <?php
- }
- if ($UA->browser() == 'MSIE' && $UA->int_version() >= 6 && $UA->int_version() <= 7) {
- ?> margin-right: 4px; /*IE 6-7 Overflow Visibility Bug*/
- <?php
- }
- if ($UA->browser() == 'MSIE' && $UA->int_version() >= 5.5 && $UA->int_version() <= 7) {
- ?> padding: 7px 20px 13px 20px; /*IE Text-Vertical Align Offset Bug*/
- <?php
- }
- ?>}
- <?php
- for ($index = 0; $index < 10; $index++) {
- ?>
- td#topic_heading_effects_<?php echo($index); ?>, td#topic_heading_effects_<?php echo($index); ?> div {
- width: <?php echo(($index * 9) + 1 + (($UA->browser() == 'MSIE' && $UA->int_version() < 6) ? 2 : 0)); ?>px;
- }
- td#topic_heading_effects_<?php echo($index); ?> div {
- background-color: rgb(<?php echo((50 + ($index * 10)).', '. (50 + ($index * 10)).', '.(50 + ($index * 10))); ?>) !important;
- }
- <?php
- }
- ?>
- div#content div#header_topic_wrapper_master table#topic_heading tr td.boxy div, div#content div#header_topic_wrapper_master table#topic_heading tr td.super_heading div#topic_heading_text, div#content div.heading, div#content div.subpanel div.subpanel_header {
- border-style: solid;
- border-width: 1px;
- border-color: rgb(30, 30, 30);
- background-color: rgb(140, 140, 140);
- font-weight: bold;
- line-height: 1;
- text-align: left;
- vertical-align: middle;
- <?php
- if ($UA->browser() == 'MSIE' && $UA->int_version() <= 7 && $UA->int_version() >= 5.5) {
- ?> zoom: 1; /*IE 5.5-7 Filter Quirk*/
- <?php
- }
- ?>}
- div#content div.heading, div#content div.subpanel div.subpanel_header {
- margin: 0px;
- padding: 0px;
- opacity: 0.95;
- -moz-opacity: 0.95;
- -khtml-opacity: 0.95;
- <?php
- if ($UA->browser() == 'MSIE'/* && $UA->int_version() < 9*/) {
- if ($UA->int_version() < 8) {
- ?> filter: progid:DXImageTransform.Microsoft.Alpha(opacity=95);
- <?php
- }
- else {
- ?> -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=95)";
- <?php
- }
- }
- ?>}
- div#content div.subpanel div.heading:hover, div#content div.heading:hover {
- color: rgb(225, 225, 225);
- }
- div#content div.heading {
- font-size: 20px;
- line-height: 1.0<?php echo((($UA->browser() == 'MSIE' && $UA->int_version() < 5.5) ? '3; /*IE 5 seems to be skinning the background by the text box, when it\s clearly declared for the div box, and seems to have a text-box height rounding error.*/' : ';')."\r\n"); ?>
- padding: 5px 20px;
- <?php
- if ($UA->browser() == 'MSIE' && $UA->int_version() >= 5.5 && $UA->int_version() <= 7) {
- ?> padding: 3px 20px 7px 20px; /*IE Text-Vertical Align Offset Bug*/
- <?php
- }
- elseif ($UA->browser() == 'MSIE' && $UA->int_version() < 5.5) {
- ?> padding: 4px 20px 2px 20px; /*IE5 Box Padding Bug*/
- <?php
- }
- ?>
- color: rgb(200, 200, 200);
- <?php
- //if ($UA->browser() != 'Presto') {
- ?> box-shadow: 2px 3px 2px rgb(32, 32, 32);
- <?php
- //}
- ?>
- -webkit-box-shadow: 2px 3px 2px rgb(32, 32, 32);
- -moz-box-shadow: 2px 3px 2px rgb(32, 32, 32);
- <?php
- if ($UA->browser() == 'MSIE' && $UA->int_version() <= 6) {
- ?> filter: progid:DXImageTransform.Microsoft.dropshadow(OffX='0', OffY='1', Color='#303030', Positive='true'); /*Horizontal shadow not shown, due to width bug*/
- margin-bottom<?php echo((($UA->browser() == 'MSIE' && $UA->int_version() >= 5.5 && $UA->int_version() <= 7) ? '-1' : '0')); ?>px; /*IE 5.5-6 does not compensate for the added height*/
- <?php
- }
- else {
- ?> margin: 0px <?php echo((($UA->browser() == 'MSIE' && $UA->int_version() >= 7) ? '2' : '0')); ?>px <?php echo((($UA->browser() == 'MSIE' && $UA->int_version() == 7) ? '-3' : '0')); ?>px 0px; /*IE 7 does not compensate for the added height. IE 7-8 do not compensate for the dropshadow on the width calaculations.*/
- <?php
- if ($UA->browser() == 'MSIE') {
- if ($UA->int_version() < 8) {
- ?> filter: progid:DXImageTransform.Microsoft.dropshadow(OffX='2', OffY='3', Color='#303030', Positive='true');
- <?php
- }
- else {
- ?> -ms-filter: "progid:DXImageTransform.Microsoft.dropshadow(OffX='2', OffY='3', Color='#303030', Positive='true')";
- <?php
- }
- }
- }
- ?>}
- div#content div.textwrapper div.effectswrapper span, div#content div.textwrapper div.effectswrapper a {
- margin: 0px;
- padding: 0px;
- background-color: transparent;
- white-space: pre-line;
- border: none;
- }
- div#content div.textwrapper div.effectswrapper span, div#content div.textwrapper div.effectswrapper a span {
- text-shadow: 0px 3px 3px rgb(30, 30, 30);
- }
- div#content div.textwrapper div.effectswrapper span {
- color: rgb(200, 200, 200);
- }
- div#content div.textwrapper div.effectswrapper a:link, div#content div.textwrapper div.effectswrapper a:visited, div#content div.textwrapper div.effectswrapper a:link span, div#content div.textwrapper div.effectswrapper a:visited span {
- color: rgb(170, 170, 170);
- text-decoration: none;
- }
- div#content div.textwrapper div.effectswrapper a:hover, div#content div.textwrapper div.effectswrapper a:hover, div#content div.textwrapper div.effectswrapper a:hover span, div#content div.textwrapper div.effectswrapper a:hover span {
- color: rgb(190, 190, 190);
- text-decoration: underline;
- }
- div#content div.textwrapper {
- margin: 5px 28px 15px 28px;
- padding: 5px 20px;
- border: none;
- background-color: transparent;
- }
- div#content div.textwrapper div.effectswrapper {
- margin: 0px;
- border: none;
- border-radius: 5px;
- -moz-border-radius: 5px;
- -webkit-border-radius: 5px;
- padding: 6px 3px;
- background-color: transparent;
- font-size: 16px;
- font-weight: normal;
- line-height: 1.2;
- text-align: left;
- word-spacing: 1px;
- <?php
- if ($UA->browser() == 'MSIE' && $UA->int_version() <= 7 && $UA->int_version() >= 5.5) {
- ?> zoom: 1; /*IE 5.5-7 Filter Quirk*/
- <?php
- }
- ?>}
- div#content div.textwrapper div.effectswrapper:hover, div#content div.textwrapper div.effectswrapper:active {
- background: linear-gradient(top, rgb(80, 80, 80), rgb(40, 40, 40), rgb(80, 80, 80));
- background: -moz-linear-gradient(top, rgb(80, 80, 80), rgb(40, 40, 40), rgb(80, 80, 80));
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #505050), color-stop(0.5, #282828), color-stop(1, #505050));
- <?php
- //if ($UA->browser() != 'Presto') {
- ?> box-shadow: 3px 3px 1px rgb(32, 32, 32);
- <?php
- //}
- ?>
- -webkit-box-shadow: 3px 3px 1px rgb(32, 32, 32);
- -moz-box-shadow: 3px 3px 1px rgb(32, 32, 32);
- background-color: rgb(80, 80, 80);
- <?php
- if ($UA->browser() == 'MSIE') {
- if ($UA->int_version() < 7 && $UA->int_version() >= 5.5) {
- ?> filter: progid:DXImageTransform.Microsoft.Shadow(Color='#1F1F1F', strength='3', direction='135'), progid:DXImageTransform.Microsoft.gradient(endColorstr=#FF505050, startColorstr=#80000000);
- margin: 0px -2px -3px 0px;
- <?php
- }
- elseif ($UA->int_version() < 8) {
- ?> filter: progid:DXImageTransform.Microsoft.Shadow(Color='#1F1F1F', strength='3', direction='135'), progid:DXImageTransform.Microsoft.gradient(endColorstr=#FF505050, startColorstr=#80000000);
- margin: 0px 0px -3px 0px;
- <?php
- }
- elseif ($UA->int_version() >= 8) {
- ?> -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Color='#1F1F1F', strength='3', direction='135'), progid:DXImageTransform.Microsoft.gradient(endColorstr=#FF505050, startColorstr=#80000000)";
- <?php
- }
- }
- ?>
- }
- div#content div.textwrapper div.effectswrapper:active {
- background: linear-gradient(top, rgb(60, 60, 60), rgb(80, 80, 80), rgb(60, 60, 60));
- background: -moz-linear-gradient(top, rgb(60, 60, 60), rgb(80, 80, 80), rgb(60, 60, 60));
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #3C3C3C), color-stop(0.5, #505050), color-stop(1, #3C3C3C));
- <?php
- //if ($UA->browser() != 'Presto') {
- ?> box-shadow: -3px -3px 1px rgb(32, 32, 32);
- <?php
- //}
- ?>
- -webkit-box-shadow: -3px -3px 1px rgb(32, 32, 32);
- -moz-box-shadow: -3px -3px 1px rgb(32, 32, 32);
- <?php
- //if ($UA->browser() != 'Presto') {
- ?> box-shadow: inset 3px 3px 1px rgb(32, 32, 32);
- <?php
- //}
- ?>
- -webkit-box-shadow: inset 3px 3px 1px rgb(32, 32, 32);
- -moz-box-shadow: inset 3px 3px 1px rgb(32, 32, 32);
- }
- div#content div.textwrapper div.effectswrapper div.center {
- text-align: center;
- margin: 5px 25px;
- width: auto;
- }
- div#content div.textwrapper div.effectswrapper div.center img {
- margin: 10px;
- }
- div#content div.textwrapper div.effectswrapper div.blog_video {
- width: auto;
- margin: 0px;
- padding: 10px;
- text-align: center;
- }
- div#content div.textwrapper div.effectswrapper div.blog_video span {
- font-size: 20px;
- font-weight: bold;
- }
- div#content div.textwrapper div.effectswrapper div.blog_video .whitehouse_video {
- height: 400px;
- width: 640px;
- margin: 0px auto;
- padding: 0px;
- border: none;
- }
- div#content div.subpanel div.textwrapper div.effectswrapper, div#content div.subpanel div.textwrapper div.effectswrapper:hover {
- <?php
- //if ($UA->browser() != 'Presto') {
- ?> box-shadow: 0px 0px 0px transparent;
- <?php
- //}
- ?>
- -moz-box-shadow: 0px 0px 0px transparent;
- -webkit-box-shadow: 0px 0px 0px transparent;
- background: transparent !important;
- <?php
- if ($UA->browser() == 'MSIE') {
- if ($UA->int_version() < 8) {
- ?> filter: ; /*For IE, reset any filters, as they will cause errors here.*/
- <?php
- }
- else {
- ?> -ms-filter: ""; /*For IE, reset any filters, as they will cause errors here.*/
- <?php
- }
- }
- ?>}
- div#content div#education {
- margin-top: 15px;
- clear: both;
- }
- div#content div.subpanel {
- float: right;
- <?php
- if ($UA->browser() == 'MSIE' && $UA->int_version() < 6) {
- ?> width: 346px;
- <?php
- }
- else {
- ?> width: 340px;
- <?php
- }
- ?>
- margin: 0px 0px 0px auto;
- background-color: rgb(70, 70, 70);
- padding: 5px 3px;
- overflow: visible;
- z-index: 3;
- }
- div#content div.subpanel div.subpanel_header {
- line-height: 1.0<?php echo((($UA->browser() == 'MSIE' && $UA->int_version() < 5.5) ? '7; /*IE 5 seems to be skinning the background by the text box, when it\s clearly declared for the div box, and seems to have a text-box height rounding error.*/' : ';')."\r\n"); ?>
- font-size: 25px;
- padding: 7px 20px;
- <?php
- if ($UA->browser() == 'MSIE' && $UA->int_version() >= 5.5 && $UA->int_version() <= 7) {
- ?> padding: 4px 20px 10px 20px; /*IE Text-Vertical Align Offset Bug*/
- <?php
- }
- elseif ($UA->browser() == 'MSIE' && $UA->int_version() < 5.5) {
- ?> padding: 6px 20px 3px 20px; /*IE5.0 Box Padding Bug (Top: 1 pixel too much; Bottom is double plus 1 pixel too much)*/
- <?php
- }
- ?>
- margin: 0px 0px 1<?php echo((($UA->browser() == 'MSIE' && $UA->int_version() >= 5.5 && $UA->int_version() <= 7) ? '2' : '5')); ?>px 0px;
- color: rgb(100, 100, 200);
- z-index: 4;
- text-align: center;
- <?php
- //if ($UA->browser() != 'Presto') {
- ?> box-shadow: 3px 4px 3px rgb(32, 32, 32);
- <?php
- //}
- ?>
- -webkit-box-shadow: 3px 4px 3px rgb(32, 32, 32);
- -moz-box-shadow: 3px 4px 3px rgb(32, 32, 32);
- <?php
- if ($UA->browser() == 'MSIE') {
- if ($UA->int_version() < 8) {
- ?> filter: progid:DXImageTransform.Microsoft.dropshadow(OffX='0', OffY='3', Color='#303030', Positive='true'); /*IE 5.5-7 does not compensate for the added height*/
- <?php
- }
- else {
- ?> -ms-filter: "progid:DXImageTransform.Microsoft.dropshadow(OffX='0', OffY='3', Color='#303030', Positive='true')";
- <?php
- }
- }
- ?>}
- div#content div.subpanel div.heading {
- text-align: center;
- background-color: rgb(120, 120, 120);
- margin-bottom: <?php echo((($UA->browser() == 'MSIE' && $UA->int_version() >= 5.5 && $UA->int_version() <= 7) ? '-2' : '0')); ?>px; /*IE 5.5-7 does not compensate for the added height*/
- <?php
- if ($UA->browser() == 'MSIE') {
- if ($UA->int_version() < 8) {
- ?> filter: progid:DXImageTransform.Microsoft.dropshadow(OffX='0', OffY='2', Color='#303030', Positive='true');
- <?php
- }
- else {
- ?> -ms-filter: "progid:DXImageTransform.Microsoft.dropshadow(OffX='0', OffY='2', Color='#303030', Positive='true')";
- <?php
- }
- }
- ?>}
- div#content div#main_about_stuff {
- margin: 0px 346px 0px 20px;
- padding: 0px;
- diplay: block;
- }
- div#content div#main_about_stuff img#about_picture {
- margin: 0px;
- padding: 0px;
- border: none;
- width: 400px;
- height: 300px;
- <?php
- if (($UA->browser() == 'MSIE' && $UA->int_version() < 5.5) or (($UA->browser() == 'Gecko' && $UA->int_version() < 1.9) or ($UA->browser() == 'Gecko' && $UA->int_version() === 1.9 && $UA->int_piece(2) === 0)) or ($UA->browser() == 'Webkit' && $UA->int_version() < 522)) {
- ?> /*Mimic box-shadow roughly for older browsers*/
- border-bottom-style: solid;
- border-right-style: solid;
- border-right-width: 3px;
- border-bottom-width: 3px;
- border-color: rgb(31, 31, 31);
- <?php
- }
- if ($UA->browser() == 'MSIE' && $UA->int_version() <= 7) {
- ?> margin: 0px -3px -3px 0px;
- <?php
- }
- else {
- ?> margin: 0px;
- <?php
- }
- ?>
- opacity: 0;
- -moz-opacity: 0;
- -khtml-opacity: 0;
- <?php
- //if ($UA->browser() != 'Presto') {
- ?> box-shadow: 3px 3px 3px rgb(31, 31, 31);
- <?php
- //}
- ?>
- -webkit-box-shadow: 3px 3px 3px rgb(31, 31, 31);
- -moz-box-shadow: 3px 3px 3px rgb(31, 31, 31);
- <?php
- if ($UA->browser() == 'MSIE') {
- if ($UA->int_version() < 8) {
- ?> filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0), progid:DXImageTransform.Microsoft.Shadow(Color='#1F1F1F', strength='6', direction='135');
- <?php
- }
- elseif (true/*$UA->int_version() < 9*/) {
- ?> -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=0), progid:DXImageTransform.Microsoft.Shadow(Color='#1F1F1F', strength='6', direction='135')";
- <?php
- }
- else {
- ?> -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Color='#1F1F1F', strength='6', direction='135')";
- <?php
- }
- }
- ?>}
- div#content div#main_about_stuff div#about_text {
- display: block;
- width: auto;
- margin: 20px 0px 5px 0px;
- border: none;
- border-top-left-radius: 5px;
- -moz-border-radius-topleft: 5px;
- -webkit-border-top-left-radius: 5px;
- border-bottom-left-radius: 5px;
- -moz-border-radius-bottomleft: 5px;
- -webkit-border-bottom-left-radius: 5px;
- background-color: rgb(200, 200, 200);
- color: rgb(30, 30, 30);
- padding: 3px 25px 3px 3px;
- font-size: 14px;
- font-weight: normal;
- line-height: 1.2;
- text-align: left;
- word-spacing: 1px;
- /*Hack to prevent opacity layering corruption*/
- <?php
- if ($UA->browser() == 'MSIE') {
- if ($UA->int_version() < 8) {
- ?> filter: progid:DXImageTransform.Microsoft.Shadow(Color='#DEDEDE', strength='1', direction='180');
- <?php
- }
- else {
- ?> -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Color='#DEDEDE', strength='1', direction='180')";
- <?php
- }
- }
- ?>}
- div#content div#main_about_stuff div#about_text span {
- display: block;
- white-space: pre;
- text-shadow: 2px 2px 3px rgb(30, 30, 30);
- <?php
- if ($UA->browser() == 'MSIE') {
- if ($UA->int_version() < 8) {
- ?> filter: progid:DXImageTransform.Microsoft.Shadow(Color='#1F1F1F', strength='3', direction='135');
- <?php
- }
- else {
- ?> -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Color='#1F1F1F', strength='3', direction='135')";
- <?php
- }
- }
- ?>}
- div#content div#actual_content_wrapper div.xml_dom_generated, div#content div#actual_content_wrapper {
- margin: 0px;
- padding: 0px;
- overflow: visible;
- width: 100%;
- }
- div#content, div#content div#actual_content_wrapper {
- visibility: hidden; /*Logic speed up for rendering the areas that are fully transparent.*/
- }
- div#content div#waiting_image {
- margin: 0px;
- padding: 10px;
- text-align: center;
- }
- div#content div#waiting_image img {
- width: 32px;
- height: 32px;
- }
- div#content ul#album_namelist {
- margin: 0px;
- padding: 0px;
- }
- div#content ul#album_namelist li {
- list-style-type: disc;
- list-style-position: inside;
- padding: 0px;
- margin: 0px;
- }
- div#content ul#album_namelist li:hover {
- list-style-type: circle;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement