MediaWiki:Common.css

From Lexicon Leponticum
Jump to navigationJump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* CSS placed here will be applied to all skins */

body { background-color: #fffcf7; }
a { color: #b36500; }
a:visited { color: #785042; }
.mw-body a.external	{ color: #b36500; }
.mw-body a.external:visited { color: #785042; }
#p-cactions li a, #p-personal li a { color: #b36500; }

.navigation-bar {
	background-color: #fff4e6;
	border: 1px #b36500;
	margin:5px 0px 5px 20px;
	padding:5px;
	font-size:8pt;
	float:right;
	width:150px;
}
.navigation-line, .catlinks	{
	background-color: #fff4e6;
	border: 1px #b36500;
	margin-top:20px;
	padding:5px;
	font-size:8pt;
	text-align:center;
}

p, li, td { text-align: justify; }
h1 { margin-top: 20px; }
h2 { margin-top: 20px; font-size: 1.5em; font-weight:bold; }
h3 { margin-top: 10px; font-size: 1.2em; }
h4 { margin-top: 10px; font-size: 1em; }

ul { list-style-type: square; }
.portal li { text-align: left; }
#toc .tocnumber { display: none; }
.word { font-style:italic; }
.word_inscription { font-style:normal; }
.html { font-family:monospace; color:black; background-color:#f9f9f9; border:1px dashed #2f6fab; }
.disamb { border: 1px solid red; background: #e8e8e8; padding: 5px; margin:20px 0px; }
.attention { font-weight:bold; font-size:200%; color:red; margin:0px 10px; }
.security-info { background-color: #f0e0e0; border-top: 1px solid red; border-bottom: 1px solid red; font-size:90%; padding:0px 20px; margin-top:5px; margin-bottom:20px; }
.cshow, div#security-info-toggle, div#security-info			{ background-color: #f0e0e0; border-top: 1px solid red; border-bottom: 1px solid red; margin-top:20px; margin-bottom: 20px; padding:5px; }
.formedit { float:right; text-align:right; background-color:white; border-top: 1px solid #fabd23; border-bottom: 1px solid #fabd23; font-size:90%; padding:0px 20px; }
.bib					{ font-variant:small-caps; }
.gallerythumb			{ vertical-align:middle; padding:5px; width:140px; height:120px; border: 1px solid #fff8f2; overflow:hidden; }
.gallerytext			{ text-align:left; }
.gallerybox			{ width:155px; }
.title				{ margin:30px 0; padding:10px; }
.project_Lexicon_Leponticum		{ text-align:center; background-color: #e0f0e0; border-top: 1px solid green; border-bottom: 1px solid green; margin-top:20px; margin-bottom: 20px; padding:5px; }
.project_Lexicon_Raeticum		{ text-align:center; background-color: #e0e0f0; border-top: 1px solid blue; border-bottom: 1px solid blue; margin-top:20px; margin-bottom: 20px; padding:5px; }
.portlet h3, #p-cactions li a, #p-personal ul { text-transform: none; }

/* Tables */
table.wikitable th, .formtable th { text-align: left; }
.formtable th				{ white-space:nowrap; }
.table_centered			{ padding:0px; empty-cells:show; border-spacing:0px; }
.table_centered td,th		{ font-weight:normal; text-align:center; vertical-align:top; }
.table_centered caption		{ font-weight:bold; text-align:left; }
.table_data, .table_lines		{ padding:0px; margin:0px; empty-cells:hide; border-spacing:0px; }
.table_data td			{ font-weight:normal; text-align:justify; vertical-align:top; padding-right:10px; }
.table_data th			{ font-weight:bold; text-align:left; vertical-align:top; padding-right:10px; white-space:nowrap; }
.table_data caption			{ font-weight:bold; text-align:left; }
.table_data th a:link		{ color:black; } /* Links in Überschriften von Daten-Tabellen sollen schwarz sein! */
.table_data th a:visited		{ color:black; } /* Links in Überschriften von Daten-Tabellen sollen schwarz sein! */
.table_lines			{ border-collapse: collapse; }
.table_lines td			{ font-weight:normal; text-align:justify; vertical-align:top; padding:0px 5px; margin:0px;  border: 1px solid #fff4e6; }
.table_lines th			{ font-weight:bold; text-align:left; vertical-align:top; padding:0px 5px; margin:0px; border: 1px solid #fff4e6; background: #fff4e6; }
.table_character			{ padding:0px; empty-cells:hide; border-spacing:0px; }
.table_character td			{ padding-right:5px; font-weight:normal; text-align:left; vertical-align:middle; }
.table_character th			{ padding-right:5px; font-weight:bold; text-align:left; vertical-align:middle; }
.table_character caption		{ font-weight:bold; text-align:left; }
.table_bibliography			{ padding:0px; empty-cells:hide; border-spacing:0px; }
.table_bibliography td		{ padding-right:5px; font-weight:normal; text-align:justify; vertical-align:top; }
.table_bibliography th		{ padding-right:5px; font-weight:normal; text-align:left; vertical-align:top; width:145px; text-indent:-1.5em; padding-left:1.5em; }
.table_bibliography caption		{ font-weight:bold; text-align:left; }
table.gallery td { vertical-align:top; background-color:none; border:1px solid #c0c0c0; padding:2px; border-spacing:2px; }
th.field_category { background:#fffcf7; padding:2px 5px; text-align:right; }
td.Transliteration { line-break:anywhere; }
td.Script, td.Language { white-space:nowrap; }

.lexlep_title { background-image:url("https://www.univie.ac.at/lexlep/images/thumb/2/21/LexLep_background.png/320px-LexLep_background.png"); background-size:cover; }

/* Transliterations */
.tr_lat	{ text-transform: uppercase; }
.tr_gr	{ text-transform: uppercase; }
.tr_og	{ text-transform: uppercase; }
.tr_run	{ font-weight: bold; }
.tr_sab	{ font-weight: bold; }
.tr_ib	{ font-weight: bold; }