Wiktenauer logo.png

Difference between revisions of "User:Kendra Brown/common.css"

From Wiktenauer
Jump to navigation Jump to search
(Created page with "→‎rainbow text: p, ol, li, td { background-image: -webkit-gradient( linear, left top, right top, color-stop(0, #f22), color-stop(0.15, #f2f), color-stop(0.3, #22f), color...")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
/*rainbow text*/
+
/* Medieval pilcrows */
p, ol, li, td {
+
 
    background-image: -webkit-gradient( linear, left top, right top, color-stop(0, #f22), color-stop(0.15, #f2f), color-stop(0.3, #22f), color-stop(0.45, #2ff), color-stop(0.6, #2f2),color-stop(0.75, #2f2), color-stop(0.9, #ff2), color-stop(1, #f22) );
+
p:nth-child(even)::before {
    background-image: gradient( linear, left top, right top, color-stop(0, #f22), color-stop(0.15, #f2f), color-stop(0.3, #22f), color-stop(0.45, #2ff), color-stop(0.6, #2f2),color-stop(0.75, #2f2), color-stop(0.9, #ff2), color-stop(1, #f22) );
+
  content: "¶";
    color:transparent;
+
  color: #b30000 ;
    -webkit-background-clip: text;
+
}
    background-clip: text;
+
p:nth-child(odd)::before {
 +
  content: "¶";
 +
  color: #0000b3 ;
 +
}
 +
 
 +
 
 +
/* Pride month styles */
 +
 
 +
h1 span {
 +
  background-image: linear-gradient(90deg, black, brown, chocolate, red, orange, gold, green, blue, violet);
 +
/* background-size: 30% 30%;*/
 +
  -webkit-background-clip: text;
 +
  -webkit-text-fill-color: transparent;
 +
}
 +
 
 +
div.portal a:hover, div#bodyContent :link:hover {
 +
  background-image: repeating-linear-gradient(to right, black, brown, chocolate, red, orange, gold, green, blue, violet);
 +
  -webkit-background-clip: text;
 +
  -webkit-text-fill-color: transparent;
 +
}
 +
 
 +
div#p-logo link:hover { 
 +
background-image: initial;
 +
  -webkit-background-clip: initial;
 +
  -webkit-text-fill-color: initial; }
 +
 
 +
h1, h2, h3 {
 +
  border-width: 2px solid 50%;
 +
  border-top: 0px;
 +
  border-left: 0px;
 +
  border-image: linear-gradient(to right, black 50%, brown, chocolate, red, orange, gold, green, blue, violet) 1;
 
}
 
}

Latest revision as of 23:50, 8 November 2020

/* Medieval pilcrows */

p:nth-child(even)::before {
  content: "¶";
  color: #b30000 ;
}
p:nth-child(odd)::before {
  content: "¶";
  color: #0000b3 ;
}


/* Pride month styles */

h1 span {
  background-image: linear-gradient(90deg, black, brown, chocolate, red, orange, gold, green, blue, violet);
 /* background-size: 30% 30%;*/
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

div.portal a:hover, div#bodyContent :link:hover {
  background-image: repeating-linear-gradient(to right, black, brown, chocolate, red, orange, gold, green, blue, violet);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

div#p-logo link:hover {  
background-image: initial;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial; }

h1, h2, h3 {
  border-width: 2px solid 50%;
  border-top: 0px;
  border-left: 0px;
  border-image: linear-gradient(to right, black 50%, brown, chocolate, red, orange, gold, green, blue, violet) 1;
}