Difference between revisions of "User:E.vandenberge/common.css"

From TSG Doc
Jump to navigation Jump to search
m
 
(50 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
/* CSS playground of Erik van den Berge*/
 
/* CSS playground of Erik van den Berge*/
  
.mw-body h1, .mw-body h2 {
+
.mw-wiki-logo {
 +
  background-image: url("https://erikvdb.nl/resources/doge.png");
 +
  background-position: top center !important;
 +
  height:138px !important;
 +
  margin-top: 12px !important
 +
}
 +
 
 +
.mw-wiki-logo:hover {
 +
  background-position: center -138px !important;
 +
}
 +
 
 +
#p-logo:after {
 +
  content:"Welcome back, Erik!";
 +
  position:absolute;
 +
  margin-top:2px;
 +
  width:95%;
 +
  text-align:center;
 +
  font-size:0.8em; 
 +
  color:#9b3c6c;
 +
}
 +
 
 +
#p-logo:hover:after {
 +
  content:"Return to Home"; 
 
    
 
    
 
}
 
}
  
.mw-body h1:hover, .mw-body h2:hover {
+
::selection{
   position: relative;
+
   background:#fff2a8;
  top: 0px;
+
}
  left: 0px;
+
::-moz-selection{
  color: #fff;
+
   background:#fff2a8;
   text-shadow: 1px 1px 1px #222;
 
 
}
 
}

Latest revision as of 15:16, 21 March 2024

/* CSS playground of Erik van den Berge*/

.mw-wiki-logo {
  background-image: url("https://erikvdb.nl/resources/doge.png");
  background-position: top center !important;
  height:138px !important;
  margin-top: 12px !important
}

.mw-wiki-logo:hover {
  background-position: center -138px !important;
}

#p-logo:after {
  content:"Welcome back, Erik!";
  position:absolute;
  margin-top:2px;
  width:95%;
  text-align:center;
  font-size:0.8em;  
  color:#9b3c6c;
}

#p-logo:hover:after {
  content:"Return to Home";  
  
}

::selection{  
  background:#fff2a8;
}
::-moz-selection{
  background:#fff2a8;  
}