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

From TSG Doc
Jump to navigation Jump to search
m
 
(92 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*/
  
@import url(http://fonts.googleapis.com/css?family=Khula);
+
.mw-wiki-logo {
@import url(http://fonts.googleapis.com/css?family=Noto+Serif);
+
  background-image: url("https://erikvdb.nl/resources/doge.png");
 +
  background-position: top center !important;
 +
  height:138px !important;
 +
  margin-top: 12px !important
 +
}
  
body {
+
.mw-wiki-logo:hover {
  font-family: 'Khula', sans-serif;
+
   background-position: center -138px !important;
   background-color: #2e2e2e;
 
 
}
 
}
  
.mw-body h1, .mw-body h2 {
+
#p-logo:after {
   font-family: 'Noto Serif', serif;
+
  content:"Welcome back, Erik!";
 +
  position:absolute;
 +
  margin-top:2px;
 +
  width:95%;
 +
  text-align:center;
 +
   font-size:0.8em; 
 +
  color:#9b3c6c;
 
}
 
}
  
#mw-page-base {
+
#p-logo:hover:after {
   background-color: #2e2e2e;
+
   content:"Return to Home";
   background-image: linear-gradient(#49657d 30%, #2e2e2e 100%);
+
    
 
}
 
}
  
div#mw-panel div.portal div.body ul li {
+
::selection{
   font-size: 1em;
+
   background:#fff2a8;
   color: #fff;
+
}
 +
::-moz-selection{
 +
   background:#fff2a8;
 
}
 
}

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;  
}