Actions

MediaWiki

Common.css: Difference between revisions

From LimeSurvey Manual

No edit summary
No edit summary
Line 25: Line 25:
     font-size: 1.6em;
     font-size: 1.6em;
     margin-top:1em;
     margin-top:1em;
     font-weight: bold;
     font-weight: bold !important;
}
}
h4 {
h4 {

Revision as of 14:03, 25 May 2021

body {
    font-family: "Montserrat";
    font-size: 14px;
    line-height: 26px;
}
h1, h2, h3, h4, h5, h6 {
    font-family: "Montserrat" !important;
    font-weight: 300 !important;
    margin: 0 0 25px;
    text-transform: none;
}

/* h1 should only be used once on each page (page title) */
h1 {
    font-size: 2em;
    margin-top:1em;
}
h2 {
    font-size: 1.8em;
    margin-top:1em;
    border-bottom: 1px solid #a2a9b1;
}
h3 {
    font-size: 1.6em;
    margin-top:1em;
    font-weight: bold !important;
}
h4 {
    font-size: 1.2em;
   margin-top: 1em;
}
h5 {
    font-size: 1.2em;
   margin-top: 1em;
}
h5 {
    font-size: 1.1em;
   margin-top: 1em;
}

.mw-editsection{margin-right:5px;}
.simplebox,table#toc{ margin:1em}
table#toc{max-width:400px;}

#tagline{display:none;}

a {
    color: #30a233;
}

ul {
  margin: 0.5em 0 0.5em 2em !important;
}

nav ul {
  margin: 0 !important;
}

.top-bar-section li a:not(.button)
{
   background-color: #777;
   color:#fff;
   font-weight:400;
}
.top-bar-section ul,.top-bar,.top-bar-section ul li.active > a {
    background: none repeat scroll 0 0 #FFF;
}
.top-bar-section ul li.active > a {
    color: #777;
}
.top-bar-section .has-form {
    background: none repeat scroll 0 0 #f2f2f2;
}
.top-bar .name h1 a {
  color:#777
}
.simplebox {
  border: 1px solid #dddddd;
  padding:1em;
}
.mw-code {
  border: 1px solid #dddddd; 
  background-color:#fbfbfb;
  padding:1em;
  margin: 0.5em 0;
}
.row {
    max-width: 75em;
}

.tux-textarea-translation{width:100%;}

.mw-special-Translate .bannergroup{display:none;}

#mw-content-text .tux-messagetable-header > .nine.columns .tux-message-selector {
    margin-bottom: 0;
} 
  
#mw-content-text .tux-messagetable-header .tux-message-selector .more {
    padding: 0 150px 7px 5px;
    width: auto;
}
  
#mw-content-text .tux-messagetable-header .more .tux-message-selector {
    margin-top: 0;
} 
  
#mw-content-text .tux-messagetable-header .more .tux-message-selector a:hover {
    font-weight: bold;
}

.mw-pt-translate-header {
    font-size: 100%;
    text-align: left;
}


.warning{
font-size:inherit;
color:#E0A21B;
}
.boxed{
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  -webkit-border-radius: 6px;
     -moz-border-radius: 6px;
          border-radius: 6px;
  display:block;
  overflow:auto;
  background: #f1f1f1;
  border: 1px solid #ddd;
  color: #222;
  margin:0 2em 1.5em;
  padding: 0.5em 1em;
}
 
.warningbox{
  float:none;
  font-size: inherit;
  margin:0 3em;
  background-color:#FCF8E3;
  border-color:#FBEED5;
  color:#333;
}
.error{
  color:#B94A48;
  font-size:inherit;
}
.alert{
  color:#E0A21B;
  font-size:inherit;
}

.success{
  color:#468847;
  font-size:inherit;
}
.boxed.alert{
  background-color:#FCF8E3;
  border-color:#FBEED5;
  color:#222;
}
.boxed.error{
  background-color:#F2DEDE;
  border-color:#EED3D7;
}
.boxed.success{
     background-color: #DFF0D8;
     border-color: #D6E9C6;
}

body table th {
    font-weight: bold;
}

body table {
    margin-top: 10px;
    border: 1px solid #ccc;
    border-collapse: separate;
}

table tr:nth-child(even) {
  background-color: #f2f2f2;
}

table tr td {
  border: 0 !important; /* Override wikitable */
}

table tr td, table tr th {
  padding: 6px;
}

table td ul, table td ol {
  font-family: inherit; 
  font-size: inherit;
  line-height: inherit;
  list-style-position: inherit;
  margin-bottom: inherit;
}

.mw-highlight {
    padding: 6px;
    margin-top: 10px;
    margin-bottom: 10px;
    background-color: #EEEEEE;
}

li .mw-highlight pre {
    font-size: 0.875em;
}

p {
  margin: 0.5em;
}

p a.image img {
  margin: 10px;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}

/** Dark syntaxhighlight theme */
pre {
  padding: 10px;
  background-color: rgb(246, 246, 246);
  border-radius: 10px;
}
.mw-highlight > pre { 
  background-color: #222222;
  color: #e6db74;
  padding: 10px;
  border-radius: 10px;
}
.mw-highlight > pre .hll { background-color: #222222 }
.mw-highlight > pre .c { color: #75715e } /* Comment */
.mw-highlight > pre .err { color: #960050; background-color: #1e0010 } /* Error */
.mw-highlight > pre .k { color: #66d9ef } /* Keyword */
.mw-highlight > pre .l { color: #ae81ff } /* Literal */
.mw-highlight > pre .n { color: #f8f8f2 } /* Name */
.mw-highlight > pre .o { color: #f92672 } /* Operator */
.mw-highlight > pre .p { color: #f8f8f2 } /* Punctuation */
.mw-highlight > pre .ch { color: #75715e } /* Comment.Hashbang */
.mw-highlight > pre .cm { color: #75715e } /* Comment.Multiline */
.mw-highlight > pre .cp { color: #75715e } /* Comment.Preproc */
.mw-highlight > pre .cpf { color: #75715e } /* Comment.PreprocFile */
.mw-highlight > pre .c1 { color: #75715e } /* Comment.Single */
.mw-highlight > pre .cs { color: #75715e } /* Comment.Special */
.mw-highlight > pre .gd { color: #f92672 } /* Generic.Deleted */
.mw-highlight > pre .ge { font-style: italic } /* Generic.Emph */
.mw-highlight > pre .gi { color: #a6e22e } /* Generic.Inserted */
.mw-highlight > pre .gs { font-weight: bold } /* Generic.Strong */
.mw-highlight > pre .gu { color: #75715e } /* Generic.Subheading */
.mw-highlight > pre .kc { color: #66d9ef } /* Keyword.Constant */
.mw-highlight > pre .kd { color: #66d9ef } /* Keyword.Declaration */
.mw-highlight > pre .kn { color: #f92672 } /* Keyword.Namespace */
.mw-highlight > pre .kp { color: #66d9ef } /* Keyword.Pseudo */
.mw-highlight > pre .kr { color: #66d9ef } /* Keyword.Reserved */
.mw-highlight > pre .kt { color: #66d9ef } /* Keyword.Type */
.mw-highlight > pre .ld { color: #e6db74 } /* Literal.Date */
.mw-highlight > pre .m { color: #ae81ff } /* Literal.Number */
.mw-highlight > pre .s { color: #e6db74 } /* Literal.String */
.mw-highlight > pre .na { color: #a6e22e } /* Name.Attribute */
.mw-highlight > pre .nb { color: #f8f8f2 } /* Name.Builtin */
.mw-highlight > pre .nc { color: #a6e22e } /* Name.Class */
.mw-highlight > pre .no { color: #66d9ef } /* Name.Constant */
.mw-highlight > pre .nd { color: #a6e22e } /* Name.Decorator */
.mw-highlight > pre .ni { color: #f8f8f2 } /* Name.Entity */
.mw-highlight > pre .ne { color: #a6e22e } /* Name.Exception */
.mw-highlight > pre .nf { color: #a6e22e } /* Name.Function */
.mw-highlight > pre .nl { color: #f8f8f2 } /* Name.Label */
.mw-highlight > pre .nn { color: #f8f8f2 } /* Name.Namespace */
.mw-highlight > pre .nx { color: #a6e22e } /* Name.Other */
.mw-highlight > pre .py { color: #f8f8f2 } /* Name.Property */
.mw-highlight > pre .nt { color: #f92672 } /* Name.Tag */
.mw-highlight > pre .nv { color: #f8f8f2 } /* Name.Variable */
.mw-highlight > pre .ow { color: #f92672 } /* Operator.Word */
.mw-highlight > pre .w { color: #f8f8f2 } /* Text.Whitespace */
.mw-highlight > pre .mb { color: #ae81ff } /* Literal.Number.Bin */
.mw-highlight > pre .mf { color: #ae81ff } /* Literal.Number.Float */
.mw-highlight > pre .mh { color: #ae81ff } /* Literal.Number.Hex */
.mw-highlight > pre .mi { color: #ae81ff } /* Literal.Number.Integer */
.mw-highlight > pre .mo { color: #ae81ff } /* Literal.Number.Oct */
.mw-highlight > pre .sa { color: #e6db74 } /* Literal.String.Affix */
.mw-highlight > pre .sb { color: #e6db74 } /* Literal.String.Backtick */
.mw-highlight > pre .sc { color: #e6db74 } /* Literal.String.Char */
.mw-highlight > pre .dl { color: #e6db74 } /* Literal.String.Delimiter */
.mw-highlight > pre .sd { color: #e6db74 } /* Literal.String.Doc */
.mw-highlight > pre .s2 { color: #e6db74 } /* Literal.String.Double */
.mw-highlight > pre .se { color: #ae81ff } /* Literal.String.Escape */
.mw-highlight > pre .sh { color: #e6db74 } /* Literal.String.Heredoc */
.mw-highlight > pre .si { color: #e6db74 } /* Literal.String.Interpol */
.mw-highlight > pre .sx { color: #e6db74 } /* Literal.String.Other */
.mw-highlight > pre .sr { color: #e6db74 } /* Literal.String.Regex */
.mw-highlight > pre .s1 { color: #e6db74 } /* Literal.String.Single */
.mw-highlight > pre .ss { color: #e6db74 } /* Literal.String.Symbol */
.mw-highlight > pre .bp { color: #f8f8f2 } /* Name.Builtin.Pseudo */
.mw-highlight > pre .fm { color: #a6e22e } /* Name.Function.Magic */
.mw-highlight > pre .vc { color: #f8f8f2 } /* Name.Variable.Class */
.mw-highlight > pre .vg { color: #f8f8f2 } /* Name.Variable.Global */
.mw-highlight > pre .vi { color: #f8f8f2 } /* Name.Variable.Instance */
.mw-highlight > pre .vm { color: #f8f8f2 } /* Name.Variable.Magic */
.mw-highlight > pre .il { color: #ae81ff } /* Literal.Number.Integer.Long */
.mw-highlight > pre .lineno { color: #a6e22e } /* Literal.Number.Integer.Long */