Difference between revisions of "MediaWiki:Common.css"

From Wiki
Jump to navigation Jump to search
Line 66: Line 66:
 
.mw-parser-output a.external:active  { color: #cc3333; text-decoration: none;}
 
.mw-parser-output a.external:active  { color: #cc3333; text-decoration: none;}
  
#mw-panel a:link    { color: #cc3333; text-decoration: none;}
+
#mw-panel.* {
#mw-panel a:visited { color: #cc3333; text-decoration: none;}
+
a:link    { color: #cc3333; text-decoration: none;}
#mw-panel a:hover  { color: #36b; text-decoration: none;}
+
a:visited { color: #cc3333; text-decoration: none;}
#mw-panel a:active  { color: #cc3333; text-decoration: none;}
+
a:hover  { color: #36b;   text-decoration: none;}
 +
a:active  { color: #cc3333; text-decoration: none;}
 +
}
  
 
a:link    { color: #cc3333; text-decoration: none;}
 
a:link    { color: #cc3333; text-decoration: none;}

Revision as of 15:17, 30 May 2020

/* 
<pre>
*/

	.first   { background-color:#00FFFF; }
	.second  { background-color:#CCFF66; }
	.third   { background-color:#FF6FCF; }
        .fourth  { background-color:#FFFF66; }
	.cmd     { font-family:monospace; }
	.annot   { font-family:sans-serif; margin-top:1cm; }
	.large   { font-size: 24pt; }

span.minor {
    font-style:italic;
    font-weight:normal;
}

#googleSearch {
    width: 10.9em;
    margin: 0;
    font-size: 95%;
}

#search_string  {
    width: 10.9em;
    margin: 0;
    font-size: 95%;
}

#bodyContent a[href ^="javascript:"] {
    background: none;
    padding: 0px;
    text-decoration: none ;
}

/* pg: new markup <texcode>..</texcode> */
/* th: colors adjusted to be closer to standard hans' usage */

pre.tex { color:#000000;  }
pre span.cs { color:#007F00; }
pre span.def { color:#00007F; }
pre span.comment { color:#7F7F00; }
pre span.br { color:#7F0000; }

pre.xml { color:#000000;  }
pre span.name    { color:#3366BB; }

/* 
</pre>
*/

/*==============================================================================*/
/* TWEAKS OF THE DEFAULTS                                                       */

.mw-body-content h1 { margin-top: 0.7em; padding-top: 0px; margin-bottom: 0.5em;}
.mw-body-content h2 { margin-top: 0.6em; padding-top: 0px; margin-bottom: 0.4em; border-style: none;}
.mw-body-content h3 { margin-top: 0.5em; padding-top: 0px; margin-bottom: 0.3em; border-style: none;}

.mw-body-content ul { margin-top: 0.5em; padding-top: 0.5em; margin-bottom: 0.5em; padding-bottom: 0.5em;}
.mw-body-content li ul { margin-top: 0px; padding-top: 0px; margin-bottom: 0.5px; padding-bottom: 0.px;}


.mw-parser-output a.external:link    { color: #cc3333; text-decoration: none;}
.mw-parser-output a.external:visited { color: #cc3333; text-decoration: none;}
.mw-parser-output a.external:hover   { color: #36b;    text-decoration: none;}
.mw-parser-output a.external:active  { color: #cc3333; text-decoration: none;}

#mw-panel.* { 
 a:link    { color: #cc3333; text-decoration: none;}
 a:visited { color: #cc3333; text-decoration: none;}
 a:hover   { color: #36b;    text-decoration: none;}
 a:active  { color: #cc3333; text-decoration: none;}
}

a:link    { color: #cc3333; text-decoration: none;}
a:visited { color: #cc3333; text-decoration: none;}
a:hover   { color: #36b; text-decoration: none;}
a:active  { color: #cc3333; text-decoration: none;} 


/*==============================================================================*/
/* Trial for update of WelcomePage2020.05.25                                    */

body.page-Main_Page h1.firstHeading { border-style: none; color:rgba(0,0,0,0); }
h1.firstHeading { border-style: none;}

#WelcRework {
    display: grid;
    grid-template-columns:  100px 100px 100px 100px 100px ;
    grid-gap: 1.5rem;
    justify-content: start;
    list-style: none; 
    padding: 1rem;
    margin: 0;
    height: stretch;
    backgound: blue;
}

#WelcRework > li {
    text-align:center;
    background-color: #eeeedc ;
    box-shadow: 0px 8px 8px gray;
    height: stretch;
    width=100px;
    border-top: solid 4px #cc3333;
    height: stretch;
    height: 140px;
}

/*==============================================================================*/
/* DOWNLOAD PAGE                                                                */

#DownloadRework {
    display: grid;
    grid-template-columns: 140px 140px 140px; 
    grid-gap: 1.5rem;
    justify-content: start;
    list-style: none; 
    padding: 0rem;
    margin: 0;
    list-style-type: none;
    height: stretch;
}

#DownloadRework > li {
    text-align:left;
    background-color: #eeeedc ;
    box-shadow: 0px 8px 8px gray;
    height: stretch;
    border-top: solid 4px #cc3333;
    padding: 0.25rem;
}

#DownloadRework > li> h3 {
   padding: 0px 0.25rem;
   margin:0px;
}

#DownloadRework > li> ul {
   padding: 0px 0.5rem;
}
#DownloadRework > li> ul > li {
   padding: 0px;
   margin: 0px;
}

/*==============================================================================*/
/* MANUALS PAGE                                                                 */

ul.filter-links {
  list-style: none;
  display: grid;
  grid-template-columns: 90px 90px 90px 90px 90px 90px 90px 90px;
  grid-gap: 0.25rem 0.25rem;
  justify-content: center;
  overflow: hidden;
  padding: 1rem 0px;
  margin: 0;
  width: 100%;
}

.filter-links li {
  height: stretch; 
  background-color: #f6f6f6;
  text-align:center;
  font-size: 75%;
  padding: 0.1rem 0.1rem;
  margin: 0;
  border-radius: 8px;
  border: solid 2px #cc3333;
}


ul.filter-sections {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, 140px);
  grid-gap: 1.5rem;
  justify-content: center;
  overflow: hidden;
  padding: 1rem;
  margin: 0;
}

ul.filter-sections li {
  opacity: 0;
  display: none;
  text-align:center;
  background-color: #eeeedc ;
  box-shadow: 0px 8px 8px gray;
  height: stretch;
  border-top: solid 4px #cc3333;
}



.view {
  display: block !important;
  opacity: 1 !important;
}

@keyframes selected {
  0% {
    border-radius:100%;
  }
}