Prime Numbers Wiki
Register
No edit summary
Tag: sourceedit
No edit summary
Tag: sourceedit
Line 100: Line 100:
 
}
 
}
   
.pi-theme-prime .pi-horizontal-group div:nth-last-of-type(1) div:first-of-type {
+
.pi-theme-prime.pi-horizontal-group div:nth-last-of-type(1) div:first-of-type {
 
text-align: center;
 
text-align: center;
 
background-color: #ffffff;
 
background-color: #ffffff;

Revision as of 16:53, 5 August 2016

/* User colors definitions (with boxes) */

a[href="/wiki/User:Julianthewiki"]{
    color: orange !important;
    font-weight: bold !important;
    font-family: Arial !important;
}    
a[href="/wiki/User:Blueeighthnote"]{
    color: green !important;
    font-weight: bold !important;
    font-family: Arial !important;
}
a[href="/wiki/User:3primetime3"]{
    color: blue !important;
    font-weight: bold !important;
    font-family: Arial !important;
}
a[href="/wiki/User:Imamadmad"]{
    color: black !important;
    font-weight: bold !important;
    font-family: Arial !important;
}
a[href="/wiki/User:Dalek-James"]{
    color: brown !important;
    font-weight: bold !important;
    font-family: Arial !important;
}
a[href="/wiki/User:Minipop56"]{
    color: #4B0082 !important;
    font-weight: bold !important;
    font-family: Arial !important;
}

/* Main CSS class of the tooltip; imported from Risk of Rain Wiki */
.main-tooltip {
    border: 1px solid #110099 !important;
    background-clip: padding-box;
    padding: 2px 5px;
    background-color: #DDFFEE;
    font-family:'Cambria';
    font-size: 14px;
    line-height: 1.4em; 
    transition: all 0.3s;  /* Simple transition for hover effect */
}
 
/* Hides tooltips with redlinks, not yet loaded ones and elements containing tooltip contents for advanced tooltips */
.has-redlinks, .tooltip-loading, .advanced-tooltip .tooltip-contents {
    display: none;
}
 
.tooltips-init-complete {
    cursor: help;
}

/* Portable Infobox styling */

.portable-infobox {
   width: 250px;
}

.portable-infobox .pi-item-spacing {
   padding: 5px 7px 5px 7px;
}

/* Styling for individual themes: Background for prime theme */
.portable-infobox.pi-theme-prime {
   width: 325px;
}

/* Note: Whether or not the space is needed needs to follow exactly as written*/
.pi-theme-prime.pi-background {
   background-color: #b3ffb3;
}

.pi-theme-prime .pi-secondary-background {
   background-color: #70a970;
}

.pi-theme-prime .pi-border-color {
  border-color:#CA9ECE;
}

.pi-theme-prime .pi-title {
    font-size:150%;
    font-weight: bold;
    font-family: Cambria, Serif;
    background-color:#AA3363;
    color: #EEFFEE;
    text-align: center;
    transition: all 0.3s;  /* Hover effect during transition */
}

.pi-theme-prime .pi-title:hover {
    background-color:#FFB3B3;
    color: #800080;
}

.pi-theme-prime .pi-data-label {
   flex-basis: 145px;    /* For adjusting label width*/
}

.pi-theme-prime.pi-horizontal-group div:nth-last-of-type(1) div:first-of-type {
    text-align: center;
    background-color: #ffffff;
}

.pi-horizontal-group-item.pi-data-value {
    font-size: 200%;
}


/* Wikia Infobox links */
.portable-infobox a:link {
    color: #991199; text-decoration: none;
}
.portable-infobox a:visited {
    color: #117777; text-decoration: none;
}
.portable-infobox a:hover {
    color: #AAAA00; text-decoration: underline;
}
.portable-infobox a:active {
    color: #220000; text-decoration: none;
}
.portable-infobox a.new:link{
    color: #CC2200;
}
.portable-infobox a.new:visited{
    color: #CC2200;
}

/* Class: linkcolor-normal */
.linkcolor-normal a:link {
    color: #006CB0; text-decoration: none;
}
.linkcolor-normal a:visited {
    color: #006CB0; text-decoration: none;
}
.linkcolor-normal a:hover {
    color: #4FBCFC; text-decoration: underline;
}
.linkcolor-normal a:active {
    color: #6CB000; text-decoration: none;
}
.linkcolor-normal a.new:link{
    color: #CC2200;
}
.linkcolor-normal a.new:visited{
    color: #CC2200;
}
/* Toggle buttons */
.toggle, .toggleBtn{
    border: 1px solid silver;
    border-radius: 5px;
}
.toggle{
    position: relative;
    background: #F6F;
    cursor: pointer;
}
.toggleBtn{
    position: absolute;
    top: -1px;
    left: -1px;
    height: 100%;
    width: 50%;
    background: #FFF;
}
/* Two columns setup in sections wrapped by <div id="wrap"> */
#wrap {
   width:100%;
   margin:0 auto;
}
#left_col {
   float:left;
   width:50%;
}
#right_col {
   float:right;
   width:50%;
}
#left_col2 {
   float:left;
   width:48%;
}
#right_col2 {
   float:right;
   width:48%;
}
/* ==============================================================
                    Rule added for PrimeTableBlue
==============================================================  */
table.PrimeTableBlue { 
color: #EEBBFF;
font-family: Helvetica, Arial, sans-serif;
width: 640px; 
border-collapse: 
collapse; border-spacing: 0; 
}

/* PrimeTableBlue setup: (For prime number tables) */
.PrimeTableBlue {border: 2.5px solid #0099FF; background: #CCDDFF;}
.PrimeTableBlue a:hover {color: #FFFFFF;}
.PrimeTableBlue a.new:link {color: #CC2200;}
.PrimeTableBlue a.new:visited {color: #CC2200;}

.PrimeTableBlue td, .PrimeTableBlue th { 
border: 1px solid black;
height: 30px; 
transition: all 0.3s;  /* Simple transition for hover effect */
}
.PrimeTableBlue th {
background: #4433CC;  /* Header setup */
color: #CCFFEE;
font-weight: bold;
}
.PrimeTableBlue td {
background: #000000;
text-align: center;
}

/* Cells in even rows (2,4,6...) are one color */ 
.PrimeTableBlue tr:nth-child(even) td { background: #BBCCFF; }   

/* Cells in odd rows (1,3,5...) are another (excludes header cells)  */ 
.PrimeTableBlue tr:nth-child(odd) td { background: #FEFEFE; }

/* Hover setup */
.PrimeTableBlue tr td:hover { background: #9988FF; color: #FFFFFF; }

/*             */
 
.navboxborder {
    font-family: "Verdana", sans-serif;
    -moz-border-radius:5px 5px 5px 5px; 
    -webkit-border-radius:5px 5px 5px 5px; 
    border-radius:5px 5px 5px 5px; 
    border:2px solid #004000; 
    margin:8px 0 8px 0; 
    vertical-align:top; 
    padding:4px; margin-top:0.5em; 
    -moz-box-shadow:0.1em 0.1em 1em #91197a; 
    -webkit-box-shadow:0.1em 0.1em 1em #008000;
    box-shadow:0.1em 0.1em 1em #91197a; 
}

.navboxborder th a {color:#AABBAA;}
.navboxborder th a:hover {color: #FFFFEE;}
.navboxborder th a.new:link {color: #CC2200;}
.navboxborder th a.new:visited {color: #CC2200;}

.navbox3d td {
    border-style:solid;border-width:2px;padding-left:5px;
    background:#EEFFBB;
    font-size:0.75em;
}
.digits3 th {
    border-style:solid;border-width:2px;border-color:black;background-color:#a81b79;color:white;text-align:center;padding-left:5px;
}
.digits3 td:nth-child(1) {background:#3cb371; width:20%; color:#000000;}
.digits4A th {
    border-style:solid;border-width:2px;border-color:black;background-color:#4a1ba8;color:white;text-align:center;padding-left:5px;
}
.digits4A td:nth-child(1) {background:#87ceeb; width:20%; color:#000000;}
.digits4B th {
    border-style:solid;border-width:2px;border-color:black;background-color:#7A3B88;color:white;text-align:center;padding-left:5px;
}
.digits4B td:nth-child(1) {background:#a2b0ca; width:20%; color:#000000;}
.digits4C th {
    border-style:solid;border-width:2px;border-color:black;background-color:#Ad495e;color:white;text-align:center;padding-left:5px;
}
.digits4C td:nth-child(1) {background:#c2b09a; width:20%; color:#000000;}
.digits4D th {
    border-style:solid;border-width:2px;border-color:black;background-color:#dd692e;color:white;text-align:center;padding-left:5px;
}
.digits4D td:nth-child(1) {background:#f2b05a; width:20%; color:#000000;}