Difference between revisions of "User:ElStrages/common.css"

From RimWorld Wiki
Jump to navigation Jump to search
Line 6: Line 6:
  
 
/* add logo */
 
/* add logo */
#p-logo a {  
+
#p-logo a {
   background: url('http://en.wikipedia.org/wiki/File:Wiki.png') 35% 50% no-repeat !important;  
+
  align: center;
 +
  padding-top: 10px;
 +
   background: url("Rose.png");
 +
  background-size: 200px;
 +
  background-repeat: no-repeat;
 
   border: 1px solid #0033CC;
 
   border: 1px solid #0033CC;
 
}
 
}
Line 38: Line 42:
  
 
/* Fix sidebar */
 
/* Fix sidebar */
div#mw-panel { position: fixed;
+
div#mw-panel {
 
+
  padding-top: 100px;
 +
  position: fixed;
 
   overflow: auto;
 
   overflow: auto;
 
   top: 0px;
 
   top: 0px;
Line 47: Line 52:
 
   background-color: #333333;
 
   background-color: #333333;
 
   border-right: 1px solid #0033CC;
 
   border-right: 1px solid #0033CC;
}
 
/* Prevent sidewards scrolling in pre elements */
 
pre {
 
  overflow: auto;
 
  max-height: 25em;
 
 
}
 
}

Revision as of 12:26, 5 March 2015

/* removed for now */
/* make the background behind the content area and the tabs a light grey */
#content, #content table #p-cactions ul li a { 
  background-color: #AAAAAA;
}

/* add logo */
#p-logo a {
   align: center;
   padding-top: 10px; 
   background: url("Rose.png"); 
   background-size: 200px;
   background-repeat: no-repeat;
   border: 1px solid #0033CC;
}

body {
   background-color: #333333;
   border: 1px solid #0033CC;
   color: #EEEEEE;
}

div {
   background-color: inherit;
   border: 1px solid inherit;
   color: inherit;
}


/* changes the background of pre areas  */
pre { 
   background-color: #DDDDDD;
   border: 1px solid #0033CC;
   color: #000000;
}

a {
   font-family: Arial;
   font-size: 11px;
   color: #EEEEEE;
}

/* Fix sidebar */
div#mw-panel {
  padding-top: 100px; 
  position: fixed;
  overflow: auto;
  top: 0px;
  bottom: 0px;
  height: 100%;
  /* Prevent content overlay when sidewards scrolling */
  background-color: #333333;
  border-right: 1px solid #0033CC;
}