Difference between revisions of "MediaWiki:Common.css"

no edit summary
Tag: Reverted
 
(38 intermediate revisions by 3 users not shown)
Line 6: Line 6:
color: #585858;
color: #585858;
font-family: "Roboto", sans-serif;;
font-family: "Roboto", sans-serif;;
}
.mw-parser-output p {
font-size: 110%;
}
}


Line 1,898: Line 1,894:
}
}


.custom-h0 p {
.custom-h0 {
font-size: 300%;
font-size: 300%;
color: #116089;
color: #116089;
}
}
.custom-h1 p {
.custom-h1 {
font-size: 200%;
font-size: 200%;
color: #116089;
color: #116089;
}
}
.custom-h2 p {
.custom-h2 {
font-size: 150%;
font-size: 150%;
color: #116089;
color: #116089;
}
}
.custom-subtitle p {
.custom-subtitle {
font-size: 125%;
font-size: 125%;
color: grey;
color: grey;
Line 1,931: Line 1,927:
}
}


.colour-button a {
.colour-button a, .colour-button a.external, .colour-button-small a, .colour-button-small a.external {
display: inline-block;
display: inline-block;
padding: 1rem 2rem;
border-radius: 3rem;
border-radius: 3rem;
background-image: linear-gradient(126deg, #5f5bcd 24%, #ff5700 100%);
background-image: linear-gradient(126deg, #5f5bcd 24%, #ff5700 100%);
background-size: auto;
transition: .5s;
transition: .5s;
color: white;
color: white;
text-decoration: none;
text-decoration: none;
}
}
.colour-button a:hover {
.colour-button a:hover, .colour-button-small a:hover {
background-image: linear-gradient(160deg, #5f5bcd 24%, #ff5700 100%);
background-image: linear-gradient(160deg, #5f5bcd 24%, #ff5700 100%);
color: white;
color: white;
text-decoration: none;
text-decoration: none;
}
.colour-button a, .colour-button a.external {
padding: 1rem 2rem;
}
.colour-button-small a, .colour-button-small a.external {
padding: 0.5rem 1rem;
}
}


Line 2,214: Line 2,218:
}
}
.frisardi-nettuno-main-title, .frisardi-nettuno-subtitle {
.frisardi-nettuno-main-title, .frisardi-nettuno-subtitle {
text-shadow: 2px 2px 10px rgba(0,0,0,0.2);
}
.frisardi-nettuno-main-title p, .frisardi-nettuno-subtitle p {
font-size: 300%;
font-size: 300%;
color: white;
color: white;
text-shadow: 2px 2px 10px rgba(0,0,0,0.2);
}
}
.frisardi-nettuno-person, .fontana-como-person {
.frisardi-nettuno-person, .fontana-como-person {
Line 2,239: Line 2,241:
}
}
.fontana-como-main-title, .fontana-como-subtitle {
.fontana-como-main-title, .fontana-como-subtitle {
text-shadow: 5px 5px 10px rgba(0,0,0,0.5);
}
.fontana-como-main-title p, .fontana-como-subtitle p {
font-size: 300%;
font-size: 300%;
color: white;
color: white;
text-shadow: 5px 5px 10px rgba(0,0,0,0.5);
}
}


Line 2,261: Line 2,261:
}
}
.person-name {
.person-name {
font-size: 300%;
color: white;
color: white;
text-shadow: 3px 3px 20px rgba(0 0 0 / 0.5);
text-shadow: 3px 3px 20px rgba(0 0 0 / 0.5);
}
.person-name {
font-size: 300%;
}
}
.person-bio {
.person-bio {
color: white;
color: white;
font-size: 150%;
text-shadow: 3px 3px 10px rgba(0 0 0 / 0.5);
text-shadow: 3px 3px 10px rgba(0 0 0 / 0.5);
}
.person-bio p {
font-size: 150%;
}
}
.person-portrait {
.person-portrait {
Line 2,387: Line 2,383:
margin-bottom: 50px!important;
margin-bottom: 50px!important;
text-align: center;
text-align: center;
font-size: 250%;
text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
}
.custom-page-title p {
font-size: 250%;
}
}


Line 2,397: Line 2,390:
margin-top: 2em !important;  
margin-top: 2em !important;  
margin-left: 3em !important;
margin-left: 3em !important;
}
/* ============= Template:Tooltip ============= */
.tooltip-trigger, .tooltip-trigger-2 {
  color: #ba0606;
  position: relative;
}
.tooltip-trigger:hover .tooltip-content, .tooltip-trigger-2:hover .tooltip-content-2 {
  display: inline-block;
  position: absolute;
  top: 18px;
  transform: translate(-20em); /* centra il popup sotto la "i" */
  min-width: 40em;
  padding: 10px 15px;
  color: #585858;
  background-color: white;
  border: 1px solid silver;
  border-radius: 10px;
  font-size: 90%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  z-index: 100;
}
.tooltip-content, .tooltip-content-2 {
  display: none;
}
.tooltip-trigger:hover {
  cursor: help;
}
@media screen and (max-width: 1200px) {
.mw-parser-output {
position: relative;
}
.tooltip-trigger, .tooltip-trigger-2 {
position: static;
}
.tooltip-trigger:hover .tooltip-content, .tooltip-trigger-2:hover .tooltip-content-2 {
box-sizing: border-box;
left: 0;
top: auto;
transform: translate(0, 2em);
width: 100%;
}
}
/* ============= configurazione visibilità capitoli nel Book index ============= */
.crisis-of-paradigm-for-all {
display: block;
}
.crisis-of-paradigm-for-members {
display: none;
}
.extraordinary-science-for-all {
display: block;
}
.extraordinary-science-for-affiliates {
display: none;
}
/* ============= Template:Login or request Member account ============= */
.responsive-buttons {
display: flex;
justify-content: center;
gap: 2rem;
margin: 2rem auto;
}
}