User:Yyp/cssCodeexamples

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

/**/ /*  Colouring of Wikia bar at very top of page   */ /**/ /* Background colour*/ .WikiaHeader { background: #F4A460 !important; border: none !important; -moz-border-radius: 3px 3px 3px 3px; -moz-box-shadow: 2px 3px 5px #F4A460; -webkit-box-shadow: 2px 3px 5px #3F4A460; box-shadow: 2px 3px 5px #F4A460; }

/* Removes some of the borders*/ .WikiaHeader nav { border-top: 0px; border-bottom: 0px; }

/*Removes some of the vertical separating lines*/ .WikiaHeader li { border-left: none; }

/*Colours some of the vertical separating lines*/ .GlobalNavigation a, .AccountNavigation a, .WikiaFooter .toolbar .tools > li, .WikiaPageHeader .mainpage-add-page { border-right: 1px solid #D8C08C; }

/* Colouring of arrows*/ .WikiaHeader .chevron { border-top-color: #660000; }

/* Colouring of "Start a Wiki" button's text*/ .WikiaHeader a { color: #FFFFF; }

/* Colouring of highlight on Wikia Global Navigation*/ .GlobalNavigation li:hover, .AccountNavigation li:hover { background-image: -moz-linear-gradient(center top, transparent 0pt, red 100%); }

/* Colouring of highlight in user preferences, wiki navigation, global navigation and My Tools bar menus*/ .AccountNavigation .subnav a:hover, .wikia-menu-button ul a:hover, .WikiHeader .subnav a:hover, .WikiaFooter .my-tools-menu a:hover, .GlobalNavigation .subnav .catnav a:hover, .MyToolsConfiguration li:hover, .MyToolsConfiguration .autocomplete .selected, .WikiaSearch .autocomplete .selected, .WikiaUserPagesHeader .wikia-avatar ul a:hover { background: #F9F7D9 !important; color: #3E2A18; }

/**/ /*  Colouring of My Tools bar at bottom of page  */ /**/ /*Toolbar background and border colour*/ .WikiaFooter .toolbar { background: #000080 !important; border-top: 1px solid #191970; color: #F7E5BE !important; }

/*My Tools bar - background of menu */ .WikiaFooter .my-tools-menu { background-color: #FFFFFF; border: 1px solid #7c5a2a; }

/*My Tools bar - colour of visited links in menu */ .WikiaFooter .my-tools-menu a { color: #0000CD; }

/*My Tools bar - hovering in the menu */ .WikiaFooter .my-tools-menu a:hover { background: #D8C08C !important; color: #3E2A18; }

/**/ /*  Colouring of the wiki's navigation menus     */ /**/ /* Background colour of the headings */ .WikiHeader li:hover { background-color: #F9F7D9; background-image: -moz-linear-gradient(center top, #F9F7D9 0%, #D8C08C 100%); }

/* Background colour of the headings when hovering over them*/ .WikiHeader li:hover { background-color: #F9F7D9; background-image: -moz-linear-gradient(center top, #F9F7D9 0%, #D8C08C 100%); }

/*Colour of text in menus and Wikia links at very end of page*/ .GlobalNavigation .subnav a, .AccountNavigation .subnav a, .WikiaFooter .my-tools-menu a, .WikiHeader li a, .WikiaSearch .tooltip, .WikiaUserPagesHeader .wikia-avatar ul a, .WikiaArticle #toctitle, .WikiaArticle #toctitle h2, .WikiaSearch input.placeholder[type="text"], .CorporateFooter ul li a { color: #D8C08C; }

/*Coloured line underneath navigation menu headings*/ .WikiHeader .shadow-mask { background: #00bb00 !important; }

/**/ /*  Wiki Activity, Random Page & search buttons  */ /*  Fourth onwards is for search bar button      */ /**/ /*normal colour*/ a.wikia-button.secondary, .wikia-single-button a.secondary, .wikia-menu-button.secondary, input.secondary[type="submit"], input.secondary[type="reset"], input.secondary[type="button"], .button.secondary, button.secondary { background-image:-moz-linear-gradient(center top, #191970 45%, #191970 90%); background-image:-webkit-gradient(linear, left top, left bottom, from(#19277C), to(#19277C)); border:1px solid #000000; color:#FFFFFF; }

/*colour when hovering over it*/ a.wikia-button.secondary:hover, .wikia-single-button a.secondary:hover, .wikia-menu-button.secondary:hover, input.secondary[type="submit"]:hover, input.secondary[type="reset"]:hover, input.secondary[type="button"]:hover, .button.secondary:hover, button.secondary:hover { background-image:-moz-linear-gradient(center top, #4169E1 35%, #4169E1 65%); background-image:-webkit-gradient(linear, left top, left bottom, from(#4169E1), to(#4169E1)); }

/**/ /*                Edit Button                    */ /**/ /*Background colour of edit drop down menu*/ .wikia-menu-button ul { background: #F7E5BE; border: 2px solid #F9F7D9; color: #F9F7D9; }

/*Colour of edit button dividing lines/ .wikia-menu-button > li > a { border-right: 1px solid #F9F7D9; }

/**/ /*   Community Corner on Wiki Activity page      */ /**/ .CommunityCornerModule { background: #F7E5BE !important; background-image: -moz-linear-gradient(center top, #F7E5BE 75%, #D8C08C 100%) !important; border: 1px solid #D8C08C !important; color: #3E2A18 !important; }

/**/ /* Category galleries background colour on text  */ /**/ .category-gallery-item span.details {background: Red;}

/**/ /*               Pictures, etc                   */ /**/ /* Re-skin the thumbnails - background */ .WikiaArticle .thumbinner { background-color: #FFFFFF; background-image: none; border: 1px solid #334; } /* Re-skin the thumbnails - text */ .WikiaArticle .thumbcaption { background: #FFFFFF; padding: 2px 1px 0px; }

/*Border colour around pictures and parts of the image's info page*/ .LatestPhotosModule ul li, .WikiaArticle #filetoc, .WikiaUserPagesHeader .avatar-link, table.mw-listgrouprights-table td, table.mw-listgrouprights-table th, table.mw-statistics-table td, table.mw-statistics-table th, table.mw-tags-table td, table.mw-tags-table th, table.mw-listgrouprights-table, table.mw-statistics-table, table.mw-tags-table, table.filehistory th, table.filehistory td, table.filehistory { border: 1px solid #FF00FF; }

/*Border colour around pictures on Wiki Activity page */ .WikiaArticle fieldset, .activityfeed .activityfeed-inserted-media li, #talkpagesignbox { border: 1px solid #FF00FF !important; }

/**/ /*        Colour of Notification bubble          */ /**/

/* Highlighted text in Notification bubble */ .WikiaNotifications li div a { background-color: #FF00FF; text-decoration: underline; }

/**/ /*      Colour of user page tabs, Avatar         */ /**/ /*Colour of tab backgrounds*/ .tabs li a, .wikia-tabs li { background-color: #FAE0AE; background-image: -moz-linear-gradient(center top, #FAE0AE 50%, #D8C08C 100%); border: none; color: #3E2A18; }

/*Colour of selected tab background*/ .tabs .selected a, .WikiaNotifications li div, .wikia-tabs .selected { background-color: #D8C08C; background-image: -moz-linear-gradient(center top, #D8C08C 30%, #855A33 100%); border: none; }

/* Border around Avatar when highlighted */ .WikiaUserPagesHeader .wikia-avatar:hover { border: 2px solid #FF00FF; }

/*Background to text under avatar when avatar is highlighted*/ .WikiaUserPagesHeader .wikia-avatar ul { background: #FF00FF; border: 2px solid #D8C08C; }

/**/ /*          Blogs 			          */ /**/ /*Colour of header on Recent Blogs page*/ .WikiaBlogListingHeader { background: #00bb00 !important; }

/**/ /*                   Poll colour                 */ /**/ .pollAnswerVotes div { background:none repeat scroll 0 0 #2A52BE !important; }

/**/ /*                   Forums                      */ /**/ /*Forum header colour*/ .forumheader { background-color: #FF00FF !important; border: 1px solid #D8C08C !important; margin-top: 1em !important; padding: 10px !important; }

/**/ /*                   Galleries                   */ /**/ /*Dividing line under each picture*/ .wikia-gallery-item { border-bottom: 1px solid #FF00FF !important; }

/*--*/ /********** APRIL FOOLS!! Wikia.css *************/ /*--*/ body { -ms-transform: rotate(1deg); -moz-transform: rotate(1deg); -webkit-transform: rotate(1deg); -o-transform: rotate(1deg); transform: rotate(1deg); }