Difference between revisions of "MediaWiki:Common.css"

From GATE
Line 298: Line 298:
  
 
button, html input[type="button"], input[type="reset"], input[type="submit"] {
 
button, html input[type="button"], input[type="reset"], input[type="submit"] {
 +
    font-family: inherit;
 +
    font-size: 1em;
 +
    display: inline-block;
 +
    min-width: 4em;
 +
    max-width: 28.75em;
 +
    padding: 0.546875em 1em;
 +
    line-height: 1.286;
 +
    margin: 0;
 +
    border-radius: 2px;
 +
    -webkit-box-sizing: border-box;
 +
    -moz-box-sizing: border-box;
 +
    box-sizing: border-box;
 +
    -webkit-appearance: none;
 +
    zoom: 1;
 +
    vertical-align: middle;
 +
    background-color: #f8f8f8;
 +
    color: #222222;
 +
    border: 1px solid #e7e7e7;
 +
    text-align: center;
 +
    font-weight: bold;
 +
    cursor: pointer;
 +
}
 +
 +
.editHelp {
 
     font-family: inherit;
 
     font-family: inherit;
 
     font-size: 1em;
 
     font-size: 1em;

Revision as of 12:02, 23 July 2020

/* CSS placed here will be applied to all skins */
/* make the Cite extension list of references look smaller and highlight clicked reference in blue */
ol.references { font-size: 90%; }
ol.references li:target { background-color: #ddeeff; }
sup.reference:target { background-color: #ddeeff; }

/*da utilizzare per linkare a singole porzioni di testo*/
.line-break:target { animation: highlight 10s ease; transition: all 9s ease; }
.sentence:target { animation: highlight 10s ease; transition: all 9s ease; }
@keyframes highlight {
    from {background-color: #ddeeff;}
    to {background-color: none;}
}
/*stile per tutto GATE*/
body {
    font-family: Georgia;
    color: black; 
    font-size: 16px;
    overflow-anchor: none;
}

/*nasconde titolo sulla hompegae*/
body.page-Gregorian_Archives_Texts_Editing_GATE.action-view h1.firstHeading, body.page-Gregorian_Archives_Texts_Editing_GATE.action-submit h1.firstHeading {
    display: none; 
}

input[type="submit"] { 
    font-family: inherit;
    font-size: 1em;
    display: inline-block;
    min-width: 4em;
    max-width: 28.75em;
    padding: 0.546875em 1em;
    line-height: 1.286;
    margin: 0;
    border-radius: 2px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
    zoom: 1;
    vertical-align: middle;
    background-color: #f8f8f8;
    color: #222222;
    border: 1px solid #e7e7e7;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
}

.skin-chameleon .navbar-tools {
    width: 100px;
}
.tool-button {
    width: 26px;
    height: 26px;
}

.label {
    font-size: 100%
}
.ui-widget {
    font-family: georgia;
}


/*nasconde barra degli strumenti su hompegae*/
body.page-Gregorian_Archives_Texts_Editing_GATE.action-view ul#p-contentnavigation.p-contentnavigation.list-inline.text-center, body.page-Gregorian_Archives_Texts_Editing_GATE.action-submit ul#p-contentnavigation.p-contentnavigation.list-inline.text-center {
    display: none; 
}
.navbar-default .navbar-nav > li > a {
    color: black; 
    font-size: 16px;
}
.profile-tab {
	padding: 2px 5px 0px 5px;
}
.profile-tab-on {
	padding: 2px 5px 0px 5px;
	font-size: 16px;
}


div.ace_gutter {
	z-index: 1;
}

div.ace_scrollbar {
	z-index: 1;
}

/*permette a codemirror di funzionare correttamente*/
.CodeMirror pre {
	z-index: 1;
}
.CodeMirror-vscrollbar {
	z-index: 1;
}

/*sistema la visualizzazione della barra degli strumenti per inserire i caratteri speciali in wikieditor*/
.wikiEditor-ui-toolbar .page-characters div span {
    height: unset;
}

/* modifica colori dei link per renderli più evidenti */
a:visited {
	color:#025aa7;
}

a:link {
	color:#4797dc;
}

.mw-body a.external:visited {
	color:#025aa7;
}

.mw-body a.external:link {
	color:#4797dc;
}

a.new:visited, #p-personal a.new:visited {    
	color:#7b1815;
}

/* stile delle schede di tabber */
ul.tabbernav li a:visited {
	color:#000000;
	font-family: georgia;
    font-size: 16px;
}

ul.tabbernav li a:link {
	color:#000000;
	font-family: georgia;
    font-size: 16px;
}

/*sistema la visualizzazione della finestra di upload in wikieditor */
.wikiEditor-ui-toolbar, .oo-ui-popupWidget.ve-init-mw-switchPopupWidget {
    z-index: 1;
}

/*evita che la barra del menu si sovrapponga ai titoli delle sezioni quando si segue un link */
.mw-headline[id]::before {
   display: block;
   content: " ";
   margin-top: -50px;
   height: 50px;
   visibility: hidden;
}
sup.reference[id]::before {
   display: inline-block;
   content: " ";
   margin-top: -65px;
   height: 65px;
   visibility: hidden;
}
.smw-table-row .smwpropname {
   font-weight: bold;
}

.smw-factbox input.nav-tab:checked + label.nav-label {
    font-size: larger;
}

.smw-factbox .smwfactboxhead {
   font-style: italic;
}

.cm-mw-htmltag-name {
   font-style: italic;
}


/* non mostra il messaggio di smw su ogni pagina*/
.smw-editpage-help {
   display: none;
}

/* classi per la pagina board*/
.featured-page {
   width:100%; 
   border-radius: 10px; 
   border:1px solid #e7e7e7; 
   background:#F5F5F5; 
   vertical-align:top; 
   color:#000; 
   margin-left: auto; 
   margin-right: auto; 
   margin-top: auto; 
   margin-bottom: 20px; 
   padding:5px;
}
.featured-page-title {
   width:100%; 
   border-radius: 10px; 
   border:1px solid #e7e7e7; 
   background:#e7e7e7; 
   vertical-align:top; 
   color:#000; 
   margin: auto; 
   padding: 5px;
}
.news {
   width:49%; 
   border-radius: 10px; 
   float:right; 
   border:1px solid #e7e7e7; 
   background:#F5F5F5; 
   vertical-align:top; 
   color:#000; 
   margin: auto; 
   padding: 5px;
}
.news-title {
   width:100%; 
   border-radius: 10px; 
   border:1px solid #e7e7e7; 
   background:#e7e7e7; 
   vertical-align:top; 
   color:#000; 
   margin: auto; 
   padding: 5px;
}
.focus-on {
   width:49%; 
   border-radius: 10px; 
   float:left; 
   border:1px solid #e7e7e7; 
   background:#F5F5F5; 
   vertical-align:top; 
   color:#000; 
   margin: auto; 
   padding: 5px;
}
.focus-on-title {
   width:100%; 
   border-radius: 10px; 
   border:1px solid #e7e7e7; 
   background:#e7e7e7; 
   vertical-align:top; 
   color:#000; 
   margin: auto; 
   padding: 5px;
}
.collaborate {
   width:100%; 
   border-radius: 10px; 
   float:left;
   border:1px solid #e7e7e7; 
   background:#F5F5F5; 
   vertical-align:top; 
   color:#000; 
   margin-top: 20px; 
   margin-right:auto;
   margin-left:auto;
   margin-bottom:20px; 
   padding:5px;
}
.collaborate-title {
  width:100%; 
  border-radius: 10px; 
  border:1px solid #e7e7e7; 
  background:#e7e7e7; 
  vertical-align:top; 
  color:#000; 
  margin: auto;
  padding: 5px;
}

.guider {
  font-family: Georgia; 
  font-size: 16px;
  text-align: justify;
  /*background-color: #e7e7e7;*/
}

.mw-ui-button {
  padding-top: 0.546875em;
  padding-right: 0.465em;
  padding-bottom: 0.546875em;
  padding-left: 0.465em;
}

div#catlinks.catlinks {
    border: 1px solid #e7e7e7;
    background-color: #f8f9fa;
    padding: 5px;
    margin-top: 1em;
    clear: both;
    display: inline-block;
    width: 100%;
}
div#catlinks.catlinks.catlinks-allhidden {
    display: none;
}

button, html input[type="button"], input[type="reset"], input[type="submit"] {
    font-family: inherit;
    font-size: 1em;
    display: inline-block;
    min-width: 4em;
    max-width: 28.75em;
    padding: 0.546875em 1em;
    line-height: 1.286;
    margin: 0;
    border-radius: 2px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
    zoom: 1;
    vertical-align: middle;
    background-color: #f8f8f8;
    color: #222222;
    border: 1px solid #e7e7e7;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
}

.editHelp {
    font-family: inherit;
    font-size: 1em;
    display: inline-block;
    min-width: 4em;
    max-width: 28.75em;
    padding: 0.546875em 1em;
    line-height: 1.286;
    margin: 0;
    border-radius: 2px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
    zoom: 1;
    vertical-align: middle;
    background-color: #f8f8f8;
    color: #222222;
    border: 1px solid #e7e7e7;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
}