MediaWiki:Common.css

From GATE
Revision as of 11:54, 29 October 2019 by ArchivesPUG (talk | contribs)

Note: After saving, 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: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* 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;
}