Difference between revisions of "MediaWiki:Common.css"

From Funtoo Linux
Jump to: navigation, search
(Add some style rules.)
 
 
(18 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
  
/* Differentiate visited and unvisited links better */
+
/* Note boxes from dokuwiki's note plugin */
a:link {color: navy}
+
.fancynote, .fancyimportant, .fancywarning, .fancytip {
a:visited {color: blue}
+
  margin-top: 0.75em;
 +
  margin-bottom: 0.75em;
 +
  margin-left: auto;
 +
  margin-right: auto;
 +
  width: 85% !important;
 +
  min-height: 40px;
 +
  clear: both;
 +
  text-align: justify;
 +
  vertical-align: left;
 +
  border-collapse: collapse;
 +
  padding: 15px 20px 15px 80px;
 +
  background-position: 20px 50%;
 +
  background-repeat: no-repeat;
 +
  -moz-border-radius: 15px;
 +
  -khtml-border-radius: 15px;
 +
  border-radius: 15px;
 +
  line-height: 1.2em;
 +
}
  
/* Make tt bigger */
+
.fancynote {
tt {font-size: bigger}
+
  border: 1px solid #99D;
 +
  background-color: #eef;
 +
  background-image: url(/images/3rdparty/note.png);
 +
}
 +
 
 +
.fancyimportant {
 +
  border: 1px solid #ffd300;
 +
  background-color: #ffc;
 +
  background-image: url(/images/3rdparty/important.png);
 +
}
 +
 
 +
.fancywarning {
 +
  border: 1px solid #d99;
 +
  background-color: #fdd;
 +
  background-image: url(/images/3rdparty/warning.png);
 +
}
 +
 
 +
.fancytip {
 +
  border: 1px solid #9d9;
 +
  background-color: #dfd;
 +
  background-image: url(/images/3rdparty/tip.png);
 +
}

Latest revision as of 04:20, 21 December 2012

/* CSS placed here will be applied to all skins */
 
/* Note boxes from dokuwiki's note plugin */
.fancynote, .fancyimportant, .fancywarning, .fancytip {
  margin-top: 0.75em;
  margin-bottom: 0.75em;
  margin-left: auto;
  margin-right: auto;
  width: 85% !important;
  min-height: 40px;
  clear: both;
  text-align: justify;
  vertical-align: left;
  border-collapse: collapse;
  padding: 15px 20px 15px 80px;
  background-position: 20px 50%;
  background-repeat: no-repeat;
  -moz-border-radius: 15px;
  -khtml-border-radius: 15px;
  border-radius: 15px;
  line-height: 1.2em;
}
 
.fancynote {
  border: 1px solid #99D;
  background-color: #eef;
  background-image: url(/images/3rdparty/note.png);
}
 
.fancyimportant {
  border: 1px solid #ffd300;
  background-color: #ffc;
  background-image: url(/images/3rdparty/important.png);
}
 
.fancywarning {
  border: 1px solid #d99;
  background-color: #fdd;
  background-image: url(/images/3rdparty/warning.png);
}
 
.fancytip {
  border: 1px solid #9d9;
  background-color: #dfd;
  background-image: url(/images/3rdparty/tip.png);
}
Personal tools
Namespaces

Variants
Actions
Categories
Toolbox
Stuff