Difference between revisions of "MediaWiki:Common.css"

From Wiki
Jump to navigation Jump to search
m
(75 intermediate revisions by the same user not shown)
Line 49: Line 49:
 
*/
 
*/
  
 +
/*==============================================================================*/
 +
/* TWEAKS OF THE DEFAULTS                                                      */
  
/* Trial for update of WelcomePage2020.05.25 */
+
.mw-body-content h1 { margin-top: 0.5em; padding-top: 0px; margin-bottom: 0.5em;}
 +
.mw-body-content h2 { margin-top: 0.5em; padding-top: 0px; margin-bottom: 0.5em;}
 +
.mw-body-content h3 { margin-top: 0.5em; padding-top: 0px; margin-bottom: 0.5em;}
 +
 
 +
.mw-body-content ul { margin-top: 0.5em; padding-top: 0.5em; margin-bottom: 0.5em; padding-bottom: 0.5em;}
 +
 
 +
 
 +
.mw-parser-output a.external:link    { color: #36b; text-decoration: none;}
 +
.mw-parser-output a.external:visited { color: #36b; text-decoration: none;}
 +
.mw-parser-output a.external:hover  { color: #cc3333; text-decoration: none;}
 +
.mw-parser-output a.external:active  { color: #cc3333; text-decoration: none;}
 +
 
 +
 
 +
/*==============================================================================
 +
/* Trial for update of WelcomePage2020.05.25
 
body {
 
body {
 
     background: white;
 
     background: white;
}
+
} */
  
 
a:link    { color: #36b; text-decoration: none;}
 
a:link    { color: #36b; text-decoration: none;}
 
a:visited { color: #36b; text-decoration: none;}
 
a:visited { color: #36b; text-decoration: none;}
a:hover  { color: #36b; text-decoration: none;}
+
a:hover  { color: #cc3333; text-decoration: none;}
a:active  { color: #36b; text-decoration: none;}  
+
a:active  { color: #cc3333; text-decoration: none;}  
 
 
  
 
ul.WelcRework {
 
ul.WelcRework {
Line 76: Line 91:
 
     height: stretch;
 
     height: stretch;
 
     border-top: solid 4px #cc3333;
 
     border-top: solid 4px #cc3333;
 +
}
 +
 +
ul.DownloadRework {
 +
    display: grid;
 +
    grid-template-columns: repeat(auto-fit, 200px);
 +
    grid-gap: 1.5rem;
 +
    justify-content: space-between;
 +
    list-style: none;
 +
    padding: 1rem;
 +
    margin: 0;
 +
}
 +
li.DownloadRework {
 +
    text-align:center;
 +
    background-color: #eeeedc ;
 +
    box-shadow: 0px 8px 8px gray;
 +
    height: stretch;
 +
    border-top: solid 4px #cc3333;
 +
    padding: 0.5rem;
 +
}
 +
 +
 +
body.page-Main_Page_TempProposal h1.firstHeading { border-style: none; }
 +
 +
/*==============================================================================
 +
/* FOR THE MANUALS PAGE */
 +
 +
ul.filter-links {
 +
  list-style: none;
 +
  display: grid;
 +
  grid-template-columns: repeat(auto-fit, 140px);
 +
  grid-gap: 0.5rem 1.5rem;
 +
  justify-content: space-evenly;
 +
  overflow: hidden;
 +
  padding: 1rem;
 +
  margin: 0;
 +
}
 +
 +
.filter-links li {
 +
  height: stretch;
 +
  background-color: #f6f6f6;
 +
  text-align:center;
 +
  font_size: 90%;
 +
  padding: 0.25rem 1rem;
 +
}
 +
 +
ul.filter-sections {
 +
  list-style: none;
 +
  display: grid;
 +
  grid-template-columns: repeat(auto-fit, 140px);
 +
  grid-gap: 1.5rem;
 +
  justify-content: space-evenly;
 +
  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%;
 +
  }
 
}
 
}

Revision as of 19:50, 27 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> */

pre.tex { color:#000000;  }
pre span.cs { color:#0000FF; }
pre span.def { color:#FF0000; }
pre span.comment { color:#333333; }
pre span.br { color:red; }

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

/* 
</pre>
*/

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

.mw-body-content h1 { margin-top: 0.5em; padding-top: 0px; margin-bottom: 0.5em;}
.mw-body-content h2 { margin-top: 0.5em; padding-top: 0px; margin-bottom: 0.5em;}
.mw-body-content h3 { margin-top: 0.5em; padding-top: 0px; margin-bottom: 0.5em;}

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


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


/*==============================================================================
/* Trial for update of WelcomePage2020.05.25
body {
    background: white;
}  */

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

ul.WelcRework {
    display: grid;
    grid-template-columns: repeat(auto-fit, 140px); 
    grid-gap: 1.5rem;
    justify-content: space-between;
    list-style: none; 
    padding: 1rem;
    margin: 0;
}
li.WelcRework {
    text-align:center;
    background-color: #eeeedc ;
    box-shadow: 0px 8px 8px gray;
    height: stretch;
    border-top: solid 4px #cc3333;
}

ul.DownloadRework {
    display: grid;
    grid-template-columns: repeat(auto-fit, 200px); 
    grid-gap: 1.5rem;
    justify-content: space-between;
    list-style: none; 
    padding: 1rem;
    margin: 0;
}
li.DownloadRework {
    text-align:center;
    background-color: #eeeedc ;
    box-shadow: 0px 8px 8px gray;
    height: stretch;
    border-top: solid 4px #cc3333;
    padding: 0.5rem;
}


body.page-Main_Page_TempProposal h1.firstHeading { border-style: none; }

/*==============================================================================
/* FOR THE MANUALS PAGE */

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

.filter-links li {
  height: stretch; 
  background-color: #f6f6f6;
  text-align:center;
  font_size: 90%;
  padding: 0.25rem 1rem;
}

ul.filter-sections {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, 140px);
  grid-gap: 1.5rem;
  justify-content: space-evenly;
  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%;
  }
}