Difference between revisions of "MediaWiki:Common.css"

From OpenMedia
Jump to: navigation, search
Line 147: Line 147:
 
}
 
}
 
.image_annotation div p{
 
.image_annotation div p{
   font-size:0.5em;
+
   font-size:0.8em;
 
}
 
}
 
.tooltipContent div div p{
 
.tooltipContent div div p{
   font-size:0.5em;
+
   font-size:0.8em;
 
}
 
}

Revision as of 17:33, 6 April 2011

/* CSS placed here will be applied to all skins */

/* new ui edit toolbar fix for Opera browser */
.wikiEditor-ui-toolbar .group .label { 
  border: none;
  height: 22px;
  line-height: 22px;
  margin: 2px 8px 2px 5px;
  color: #777777;
  cursor: default;
  float: left;
}

table.ombox { 
  margin: 4px 10%;
  border: 1px solid #aaaaaa;
  background: #f9f9f9;
}
td.mbox-image img { 
 padding-right:5px;
 border:0px;
}

td.mbox-text {
  min-width:50%;
}
table.ombox-notice { 
  border: 1px solid #aaaaaa;
}
table.ombox-speedy { 
  border: 2px solid #b22222;
  background: #ffeeee;
}
table.ombox-delete { 
border: 2px solid #b22222;
}
table.ombox-content { 
border: 1px solid #f28500;
}
table.ombox-style { 
border: 1px solid #f4c430;
}
table.ombox-move { 
border: 1px solid #9932cc;
}
table.ombox-protection { 
border: 2px solid #bbbbaa;
}

/* forms */
  table.formtable {
    border-collapse:collapse;
  }
  table.formtable td{
    vertical-align:top;
    text-alig:left;
    padding:2px;
  }
  table.formtable th{
    vertical-align:top;
    font-weight: bold;
    padding:2px;
  }

  table.formtable textarea.textarea-default{
    width:100%;
  }
 /* inputs, textarea:focus */
  table.formtable select.mandatoryField:focus, table.formtable input.mandatoryField:focus, table.formtable textarea.mandatoryField:focus{
    border:2px inset #fcaf3e;
    margin:0px;
  }
  table.formtable select:focus, table.formtable input:focus, table.formtable textarea:focus{
    border:2px inset #d3d7cf; /* light gray*/
    margin:0px;
  }
 /* inputs, textarea */
  table.formtable select.mandatoryField, table.formtable input.mandatoryField, table.formtable textarea.mandatoryField{
    border:1px solid #fcaf3e;
    margin:1px;
  }
  table.formtable select, table.formtable input, table.formtable textarea{
    border:1px solid #d3d7cf; /* light gray*/
    margin:1px;
  }
 /* formtable Fonts*/
  .formtable input, .formtable textarea{
     font-family:monospace;
     font-size:100%;
  }
 /* formtable definitions */
  dd { 
    margin-left: 0em;
  }

 /* formtable floating box */
  div.floating-form-parts {
    float:left; margin-right: 0.75em;
  }
 /* formtable select option box: Fix for FF gray → ??? */
  .formtable select { 
    background-color: #FFFFFF;
  }
 /* hidden fields */
  .formtable * .collapsebox .indicateHiddenInputs {
    border-left:2px #aaaaaa solid;
    border-bottom:1px #aaaaaa solid;
    padding-left:4px;
    padding-bottom:4px;
  }

/* plain no bold or italic text */
 .font-weight-normal {font-weight:normal;font-style:normal;}

/* collapsebox */
  .collapsebox{
  }
  .hide{
    display:none;
  }
  .show{
  }

/* comments*/
 .comment-gray{ 
    color:#888a85;
 }

/* notes slightly with emphasis, just for short phrases */
 span.emphasis-light { color:#CD853F; }

.warning {color:#f57900;}

#wikiPreview {
  overflow-y:auto;
  max-height:400px;
  border:1px dotted gray;
  padding:4px;
}

.border-round {
  -moz-border-radius:0.5em;
  -webkit-border-radius:0.5em; 
  -o-border-radius:0.5em; 
  -khtml-border-radius:0.5em; 
  border-radius:0.5em;
}
.image_annotation div p{
   font-size:0.8em;
}
.tooltipContent div div p{
   font-size:0.8em;
}