Jump to content

User:Sascha Claus/vector.css

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Sascha Claus (talk | contribs) at 19:50, 29 May 2010 (show the classes of all links in front of them on hovering). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
/*
 * set a readable font size first
 */
#content {
  font-family: Georgia, serif;
  font-size: 16px;
/*
Spalten zurechtrücken

  margin-top: 4em;
  margin-left: 10em;
  position: static;
*//*  width: auto;
  z-index: 0;
  background: transparent;
}
#column-one {
  float: left;
  position: static;
  border: solid red thin;
}
#p-nav, #p-search, #p-tb, #p-lang {
  position: static;
  border: dashed red thin;
*/}

#p-cactions {
/*  border: solid red thin;
  width: auto;
  left: 12.2em;
  right: 0;
*//*    overflow: visible;
    background: none;
    border-collapse: collapse;
    padding-left: 1em;
    list-style: none;
    font-size: 95%;
*/
}

#p-cactions li#ca-edit:before, 
#p-cactions li#ca-viewsource:before {
  content: "\A\200C";
  background-color: transparent;
  white-space: pre;
  border-right-style: solid;
  border-right-color: inherit;
  border-right-width: 1px;
}
#p-cactions li#ca-edit, 
#p-cactions li#ca-viewsource {
  content: "\A";
  white-space: pre;
  border-left-style: none;
}

#p-cactions :link {
	text-decoration: none;
	color: #002bb8;
	background: none;
}
#p-cactions :visited {
	color: #5a3696;
}
#p-cactions :link:active {
	color: #faa700;
}
#p-cactions :link:hover,
#p-cactions :link:focus {
	text-decoration: underline;
}
#p-cactions .stub:link {
	color: #772233;
}
#p-cactions .new :link, #p-personal .new :link {
	color: #ba0000;
}
#p-cactions .new :visited, #p-personal .new :visited {
	color: #a55858;
}

/* 
 * Inhaltsverzeichnis mit runden Ecken ausstatten und etwas 
 * zur Seite rücken, mangels ausreichender Klassierung muss 
 * das "A * B * C * ..."-TOC per Selektor ausgewählt werden 
 */
table#toc,
table[style="border: 1px solid rgb(170, 170, 170); padding: 5px; background-color: rgb(249, 249, 249); font-size: 95%;"][align="center"][border="0"] {
  -moz-border-radius: 2em;
  margin-left: -1.5em;
  padding-left: 1.5em;
}
/* 
 * hide "hide toc" link
 */
span.toctoggle {
  display: none;
}

div.editsection, div.editsection > p {
  float: none !important;
  font-size: 8px;
  display: inline;
  margin-top: 0;
  margin-bottom: -8px;
}

/*
 * restrict sections of preformatted text to screen and make 
 * them show scrollbars instead of leaving the screen
 */
pre {
  overflow: auto;
}

/*
 * HotCat buttons ("(+)" and "(-)") less noticeable,
 * colour like border colour
 */

:link[href^="javascript:hotcat"], :visited[href^="javascript:hotcat"] {
  color: #adaaad;
  font-size: smaller;
}
/*
 * mark links to redirects
 */
.mw-redirect:link:after, .mw-redirect:visited:after {
  content: " ­®";
  color: gray;
  font-size: smaller;
}
/*
 * mark links to disambiguations
 */
:link .bkl-link-inner:after, :visited .bkl-link-inner:after {
  content: " ­©";
  color: gray;
  font-size: smaller;
}
.bkl-link-inner {background:transparent;}
.bkl-link-sup {display:none;}
/*
 * show the classes of all links in front of them
 */
:link:hover:before, :visited:hover:before, 
:link:focus:before, :visited:focus:before {
  content: attr(class);
  color: gray;
  font-size: smaller;
}

/*
 * center table headers (th)
 */
th {
  text-align: center;
}
/* 
 * align table cells to top
 */
td {
  vertical-align: top;
}

/* 
 * show persondata
 */
table.persondata, table.metadata {
  display:block;
  display:table;
}
/* 
 * hide copyright warning on edit pages
 */
div#editpage-copywarn, 
div#editpage-copywarn-copywarn, 
div#editpage-copywarn2, 
div#editpage-copywarn-copywarn2, 
div#mw-tos-summary {
  display: none;
}
/*<div id="editpage-copywarn">*/
/*<div id="editpage-copywarn-copywarn" class="hintergrundfarbe2 rahmenfarbe3" style="border-style: solid; font-size: 90%">*/
/* 
 * die Linie über und unter Sachen wie Kategorien u. a. 
 * Bausteinen ganz an den Rand verlängern
 */
#catlinks, #Vorlage_BK, #Wikireader, .Vorlage-Dieser_Artikel, .Vorlage_Begriffsklaerung { /*#printfooter*/
  margin-left: -1em;
  margin-right: -1em;
  padding-left: 1.5em;
  padding-right: 1.5em;
}

#Vorlage_Dieser_Artikel, #Vorlage_Begriffsklaerung {
  margin-left: -1em;
  margin-right: -1em;
}
#Vorlage_Dieser_Artikel table, #Vorlage_Begriffsklaerung table {
  padding-left: 1.5em;
  padding-right: 1.5em;
}

#coordinates, #issnlink, #isbnlink {  
  top:1.3em;
  font-family: sans-serif;
}
#coordinates br, #issnlink br, #isbnlink br {  
  display: none;
}


/*
 * round borders for all the boxes at the page bottom
 */
table.metadata,
div.BoxenVerschmelzen,
div.NavFrame,
div.NavHead,
div.NavPic,
div.interbox/*,
div#p-cactions li,
div#p-cactions li a*/ {
  -moz-border-radius: 1em;
}