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

From RimWorld Wiki
Jump to navigation Jump to search
Line 1: Line 1:
/* style.css
+
************************************* Top of page *************/
This sheet is for control of the stylistic aspects of the font and presentation of your wiki.
 
Mainly this files controls the appearance of the web elements rather than their positioning etc.
 
So changes to the colors, font styles, etc. are best made here, if there lacks a tag for a font
 
color, family, size, weight, it currently inherits from some other attribute, so feel free to change it.
 
*/
 
/************************************* Top of page *************/
 
 
/***** Logo & Banner *************/
 
/***** Logo & Banner *************/
 
/* banner */
 
/* banner */
Line 62: Line 56:
 
/* Primary navigational tabs */
 
/* Primary navigational tabs */
 
a.tab.tab, a.tab:visited {
 
a.tab.tab, a.tab:visited {
   background: #999;
+
   background: #000000;
   color: #000088;
+
   color: #CCEEFB;
   border-top: 1px solid #555555;
+
   border-top: 1px solid #CCEEFB;
   border-left: 1px solid #555555;
+
   border-left: 1px solid #CCEEFB;
   border-right: 1px solid #555555;
+
   border-right: 1px solid #CCEEFB;
 
   text-decoration: none;
 
   text-decoration: none;
 
}
 
}
 
a.tab:hover {
 
a.tab:hover {
   color: #000;
+
   color: #000000;
   background: #bbb;
+
   background: #CCEEFB;
 
}
 
}
 
a.tab.notice { font-weight: bold;}
 
a.tab.notice { font-weight: bold;}

Revision as of 08:35, 5 March 2015

*************************************		Top of page	*************/
/***** Logo & Banner	*************/
/* banner */
#banner {background-color: #76AE6F;
  background-repeat: no-repeat;
  background-position: 15px -17px;
  _background-position: 15px -85px; /*ie hack.  ie seems to draw from the bottom here, rather than from the top?! */
  font-size: 10pt;
}
/* Logo container */
.logo {
}
#logo { 
}
/* Logo  */
td.logo_banner {
}
.logo td {
}
/* Logo Text (used if no image */
#logo_text {
  font-size: 28pt;
  color: white !important;
  text-decoration: none !important;
}
/***** User Name, Password Area *****/
/* User name and settings */
td.user_banner { 
}
td.user_banner table { 
}

/* If Logged in Username & Welcome */
.user_area {
  color: black;
}
.user_area table {
}
.user_area td {
}
.user_area .welcome { 
}
/* If not logged in */
/* See Et Cetera for input forms */
.login_area {
}
.login_area input { font-size: x-small; }

.login_area table {
}
.login_area td {
}


/*********** Navigation Tab Area ****/
/* Primary navigational tabs */
a.tab.tab, a.tab:visited {
  background: #000000;
  color: #CCEEFB;
  border-top: 1px solid #CCEEFB;
  border-left: 1px solid #CCEEFB;
  border-right: 1px solid #CCEEFB;
  text-decoration: none;
}
a.tab:hover {
  color: #000000;
  background: #CCEEFB;
}
a.tab.notice { font-weight: bold;}
a.tab.activeTab, a.tab.activeTab:hover, a.tab.activeTab:visited {
  background: #ccc;
  border-left: 1px solid #555;
  border-right: 1px solid #555;
  border-bottom: 1px solid #ccc;
  color: #000000;
}
/* Area which contains the tabs */
div.tabArea {
  font-size: 11px;
  border-bottom: 1px solid #AAAAAA;
  color: #555555;
}

/*********** Switching button-icons **********/
/* Row that contains page icons (e.g. "Edit", "Info") */
#iconRow td.pageIcon { padding-right: 10px; }
#iconRow td.pageIconSelected { padding-right: 10px; }
td.pageIcon {
  font-size: 7pt;
}
td.pageIconSelected {
  font-size: 7pt;
  font-weight: bold;
  color: #000088;
}
/* The search box */
#search_form { 
}
#search_form form {
}

/*************************************		Page content	*************/

/* Page Title */
#title {
  background: #ccc;
  border-bottom: 1px solid #AAAAAA;
}
#title_area_table { 
 }
#title h1 {
        font-size: 160%;
}
#title td {
} 
#title a {
 color: black;
 text-decoration: none;
 }
#title a:hover { color: #76AE6F; }
#title_text {
} 
#title_text td { 
}

/* Sub-title */
.minorTitle {
  font-size: x-large;
}

/************* Page Body *************/
body {
  font-family:  Verdana, sans-serif;
  font-size: 13px;
  background: White;
  font-weight: normal;
  color: black;
  background-color: white;
}

/* Page Content */
.content {
}

/* Standard Text */
pre {
  border: 1px solid #CBCBCB;
  background-color: #FFF8ED;
  color: black;
}
/* Table Of Contents */
.tableOfContents
{
 background-color:#EEEEEE;
 border: 1px solid #AAAAAA;
 
}
.floatLeftTOC
{
}
.floatRightTOC
{
}


/* Link Formatting */
a:link {
  background-color: inherit;
  color: #a00;
}
a:visited {
  background-color: inherit;
  color: #700;
}
a:hover {
  background-color: inherit;
  text-decoration: none;
  color: #76AE6F;
}
a.nonexistent, a.badinterwiki {
  background-color: inherit;
  color: #a00;
  text-decoration: none;
}
a.nonexistent:hover {
  border-bottom: 0px;
  cursor: pointer;
  color: #76AE6F;
}
a.nonexistent:visited { color: #700; }
a.tinyNonexistent /* used for things like "Talk" links when they don't exist */ {
  text-decoration: none;
  background-color: inherit;
  color: gray;
}
a.tinyNonexistent:hover {
  cursor: pointer;
  color: green;
}


/* Tables */
.wikitable td { 
}
.wikitable {
}
/* Lists */
.wikipage ul {
}
.wikipage li { margin-bottom: 0.25em; }

/*indented headings*/
.wikipage ul h2, h3,h4,h5,h6{
}

/* Headings */
h2, h3, h4, h5, h6 {
  font-family: Verdana, sans-serif;
  color: black;
}
h3, h4, h5, h6 {
}
h1 a, h2 a, h3 a{
  text-decoration: none;
}
h2 {
  font-size: 2em;
  font-weight: normal;
  border-bottom: 1px dashed #aaaaaa;
}
h3 {
  font-size: 1.5em;
  font-weight: normal;
}
h4 {
  font-size: 1.3em;
  font-weight:normal;
}
h5 {
  font-size: 1.2em;
  font-weight: normal;
}
h6 {
  font-size: 1.1em;
  font-weight: normal;
}


/* Editable Subsections */
table.sectionEdit h2 
{ 
  border-bottom: none; 
  font-size: 2em; 
} 
table.sectionEdit 
{ 
  border-bottom: 1px solid #aaaaaa;
}
table.sectionEdit a { text-decoration: none; }
table.sectionEdit td { 
  background-color: #eeeeee;
}

/* Horizontal Rule */
hr {
    background-color: #CBCBCB;
    color: #CBCBCB;
}
/* Footnotes */
.footnotes div {
}

/*************************************		Bottom of Page	*************/
/* The footer, which contains things like "Edit", "Bookmark" and text/icons. */
#footer {
  background-color: #EEEEEE;
  border: 1px dashed #AAAAAA;
}
#footer p {
}
#footer .license { font-size: 9px; }


/*************************************		Edit Page	*************/
/* This is the page editing area (textarea, in our case) */
#savetext { font-family:  Verdana, sans-serif;
 font-size: 13px;
 background: White;
 font-weight: normal;
 color: black;
}
/* Input button used for some actions (e.g. "Rename" page) */
.formbutton {
  cursor: pointer;
  cursor: hand;
  font-family:  Verdana, sans-serif;
  font-size: 11px;
}
/* The comment area for making a page edit */
#editComment { 
}


/* The editor markup buttons */
#editButtonRow {
  border: 0;
}

/*************************************		History Page	*************/
/* Content of the tab area */
#tabPage {
  border: 1px solid #CCCCCC !important;
  border-bottom: 1px solid #CCCCCC !important;
}
#tabPage h3 { margin-top: 9pt;}
/* The tabs themselves */
#tabmenu {
     font-size: 8pt;
}
#tabmenu li {
     border: 1px solid #CCCCCC;
     list-style-type: none;
}
#tabmenu li.active {
     border-bottom: 3px solid white !important;
     _border-bottom: 3px solid white !important; /*ie hack*/
}
#tabmenu li a { text-decoration: none; }
#tabmenu li.active a {
     border-bottom: 3px solid white !important;
     _border-bottom: 1px solid white !important; /*ie hack*/
}
/* Info area history */
#pageHistory td { }
div.editInfo { }



/* The 'differences' view */
.diff {
  border: 1px solid gray;
}
.diff td {
  border: 1px solid gray;
}
/* One side of the differences */
.diff-item { 
 }
/* Area that marks the line numbers where things change */
.diff-title { background-color: #C0C0C0; }
/* Added area */
.diff-added span { background-color: #80FF80; }
/* Removed area */
.diff-removed span { background-color: #FFFF80; }

/* used for [action here] boxes with brackets around them */
.minorActionBox { 
  font-size: 10pt;
}

/*************************************	Recent Changes Page	*************/

/* Editor's name */
.rceditor {
  color: #000088;
}
/* Editor's comment */
.rccomment {
  color: #4d4d4d;
}
/* Recent Changes / Bookmarks change display */

/* Entry and Line Formatting */
.rcEntry {  }
.rcpageline {  }

/* Link to Page */
.rcpagelink { font-size: 14px; }
.rcpagelink span {  }

/* Recent changes modified time */
.rctime {
  font-size: 14px;
  color: #4d4d4d;
}
/***** Recent Changes Tag Stuff *****/
/* General Tag Formatting */
.rcTag {
  font-size: 80%;
  background-color: none;
}
.rcTag a { text-decoration: none; }
/* "New" tag */
.rcTagNew {
  background-color: #ffff99;
}
/* "Changes" tag */
.rcTagChanges {
  background-color: #dfdfdd;
}
/* "Deleted" tag */
.rcTagDeleted {
  background-color: #ff9999;
}
/*************************************	User's Stuff	*************/
/* User Link area, "logout/settings/watch" */
.user_area .user_items {
  font-size: 80%;
}
/***** Bookmarks display (user's bookmarks) *****/
/* Edit time */
.favtime {
  font-size: 12px;
  color: #4d4d4d;
}
/* Page editor */
.faveditor {
  color: #000088;
  font-size: 12px;
} 
/* Edit comment */
.favcomment {
  color: #4d4d4d;
  font-size: 12px;
}

/* Change Display */
.bookmarks .rcpagelink {
}
/* Formatting for [[Userstats()]] */
#useredits table {  }
#useredits table td {  }

/*************************************		Map Stuff	*************/

/* Contains the map */
#mapContainer {
  background-color: #ccddff;
  border-right: 1px dashed #aaaaaa;
  border-bottom: 1px dashed #aaaaaa;
  border-top: 5px solid #ccddff;
}
/* Contains just the map */
#map {
  border: 1px solid gray;
}

/*************************************		Et cetera	*************/
/* Inline editing box stuff */
.inlineEditHighlight {
  background-color: #CCDDFF;
}
/* The warning / notification message box */
#message {
  font-size: 120%;
  background-color: #FFFFAA;
  border: 1px dashed #ff0000;
  color: red;
}

/* Non-warning/alert style dialog.  Such as used for search results. */
.dialogBox {
  background-color: #EEEEEE;
  border: 1px solid #AAAAAA;
}
.dialogBox td { 
 }

/* actionBoxes, similar to buttons, used to show users, hide users, etc. */
.actionBoxes { 
}
td .actionBoxes {
}
td .actionBoxes span { 
}
.actionBoxes a { text-decoration: none; } 
span.actionBoxSelected {
  border: none !important;
  font-weight:bold;
}
.actionBoxes span {
  font-size: 8pt;
  border:1px solid rgb(170, 170, 170);
  background:#f5f5f5;
}
.actionBoxes a { text-decoration: none; } 

/* "optional" or minor points are made using minorText. */
.minorText {
  color: gray;
}
.minorText a:link {
   color: #333399;
   text-decoration: none;
}
.minorText a:hover {
   color: green;
   text-decoration: none;
}

/* used for [action here] boxes with brackets around them */
.minorActionBox { 
  font-size: 10pt;
}
/* Input field for forms (e.g. username/password fields) */
.formfields {
  background-color: #FFFFFF;
  border: 1px solid #999999;
  font-family:  Verdana, sans-serif;
  font-size: 11px;
  color: #333333;
  text-decoration: none;
}

/* Icon used when linking to other wikis using interwiki-style links.
 * also used when displaying certain links to other wikis, such as search results
*/
img.interwiki_icon {
  border: none;
}


/***** Logo & Banner    *************/
/* banner */
#banner {
  margin: 0px;
  padding-top: 0px;
  padding-bottom: 0px;
  background-position: 15px -17px;
  _background-position: 15px -85px; /*IE Hack, draws from bottom rather than top */
}
/* Logo container */
.logo {
  float: left;
  margin: 0;
  width: 100%;
  border: 0;
}
*[dir="rtl"] #logo { float: right; }
/* Logo  */
td.logo_banner {
  padding: 0;
  vertical-align: middle;
}
.logo td {
  padding-top: 0;
  padding-bottom: 0;
  margin: 0;
}
/* Logo Text (used if no image */
#logo_text {
  padding-left: 8pt;
}
/***** User Name, Password Area *****/
/* User name and settings */
td.user_banner { height: 70px; }
td.user_banner table { margin: 5px !important; }


/* If Logged in Username & Welcome */
.user_area {
  padding: 0;
  padding: 8px;
  margin: 0;
}
.user_area a {
}
.user_area table {
  vertical-align: top;
  text-align: center;
}
.user_area td {
  padding: 2px !important;
  margin: 0 !important;
}
.user_area .welcome { 
  margin-bottom: 10px;
  display: inline;
}
/* If not logged in */
/* See Et Cetera for input forms */
.login_area {
  height: 75px; 
  padding: 0;
}
.login_area input { 
}
.login_area table {
  vertical-align: top;
  text-align: center;
}
.login_area td {
  padding: 1px !important;
  margin: 0 !important;
}
.login_area a { 
}
/*********** Navigation Tab Area ****/
/* Primary navigational tabs */
a.tab { margin-left: .4em;}
a.tab.tab, a.tab:visited {
  padding: 2px 1em 0px 1em;
}
a.tab:hover {
}
a.tab.notice {
}
/* The tab for the current page, foremost tab */
a.tab.activeTab, a.tab.activeTab:hover, a.tab.activeTab:visited {
  padding-top: 4px;
  z-index:4;
}
/* Area which contains the tabs */
div.tabArea {
  width:100%;
  padding-top:1em;
}

/*********** Switching button-icons **********/
/* Row that contains page icons (e.g. "Edit", "Info") */
#iconRow .pageIcon { padding-right: 10px; }
#iconRow .pageIconSelected { padding-right: 10px; }
.pageIcon {
  text-align: center;
  vertical-align: bottom;
}
.pageIconSelected {
  text-align: center;
  vertical-align: bottom;
}
/* This is the action text, e.g. "Edit", "Info" */
.pageIcon span span, .pageIconSelected span span {
  display: block;
  text-align: center;
  padding-left: 2px; /* we pad here because our
    icon's visible weight is more toward the right.
    For your own icons you may need to change this
    to obtain maximum prettiness.*/
}
/* The search box */
#search_form { 
  margin: 5pt 2pt 4pt 13pt;
  vertical-align: middle;
  text-align: right;
  white-space: nowrap;
}
#search_form form {
  padding-left: 10px;
}
/*************************************      Page content    *************/

/* Page Title */
#title {
  min-height: 51px; 
  padding-top: 0pt;
  padding-bottom: 0pt;
  vertical-align: middle;
  width: 100%;
}
/* Title Text */
#title_text { vertical-align: middle; } 
#title_text td { vertical-align: middle; }
#title_area_table { width: 100%; }
#title h1 {
        margin: 0;
        margin-left: 10px;
        margin-right: 1em;
}
#title td { padding: 3pt 0 3pt 0; } 

/* Sub-title */
.minorTitle {
  text-align: center;
  margin-top: .4em;
}

/************* Page Body *************/
body {
  margin:0;
  padding:0;
}

/* Page Content */
.content {
  margin-top: 10px;
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 20px;
}

/* Standard Text */
pre {
}

/* Table Of Contents */
.tableOfContents
{
    padding:.3em;
    white-space: nowrap;
    display: table-cell;
}
.floatLeftTOC
{
  float: left;
  margin-right: 15px;
}
.floatRightTOC
{
  float: right;
  margin-left: 15px;
}

/* Link Formatting */
a:link {
}
a:visited {
}
a:hover {
}
a.nonexistent, a.badinterwiki {
}
a.nonexistent:hover {
}
a.nonexistent:visited { 
}
a.tinyNonexistent /* used for things like "Talk" links when they don't exist */ {
}
a.tinyNonexistent:hover {
  cursor: pointer;
}

/* Tables */
.wikitable td { padding: 2pt; }
.wikitable {
  padding-top: 3pt;
  padding-bottom: 4pt;
  padding-right: 2pt;
  padding-left: 2pt;
}
/* Lists */
.wikipage ul {
  line-height: 1.5em;
  margin: 0.5em 0em 1.5em 50px;
  padding:0;
}
.wikipage li { margin-bottom: 0.25em; }

/*indented headings*/
.wikipage ul h2, h3,h4,h5,h6{
  line-height: 1em;
}
/* Headings */
h2, h3, h4, h5, h6 {
  margin-bottom: 10px;
  clear:both;
  padding-top: 2px;
  margin-top: 8px;
}
h3, h4, h5, h6 {
  margin-top: 10px;
}
h1 a, h2 a, h3 a{
}
h2 {
  margin-top: .6em;
}
h3 {
}
h4 {
}
h5 {
}
h6 {
}

/* Editable Subsections */
table.sectionEdit h2 
{ 
  margin: -0.1em; 
} 
table.sectionEdit 
{ 
  margin-bottom: 7px;
  margin-right: 1em;
}
table.sectionEdit a { 
 }
table.sectionEdit h2 a {
}
table.sectionEdit td { vertical-align: bottom; }

/* Horizontal Rule */
hr {
    text-align: left;
    margin: 0;
    padding: 0;
}
/* Footnotes */
.footnotes div {
  margin-top: 2em;
  width: 10em;
  clear: both;
}

/*************************************      Bottom of Page  *************/
/* The footer, which contains things like "Edit", "Bookmark" and text/icons. */
#footer {
  clear: both;
  margin-left: 10px;
  margin-bottom: 10px;
  margin-right: 10px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 5px;
}
#footer p {
  margin-top: 5px;
  margin-left: 5px;
  margin-right: 5px;
  margin-bottom: 10px; 
}
#footer .license { 
 }


/*************************************      Edit Page   *************/
/* This is the page editing area (textarea, in our case) */
#savetext { 
 line-height: inherit;
 width: 100%;
}
/* Input button used for some actions (e.g. "Rename" page) */
.formbutton {
}
/* The comment area for making a page edit */
#editComment { margin-top: 2px; }

/* The editor markup buttons */
#editButtonRow {
  padding: 0;
  margin-top: .8em;
  margin-bottom: .8em;
}
#editButtonRow .editActions {
  padding: .5em;
  margin-left: 1em;
}


/*************************************      History Page    *************/
/* Content of the tab area */
#tabPage {
  position: relative;
  z-index: 0;
  padding: 4pt 5pt 4pt 5pt;
}
#tabPage h3 { margin-top: 9pt;}
/* The tabs themselves */
#tabmenu {
     margin: 12pt 0px 0px 0px;
     padding: 0;
     z-index: 1;
     padding-left: 10pt
}
#tabmenu li {
     display: inline;
     overflow: hidden;
     margin-right: 2pt; 
     padding: 2pt 4pt 0 5pt;
     list-style-type: none;
     position: relative;
     z-index: 2;
}
#tabmenu li.active {
     padding-top: 2pt;
     top: -2px;
     _top: -1px; /*ie hack*/
}
#tabmenu li.active a {
     padding-top: 2.5pt;
     _padding-top: 0; /*ie hack*/
     _top: -1px; /*ie hack*/
}

/* Info area history */
#pageHistory td { padding: 0 .3em; }
div.editInfo { margin-top: 10pt; }


/* The 'differences' view */
.diff {
  width:100%;
  margin-bottom: 6px;
  margin-top: 2px;
}
.diff td {
  padding: 4px 2px 4px 2px;
}
/* One side of the differences */
.diff-item { width:50%; }
/* Area that marks the line numbers where things change */
.diff-title {
}
/* Added area */
.diff-added span { 
 }
/* Removed area */
.diff-removed span { 
 }

/*************************************  Recent Changes Page *************/

/* Editor's name */
.rceditor {
  margin-left: .2em;
}
/* Editor's comment */
.rccomment {
  text-indent: 6em;
  margin-bottom: .3em;
}

/* Recent Changes / Bookmarks change display */

/* Entry and Line Formatting */
.rcEntry { margin-bottom: 1em; }
.rcpageline { margin-bottom: .5em; }

/* Link to Page */
.rcpagelink {
}
.rcpagelink span { vertical-align: top; }

/* Recent changes modified time */
.rctime {
  margin-left: .8em;
}
/***** Recent Changes Tag Stuff *****/
/* General Tag Formatting */
.rcTag {
  text-align: left;
  white-space: nowrap;
  width: 5em;
  margin-right: 1em;
  float: left;
}
.rcTag a { text-decoration: none; }
/* "New" tag */
.rcTagNew {
  padding: 2px;
  text-align: center;
}
/* "Changes" tag */
.rcTagChanges {
  padding: 2px;
  text-align: center;
}
/* "Deleted" tag */
.rcTagDeleted {
  padding: 2px;
  text-align: center;
}

/*************************************  User's Stuff    *************/
/* User Link area, "logout/settings/watch" */
.user_area .user_items {
  margin-top: 4px;
  margin-left: 5px;
}

/***** Bookmarks display (user's bookmarks) *****/
/* Edit time */
.favtime {
}
/* Page editor */
.faveditor {
} 
/* Edit comment */
.favcomment {
}

/* Change Display */
.bookmarks .rcpagelink {
  clear:left;
  padding-bottom: .3em;
}

/* Formatting for [[Userstats()]] */
#useredits table { width: 100%; }
#useredits table td {
  width: 15%;
  padding: .3em .3em .3em .3em;
}
/*************************************      Map Stuff   *************/

/* Contains the map */
#mapContainer {
  margin-top: -5px;
}
/* Contains just the map */
#map {
  top: 12px;
  left: 10px
}

/*************************************      Et cetera   *************/
.inlineEditHighlight {
  margin-bottom: 0px !important;
  padding-bottom: 0px!important;
}

/* The warning / notification message box */
#message {
  margin-left: 10px;
  margin-right: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
  padding-left: 5px;
}

/* Non-warning/alert style dialog.  Such as used for search results. */
.dialogBox {
  clear: both;
  margin-left: 10pt;
  margin-top: 5pt;
  margin-bottom: 10pt;
}
.dialogBox td { padding: 10px; }

/* actionBoxes, similar to buttons, used to show users, hide users, etc. */
.actionBoxes { padding-bottom: 15pt; }
td .actionBoxes {
  margin: 0 !important;
  padding: 0 !important;
}
td .actionBoxes span { margin: 6pt 0 0 0!important; }
.actionBoxes a { 
} 
span.actionBoxSelected {
}
.actionBoxes span {
  margin:0 3pt 0 0;
  padding: 2pt 3pt 2pt 3pt;
}
.actionBoxes a { 
} 

/* "optional" or minor points are made using minorText. */
.minorText {
  margin-left: .5em;
}
.minorText a {
}
.minorText a:hover {
}

/* used for [action here] boxes with brackets around them */
.minorActionBox { 
}

/* Input field for forms (e.g. username/password fields) */
.formfields {
}

/* Icon used when linking to other wikis using interwiki-style links.
 *  * also used when displaying certain links to other wikis, such as search results
 *   * */
img.interwiki_icon {
  margin-right: .25em;
  padding: 0;
}